java.lang.Object
org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
All Implemented Interfaces:
Cloneable, FieldableNode, FieldValuePairQueryNode<CharSequence>, QueryNode, TextableQueryNode, ValueQueryNode<CharSequence>
Direct Known Subclasses:
FuzzyQueryNode, QuotedFieldQueryNode, WildcardQueryNode

public class FieldQueryNode extends QueryNodeImpl implements FieldValuePairQueryNode<CharSequence>, TextableQueryNode
A FieldQueryNode represents a element that contains field/text tuple
  • Field Details

    • field

      protected CharSequence field
      The term's field
    • text

      protected CharSequence text
      The term's text.
    • begin

      protected int begin
      The term's begin position.
    • end

      protected int end
      The term's end position.
    • positionIncrement

      protected int positionIncrement
      The term's position increment.
  • Constructor Details

    • FieldQueryNode

      public FieldQueryNode(CharSequence field, CharSequence text, int begin, int end)
      Parameters:
      field - - field name
      text - - value
      begin - - position in the query string
      end - - position in the query string
  • Method Details