Advertising banner:

History
 
 LFS66
Home • Help • Administration • FirstClass Scripting • LFS66
 
SINDEX



Function
Controls indexing.



Syntax
SINDEX parameter +f +s
Parameters


CID clientID
Indexes by client ID.
CIDMBOX clientID
Indexes a mailbox by client ID.
DISABLEABORT
Disables indexing and frees all indexing memory.
ENABLEFULLINDEXING
Switches indexing from file mode to full indexing. Indexing will be paused. Restart the server as soon as possible.
Using +f initiates a polite shutdown and flushes document date headers because they have all been changed with the switch from file mode to full indexing.
PAUSE
Pauses indexing.
REPORTINDEX DOCID docID
Reports all the words in an item identified by a permalink (16 characters for the 64-bit doc ID).
REPORTINDEX TOPWORDS number
Reports the most used words in the forward index. This can be useful for creating an indexing stoplist.
Specify the number of words you want reported. If you don't specify a number, the top 10 words are reported.
REPORTINDEX WORDID wordID number
Reports the items that contain a particular word ID.
You can limit the report to the first n items found by specifying the number of items to report.
REPORTINDEX WORDSTR string number
Reports the items that contain a particular string.
You can limit the report to the first n items found by specifying the number of items to report.
SKIPFWD
Skips saving the forward index at shutdown.
UMBOX userID
Indexes a mailbox by user ID.
USER userID
Indexes by user ID.
+f
Forces the reindexing of items that have already been indexed.
Can be used with CID, CIDMBOX, ENABLEFULLINDEXING, UMBOX, and USER.
+s
Indexes subcontainers.
Can be used with CID, CIDMBOX, UMBOX, and USER.



Examples
SINDEX USER sbram +f +s
SINDEX REPORTINDEX TOPWORDS 10