Save This Page
Home » lucene-3.0.1-src » org.apache.lucene.queryParser.core.nodes » [javadoc | source]
org.apache.lucene.queryParser.core.nodes
public class: QuotedFieldQueryNode [javadoc | source]
java.lang.Object
   org.apache.lucene.queryParser.core.nodes.QueryNodeImpl
      org.apache.lucene.queryParser.core.nodes.FieldQueryNode
         org.apache.lucene.queryParser.core.nodes.QuotedFieldQueryNode

All Implemented Interfaces:
    FieldableNode, TextableQueryNode, Cloneable, QueryNode

A QuotedFieldQueryNode represents phrase query. Example: "life is great"
Fields inherited from org.apache.lucene.queryParser.core.nodes.FieldQueryNode:
field,  text,  begin,  end,  positionIncrement
Fields inherited from org.apache.lucene.queryParser.core.nodes.QueryNodeImpl:
PLAINTEXT_FIELD_NAME,  toQueryStringIgnoreFields
Constructor:
 public QuotedFieldQueryNode(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 from org.apache.lucene.queryParser.core.nodes.QuotedFieldQueryNode Summary:
cloneTree,   toQueryString,   toString
Methods from org.apache.lucene.queryParser.core.nodes.FieldQueryNode:
cloneTree,   getBegin,   getEnd,   getField,   getFieldAsString,   getPositionIncrement,   getTermEscapeQuoted,   getTermEscaped,   getText,   getTextAsString,   setBegin,   setEnd,   setField,   setPositionIncrement,   setText,   toQueryString,   toString
Methods from org.apache.lucene.queryParser.core.nodes.QueryNodeImpl:
add,   add,   allocate,   clone,   cloneTree,   containsTag,   getChildren,   getParent,   getTag,   getTags,   isDefaultField,   isLeaf,   isRoot,   set,   setLeaf,   setTag,   toString,   unsetTag
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.queryParser.core.nodes.QuotedFieldQueryNode Detail:
 public QuotedFieldQueryNode cloneTree() throws CloneNotSupportedException 
 public CharSequence toQueryString(EscapeQuerySyntax escaper) 
 public String toString()