This section describes five search parameters that can affect search limiting. For most applications, these settings have little effect, because the search space is small to begin with. However, in very large applications, these settings greatly help system performance with little or no degradation in search quality.
estimateDocMax
limits the total number of index items to consider as possible candidates. This setting can prevent the explosion of candidates caused by very common terms. Since ATG Search sorts the query terms by inverse frequency, ATG Search will use the most-specific (high-content) terms first, and if the candidates exceeds this setting, it will usually be with the very common (low-content) terms, without any loss of relevant results.maxDocuments
limits the number of documents to inspect for relevant statements. Since ATG Search sorts the document candidates by relevancy, this setting will exclude the least relevant documents, most likely with little loss of relevant results. However, it is possible that a low-relevance document has a very relevant statement which would be lost.estimateMax
limits the number of statement candidates to collect during search. This is analogous toestimateDocMax
, and strives to prevent the explosion of statement candidates caused by very common terms. Again, since ATG Search sorts the query terms by inverse frequency, ATG Search will use the most-specific (high-content) terms first, and if the candidates exceeds this setting, it will usually be with the very common (low-content) terms, without any loss of relevant results.retMax
limits the number of statement candidates to perform vector matching on. The vector matching is computationally expensive, so limiting the matching improves speed. The statement candidates are sorted by an estimation metric, so this setting limits the candidates to the most relevant.retLimit
is a cut-off on the number of relevant statement matches to collect. The vector matching is computationally expensive, so limiting the matching improves speed. The statement candidates are sorted by an estimation metric, so this setting will limit the candidates to the most relevant.