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.QueryNodetoString in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImplpublic 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.QueryNodecloneTree in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImplCloneNotSupportedExceptionCopyright © 2014. All rights reserved.