Class OrQueryNode
A OrQueryNode represents an OR boolean operation performed on a list of nodes.
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Core.Nodes
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class OrQueryNode : BooleanQueryNode, IQueryNode
Constructors
OrQueryNode(IList<IQueryNode>)
A OrQueryNode represents an OR boolean operation performed on a list of nodes.
Declaration
public OrQueryNode(IList<IQueryNode> clauses)
Parameters
Type | Name | Description |
---|---|---|
IList<IQueryNode> | clauses | the query nodes to be or'ed |
Methods
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 |
Overrides
See Also
ToString()