Class ModifierQueryNode
A ModifierQueryNode indicates the modifier value (+,-,?,NONE) for
each term on the query string. For example "+t1 -t2 t3" will have a tree of:
<BooleanQueryNode> <ModifierQueryNode modifier="MOD_REQ"> <t1/>
</ModifierQueryNode> <ModifierQueryNode modifier="MOD_NOT"> <t2/>
</ModifierQueryNode> <t3/> </BooleanQueryNode>
Inheritance
System.Object
ModifierQueryNode
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class ModifierQueryNode : QueryNode, IQueryNode
Constructors
|
Improve this Doc
View Source
ModifierQueryNode(IQueryNode, Modifier)
Used to store the modifier value on the original query string
Declaration
public ModifierQueryNode(IQueryNode query, Modifier mod)
Parameters
Properties
|
Improve this Doc
View Source
Modifier
Declaration
public virtual Modifier Modifier { get; }
Property Value
Methods
|
Improve this Doc
View Source
CloneTree()
Declaration
public override IQueryNode CloneTree()
Returns
Overrides
|
Improve this Doc
View Source
GetChild()
Declaration
public virtual IQueryNode GetChild()
Returns
|
Improve this Doc
View Source
SetChild(IQueryNode)
Declaration
public virtual void SetChild(IQueryNode child)
Parameters
|
Improve this Doc
View Source
ToQueryString(IEscapeQuerySyntax)
Declaration
public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser)
Parameters
Returns
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
Implements