Monday, November 08, 2010 at 12:05 AM.
system.verbs.builtins.searchEngine.indexPage
on indexPage (pageID, url, title, pageText, adrIndex, adrStopWordsTable) {
<<Index one page:
<<pageID is the address of the page.
<<url is the url of the page on the web.
<<title is the title of the page.
<<pageText is the unprocessed text of the page.
<<adrIndex is the address of the inverted index.
<<adrStopWordsTable is a table of stop words.
<<The name of each entry is a stop word -- a word *not* to index.
<<The values are ignored, they can be nil.
kernel (searchEngine.indexPage)}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.