Class BoostQueryNode
A Boost
The boost value may vary from 0.0 to 1.0.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.QueryParsers.Flexible.Core.Nodes
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class BoostQueryNode : QueryNode, IQueryNode
Constructors
| Improve this Doc View SourceBoostQueryNode(IQueryNode, Single)
Constructs a boost node
Declaration
public BoostQueryNode(IQueryNode query, float value)
Parameters
Type | Name | Description |
---|---|---|
IQuery |
query | the query to be boosted |
System. |
value | the boost value, it may vary from 0.0 to 1.0 |
Properties
| Improve this Doc View SourceChild
Gets the single child which this node boosts.
Declaration
public virtual IQueryNode Child { get; }
Property Value
Type | Description |
---|---|
IQuery |
Value
Gets the boost value. It may vary from 0.0 to 1.0.
Declaration
public virtual float Value { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceCloneTree()
Declaration
public override IQueryNode CloneTree()
Returns
Type | Description |
---|---|
IQuery |
Overrides
| Improve this Doc View SourceToQueryString(IEscapeQuerySyntax)
Declaration
public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser)
Parameters
Type | Name | Description |
---|---|---|
IEscape |
escapeSyntaxParser |
Returns
Type | Description |
---|---|
System. |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |