Setting Query parameters

All queries run against Sybase Search are affected by the query parameters. The document scores can be scaled up or down using the confidence parameter, and the linking parameters affect all “find similar” queries.

Table 4-29 shows the query parameters.

Table 4-29: Query parameters

Parameter

Default

Description

omniq.query.termLimit

30

The maximum number of terms in a query. If the user’s query exceeds this number, Sybase Search selects the most important omniq.query.termLimit number of terms from the query to use as the internal query.

omniq.query.confidence

125

Sybase Search generates its own scaling factor when converting internal document relevance scores to a more user-friendly percentage score. This scaling can be influenced by the omniq.query.confidence and has the effect that a higher confidence lowers the overall scores, while a lower confidence raises the overall scores.

omniq.query.linking.default.minDocRel

5

The minimum document relevance for a linking query can be specified on a per-query basis, but this value is used when the minimum document relevance is not specified.

omniq.query.linking.minTerms

5

The minimum number of terms that are generated automatically by Sybase Search to be used as a linking query.

omniq.query.linking.maxTerms

10

The maximum number of terms that are generated automatically by Sybase Search to be used as a linking query.

omniq.query.linking.confidence

50

The omniq.query.linking.confidence parameter works in the same way as omniq.query.confidence does, except for linking queries instead of normal queries.

Linking queries tend to generate lower document scores, as the generated linking query can cover many different topics. To compensate, the confidence parameter is low to raise the overall linking query scores.