Optimize Command - Improve Search Performance

Over time your search index will get fragmented as documents are added and updated affecting search performance. Running this command will condense the search index into a single file segment allowing for faster searching as only one file needs to be scanned by the search engine. If you wish to manually optimize the index you can run the optimize command.

The syntax for the command is:

> SeekerConsole.exe --optimize

After the optimization is complete there should be a reduced number of files in your search index directory.

Here is an example of the output generated by the command:

Warning: This operation could take a long time depending on the number of entities being indexed.

2009-10-26 INFO Dovetail.Search.Console.ConsoleController - Executing optimize command (After large amounts of content have been modified in an index it is a good idea to optimize. This operation may take a long time).

Important Note

The Dovetail Seeker Indexer Windows Service will automatically do this for you at regular intervals. This tool has been left in place as a utility and for users who cannot use the windows service

See Also

Seeker Console

Index Command - Create or Update Your Search Index

Re-Indexing Command - Regenerate All or Part Of Your Index

Search Command - Test Your Search Index Contents

Running Seeker Console as a Scheduled Task

Next

Running Seeker Console as a Scheduled Task

Optimize Command - Improve Search Performance