public class MatchAllDocsQueryNode extends QueryNodeImpl
MatchAllDocsQueryNode
indicates that a query node tree or subtree
will match all documents if executed in the index.PLAINTEXT_FIELD_NAME, toQueryStringIgnoreFields
Constructor and Description |
---|
MatchAllDocsQueryNode() |
Modifier and Type | Method and Description |
---|---|
MatchAllDocsQueryNode |
cloneTree()
Recursive clone the QueryNode tree The tags are not copied to the new tree
when you call the cloneTree() method
|
CharSequence |
toQueryString(EscapeQuerySyntax escapeSyntaxParser)
convert to a query string understood by the query parser
|
String |
toString()
Every implementation of this class should return pseudo xml like this:
For FieldQueryNode: <field start='1' end='2' field='subject' text='foo'/>
|
add, add, allocate, clone, containsTag, getChildren, getParent, getTag, getTagMap, isDefaultField, isLeaf, isRoot, removeChildren, removeFromParent, set, setLeaf, setTag, unsetTag
public String toString()
QueryNodeImpl
toString
in interface QueryNode
toString
in class QueryNodeImpl
QueryNode.toString()
public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser)
QueryNode
public MatchAllDocsQueryNode cloneTree() throws CloneNotSupportedException
QueryNode
cloneTree
in interface QueryNode
cloneTree
in class QueryNodeImpl
CloneNotSupportedException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.