Interface IMaxNonCompetitiveBoostAttribute
Add this IAttribute to a fresh AttributeSource before calling GetTermsEnum(Terms, AttributeSource). FuzzyQuery is using this to control its internal behaviour to only return competitive terms.
Please note: this attribute is intended to be added by the MultiTermQuery.RewriteMethod to an empty AttributeSource that is shared for all segments during query rewrite. This attribute source is passed to all segment enums on GetTermsEnum(Terms, AttributeSource). TopTermsRewrite<Q> uses this attribute to inform all enums about the current boost, that is not competitive.
@lucene.internal
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public interface IMaxNonCompetitiveBoostAttribute : IAttribute
Properties
Name | Description |
---|---|
CompetitiveTerm | This is the term or |
MaxNonCompetitiveBoost | This is the maximum boost that would not be competitive. |