public class OrQueryNode extends BooleanQueryNode
OrQueryNode represents an OR boolean operation performed on a list
of nodes.PLAINTEXT_FIELD_NAME, toQueryStringIgnoreFields| Constructor and Description |
|---|
OrQueryNode(java.util.List<QueryNode> clauses) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.CharSequence |
toQueryString(EscapeQuerySyntax escapeSyntaxParser)
convert to a query string understood by the query parser
|
java.lang.String |
toString()
Every implementation of this class should return pseudo xml like this:
For FieldQueryNode:
|
cloneTreeadd, add, allocate, clone, containsTag, containsTag, getChildren, getParent, getTag, getTag, getTagMap, getTags, isDefaultField, isLeaf, isRoot, set, setLeaf, setTag, setTag, unsetTag, unsetTagpublic OrQueryNode(java.util.List<QueryNode> clauses)
clauses - - the query nodes to be or'edpublic java.lang.String toString()
QueryNodeImpltoString in interface QueryNodetoString in class BooleanQueryNodeQueryNode.toString()public java.lang.CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser)
QueryNodetoQueryString in interface QueryNodetoQueryString in class BooleanQueryNodeCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.