Class BooleanQueryNode
A BooleanQueryNode represents a list of elements which do not have an explicit boolean operator defined between them. It can be used to express a boolean query that intends to use the default boolean operator.
Inheritance
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Core.Nodes
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class BooleanQueryNode : QueryNode, IQueryNode
  Constructors
BooleanQueryNode(IList<IQueryNode>)
A BooleanQueryNode represents a list of elements which do not have an explicit boolean operator defined between them. It can be used to express a boolean query that intends to use the default boolean operator.
Declaration
public BooleanQueryNode(IList<IQueryNode> clauses)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IList<IQueryNode> | clauses | the query nodes to be and'ed  | 
      
Methods
CloneTree()
Recursive clone the IQueryNode tree. The tags are not copied to the new tree when you call the CloneTree() method.
Declaration
public override IQueryNode CloneTree()
  Returns
| Type | Description | 
|---|---|
| IQueryNode | the cloned tree  | 
      
Overrides
ToQueryString(IEscapeQuerySyntax)
convert to a query string understood by the query parser
Declaration
public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IEscapeQuerySyntax | escapeSyntaxParser | 
Returns
| Type | Description | 
|---|---|
| string | 
Overrides
ToString()
Every implementation of this class should return pseudo xml like this:
For FieldQueryNode: <field start='1' end='2' field='subject' text='foo'/>
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| string |