Class BoostAttribute
Implementation class for IBoostAttribute.
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 BoostAttribute : Attribute, IBoostAttribute, IAttribute
Properties
Boost
Gets or Sets the boost in this attribute. Default is 1.0f
.
Declaration
public float Boost { 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 |