UserLand Software Home  |  Manila  |  Radio  |  Support  |  News

DocServer

Prev | Next | mainResponder Verbs > mainResponder.search > client

mainResponder.search.client.index

Syntax mainResponder.search.client.index (adrObject, flMsgReader, adrDgMsg, adrSiteTable)

Params adrObject is the address of a page to be indexed.

flMsgReader, an optional boolean, should be true if this is a discussion group msgReader type page.

adrDgMsg, an optional address, should be the address of a discussion group message if this page renders a discussion group messages.

adrSiteTable, an optional address, is the address of the table in config.mainResponder.search.sites that contains preferences for this page.

Action Determines if the object pointed to by adrObject is a web page to be indexed. If so, it sends the page to the search engine server to be indexed.

Returns True.

Examples mainResponder.search.client.index (@mySite.myNewPage)

   » true

Notes If adrObject should not be indexed, the reason why is logged in the daily guest database log in the Search Engine Client table.

The search engine server does not have to be the same machine as the machine containing the website to index, but it can be the same machine.

This verb runs on the machine containing the website to be indexed.

Most of the time, you won't need to supply any of the optional parameters. For indexing standard websites, supplying adrObject, the first parameter, is all that's needed.

You don't have to index your pages yourself -- they're indexed automatically when pages are checked in via WebEdit -- but if you're not using WebEdit, or wish to run an initial index, then this verb is useful.

Prev | Next | mainResponder Verbs > mainResponder.search > client