BoostAttribute

Add this Attribute to a TermsEnum returned by and update the boost on each returned term. This enables to control the boost factor for each matching term in or TopTermsRewrite 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.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract var boost: Float

Sets the boost in this attribute