Interface IBoostAttribute
Add this IAttribute to a TermsEnum returned by GetTermsEnum(Terms, AttributeSource) and update the boost on each returned term. This enables to control the boost factor for each matching term in SCORING_BOOLEAN_QUERY_REWRITE or TopTermsRewrite<Q> mode. FuzzyQuery is using this to take the edit distance into account.
Please note: this attribute is intended to be added only by the TermsEnum to itself in its constructor and consumed by the MultiTermQuery.RewriteMethod.
@lucene.internal
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public interface IBoostAttribute : IAttribute
Properties
Name | Description |
---|---|
Boost | Gets or Sets the boost in this attribute. Default is |