Onix Text Retrieval Toolkit
API Reference

API
Function List
Topical List

Main Index

Introduction
Calling Sequences
Query Processing
Relevancy Ranking
Data Types
Error Handling
   
Support
   
Lextek Products
Onix Text Retrieval Engine
Lextek Document Profiler & Categorizer
Brevity Document Summarizer
RouteX Routing Engine
Language Identifier

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