Extremely large indexes require more than one physical partition. If more than one partition exists, each partition is queried individually and the results merged for presentation to the end-user. The mergeSettings
attribute works together with responseNumberSettings to control the number of results returned from a merged result set.
The responseNumberSettings
attribute determines how many results are returned from each partition. The mergeSettings
attribute determines how many of those total results are returned to the end user. If you use mergeSettings
, be sure to set it to a number higher than the individual partition results set in responseNumberSettings
. For example, if you return 50 results from each of four partitions, you may use mergeSettings
to trim the combined result list to the top 100 results, but not the top 20 results. It is more efficient to trim the responseNumberSettings
to begin with than to do so after merging.
The mergeSettings
attribute takes the same options as responseNumberSettings
. If mergeSettings
is not set, responseNumberSettings
is used instead. The syntax for mergeSettings
is:
mergeSettings=doc50,prop50,…
Grouping Type | Description |
---|---|
Groups the raw search results by document, returning up to some maximum number of groups of a certain size, as defined by these parameters, with the default values shown:
Note: An additional mode, | |
Groups the raw search results by a metadata property value, returning up to some maximum number of groups of a certain size, as defined by these parameters, with the default values shown:
The To group by property, the mode value requires a | |
Result Type Weights | Normally, all statement results receive the same treatment in the relevancy calculation. However, you may want certain statement types to be weighted higher or lower in the search results. For example, two identical statements from two similar documents usually receive near identical relevancy, with minor differences in the context and document weight factors. However, if the statements are from two different text fields (such as
A weight of 1.0 means the original (pure) relevancy is used. Individual structured types (or fields) can be defined separately, as shown:
|
Whole Field Result Text | Normally, the result text is the matching statement text plus some additional context for small sentences. However, for structured content, which contains potentially multi-sentence fields of text, you might want to return the entire text of the field as the result. This behavior is controlled by the following parameter:
The |
Suppress Similar Statements | When using Oracle ATG Web Commerce Search with Oracle ATG Web Knowledge Manager, you may want to retrieve documents that have unique matching text. Search allows you to suppress documents from the current page if they share a matching text statement. This behavior is controlled by the following parameter:
The Note that the total number of results that is reported from the engine does not take into account this suppression. |