The automatic indexing utility is part of Enterprise Portal’s concept-based search service. Use the indexing utility to schedule the indexing of documents in specified data sources. You must index the data sources before you can search them.
The automatic indexing utility runs continuously and performs operations from one or more queue files or directories. You specify the names of the queue files or directories in the PortalSearchautoindexer.cfg file.
For information on the automatic indexing utility, see Appendix C, “Setting up Automatic Indexing and Search Functionality,” in the Enterprise Portal 6.0 Developer’s Guide.
The automatic indexing utility—Sybase Portal Search – Auto Indexer—runs as a process on UNIX. If you need to start the automatic indexing utility manually, verify that you have read/write permission for the PortalSearch directory.
Starting the automatic indexing utility
Change to $SYBASE/PortalSearch/bin/, and in a terminal window, enter:
StartIndexer.sh
Stopping the indexing utility
To stop the auto indexer utility, from $SYBASE/PortalSearch/bin, enter:
StopIndexer.sh
Note: The StopIndexer.sh script
uses the ps -ef command. The ps -ef syntax
is only correct if you are executing /usr/bin/ps.
If you are executing /usr/ucb/ps,
the syntax is ps -ax. The correct syntax depends
on your $PATH variable. To determine this, enter:
which ps
If you are executing the latter, the StopIndexer.sh script will display a syntax error when you try to execute it and fail to stop the indexing utility process. In that case, you can either kill the process or modify the script to use the correct form of the ps command.