Profiling Engine SDK
Operator Reference

Operator Reference
Operator List
Topical List
   
 
Query Language
Introduction
Summary
Operators
Tips, Questions, and Answers
   
 
Main Index
Index
Tutorial
API Functions
Query Language
   
Technology Overview
   
Contact Us
   
 
Other Products
Onix Text Search and Retrieval Engine
Brevity Document Summarizer
Lextek Document Profiler & Categorizer
RouteX Document Routing Engine
Lextek Language Identifier
 

V_NEAR

Name

V_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

The rank is determined by how close the words are together. The actual distance between the terms is divided by the maximum possible distance (the specified range). So the closer they are together, the higher their rank.

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

V_NEAR( 3 'blue', 'green' );

See Also

near, r_near, p_near, v_near, ordered_near, r_ordered_near, p_ordered_near, v_ordered_near