ixSetMaxRankedHits
Name
ixSetMaxRankedHits
Synopsis
void ixSetMaxRankedHits( OnixIndexManagerT IndexManager, ULongT NumHits, StatusCodeT *Status )
Arguments
IndexManager: An index manager as returned from ixCreateIndexManager.
NumHits: The maximum number of hits returned by ranked queries.
Status: A pointer to a value of type StatusCodeT representing any error conditions.
Returns
Nothing.
Description
Ranked queries can return varying number of hits. Often when conducting a ranked query you only want to see the top few hits. By default Onix only returns the top 1000 hits that it considers relevant, sorted by relevance. Some users may require more hits to be returned. They can specify the number using ixSetMaxRankedHits.
Reducing the number of returned hits for very complex ranked queries can often improve performance.
See Also
ixSetNormalizedHits, ixProcessQuery