Class MaxNonCompetitiveBoostAttribute
Implementation class for IMaxNonCompetitiveBoostAttribute.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public sealed class MaxNonCompetitiveBoostAttribute : Attribute, IMaxNonCompetitiveBoostAttribute, IAttribute
Properties
CompetitiveTerm
This is the term or null of the term that triggered the boost change.
Declaration
public BytesRef CompetitiveTerm { get; set; }
Property Value
| Type | Description |
|---|---|
| BytesRef |
MaxNonCompetitiveBoost
This is the maximum boost that would not be competitive.
Declaration
public float MaxNonCompetitiveBoost { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Methods
Clear()
Clears the values in this Attribute and resets it to its default value. If this implementation implements more than one Attribute interface it clears all.
Declaration
public override void Clear()
Overrides
CopyTo(IAttribute)
Copies the values from this Attribute into the passed-in
target attribute. The target implementation must support all the
IAttributes this implementation supports.
Declaration
public override void CopyTo(IAttribute target)
Parameters
| Type | Name | Description |
|---|---|---|
| IAttribute | target |