NEAR
Name
NEAR
Synopsis
Returns records where the listed terms
or subqueries are within a specified number of words.
Arguments
Maximum distance between the words
List of terms and subqueries
Ranking Scheme
1
Ranks using the existential method.
The returned weight for any hit in a record is 1.
Comments
NEAR returns the hits (location) for each
term or subquery that are within the specified number of words
of each other.
Note that while we say, "within n
words," what counts as a word is specified by the indexing
process. Each call to prIndexWord increments the word count.
Example
NEAR( 3 'blue', 'green' );
See Also
r_near, p_near,
v_near, ordered_near, r_ordered_near, p_ordered_near, v_ordered_near