public class NodeBooleanQueryNode
extends org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
NodeBooleanQueryNode
is used to represent a boolean
combination of terms inside a SIREn node.
This is done in NodeBooleanQueryNodeProcessor
.
A NodeBooleanQueryNode
is used to indicate that a
NodeBooleanQuery
must be built, rather than a BooleanQuery
.
Copied from BooleanQueryNode
for the SIREn use case.
Constructor and Description |
---|
NodeBooleanQueryNode(org.apache.lucene.queryparser.flexible.core.nodes.BooleanQueryNode bq) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.queryparser.flexible.core.nodes.QueryNode |
cloneTree() |
CharSequence |
toQueryString(org.apache.lucene.queryparser.flexible.core.parser.EscapeQuerySyntax escapeSyntaxParser) |
String |
toString() |
public NodeBooleanQueryNode(org.apache.lucene.queryparser.flexible.core.nodes.BooleanQueryNode bq)
bq
- - the BooleanQueryNode
to convertpublic String toString()
toString
in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
toString
in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
public CharSequence toQueryString(org.apache.lucene.queryparser.flexible.core.parser.EscapeQuerySyntax escapeSyntaxParser)
public org.apache.lucene.queryparser.flexible.core.nodes.QueryNode cloneTree() throws CloneNotSupportedException
cloneTree
in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
cloneTree
in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
CloneNotSupportedException
Copyright © 2014. All rights reserved.