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: AnyQueryNode [javadoc | source]
java.lang.Object
   org.apache.lucene.queryParser.core.nodes.QueryNodeImpl
      org.apache.lucene.queryParser.core.nodes.BooleanQueryNode
         org.apache.lucene.queryParser.core.nodes.AndQueryNode
            org.apache.lucene.queryParser.core.nodes.AnyQueryNode

All Implemented Interfaces:
    Cloneable, QueryNode

A AnyQueryNode represents an ANY operator performed on a list of nodes.
Fields inherited from org.apache.lucene.queryParser.core.nodes.QueryNodeImpl:
PLAINTEXT_FIELD_NAME,  toQueryStringIgnoreFields
Constructor:
 public AnyQueryNode(List<QueryNode> clauses,
    CharSequence field,
    int minimumMatchingElements) 
    Parameters:
    clauses - - the query nodes to be or'ed
Method from org.apache.lucene.queryParser.core.nodes.AnyQueryNode Summary:
cloneTree,   getField,   getFieldAsString,   getMinimumMatchingElements,   setField,   toQueryString,   toString
Methods from org.apache.lucene.queryParser.core.nodes.AndQueryNode:
toQueryString,   toString
Methods from org.apache.lucene.queryParser.core.nodes.BooleanQueryNode:
cloneTree,   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.AnyQueryNode Detail:
 public QueryNode cloneTree() throws CloneNotSupportedException 
 public CharSequence getField() 
    returns null if the field was not specified
 public String getFieldAsString() 
    returns - null if the field was not specified
 public int getMinimumMatchingElements() 
 public  void setField(CharSequence field) 
 public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser) 
 public String toString()