Qualify Instance Queries


The qualify instance feature can be implemented through the VdkCollectionQualifyCBFnc call, as described in Verity Developer's Kit Advanced Features Guide. When implemented, users can search for instance data. The qualify instance feature can be implemented using the Verity Developer's Kit product only.

To search for the word "steve" with an instance value of 52, you enter the following query:

steve[52]

If a particular search term is to be "qualified," then the qualification follows the search term in square brackets ([]).

When entering a search string, to qualify an individual word or set of words in an expansion list, append the qualification to the leaf in square brackets. (Information Server produces an expansion list when one of the following operators is used: SOUNDEX, STEM, WILDCARD, THESAURUS, WORD.) For example:

<WORD>apple[67] <AND> <WORD>banana[44]

In the example above, the only documents that would pass this query would be those that had the word "apple" with an instance value of 67 and the word "banana" with an instance value of 44.

Any valid leaf term can be qualified, except a leaf using the TYPO or TYPO/N operator. Examples:


<STEM>orange[44]
<SOUNDEX>kiwi[50]
To search for instance data using weights, you must use parentheses surrounding the qualify instance part of the query. For example, the queries below will be processed:

[80](orange)[44])

The weight of 80 will be applied to the qualify instance leaf: orange[39]





Copyright © 2001, Verity, Inc. All rights reserved.