org.apache.lucene.queryparser.flexible.core.nodes

Class ProximityQueryNode

  • All Implemented Interfaces:
    Cloneable, QueryNode


    public class ProximityQueryNode
    extends BooleanQueryNode
    A ProximityQueryNode represents a query where the terms should meet specific distance conditions. (a b c) WITHIN [SENTENCE|PARAGRAPH|NUMBER] [INORDER] ("a" "b" "c") WITHIN [SENTENCE|PARAGRAPH|NUMBER] [INORDER] TODO: Add this to the future standard Lucene parser/processor/builder