Class BoostAttribute
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.Search
Assembly: Lucene.Net.dll
Syntax
public sealed class BoostAttribute : Attribute, IBoostAttribute, IAttribute
Properties
| Improve this Doc View SourceBoost
Gets or Sets the boost in this attribute. Default is 1.0f.
Declaration
public float Boost { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
| Improve this Doc View SourceClear()
Declaration
public override void Clear()
Overrides
| Improve this Doc View SourceCopyTo(IAttribute)
Declaration
public override void CopyTo(IAttribute target)
Parameters
| Type | Name | Description |
|---|---|---|
| IAttribute | target |