boolean_windowprox

Searches for specified terms, in any order, within a specified number of terms.

Syntax

[ windowprox , <window_distance> : { <boolean_term_set> }+ ]

Parameters

Parameter Description
<window_distance> Integer specifying the maximum number of terms that can be included in a phrase containing the specified terms for it to be considered a match.

For example,

[windowprox, 3: quick fox]

will find a match in a document containing the phrases: quick brown fox or fox is quick but not in a document containing the phrases: quick brown tall fox or fox grabbed a quick.

If you specify a 0 window distance, the NXT 4 server expands the window distance to the number of terms in the Boolean term set. For example:

[windowprox, 0: quick fox]

is converted to

[windowprox, 2: quick fox].
{ <boolean_term_set> }+ String specifying one or more term sets.

Remarks

None

Example

[ windowprox , 5 :content collection test ]

See Also

prox_set

boolean_term_set