Oracle ATG Web Commerce Search can optimize its algorithms for faster speed with little effect on the search results. Search accomplishes this by skipping the statement level relevancy evaluation for each of the candidate index items, resulting in faster query speed. The relevancy is based on the document weighting and rank configuration formula.

You may want to use this option if you are unsatisfied with the query speed on your installation. To enable optimization, use the following attribute:

<query optimize="level"

A level of 0 is the default, and means no optimization. Level 1 performs part of the statement level retrieval, but just in order to better rank the index item candidates. Level 2 avoids all statement level retrieval and relevancy computations, and achieves the fastest query speed.

Note that with optimization, the search results contain no matching statement text, only the index item (document) information. This means that no statement highlighting is possible for the index item view request.

Note: For even faster query speeds, set the indexScheme Text Processing Option to “uncompressed” in Search Administration. This creates larger indexes, but faster queries, and could be useful if you have a small index. Changing the indexScheme setting requires reindexing your content. A combination of indexScheme=uncompressed and optimize=2 results in the fastest query speed.