Uses of Class org.apache.lucene.search.TopTermsRewrite (Lucene 10.5.1 core API)
Description: use: package: org.apache.lucene.search, class: TopTermsRewrite

# Uses of Class
org.apache.lucene.search.TopTermsRewrite

Packages that use TopTermsRewrite
Package
Description
org.apache.lucene.search
Code to search indices.

- ## Uses of TopTermsRewrite in org.apache.lucene.search

  Subclasses of TopTermsRewrite in org.apache.lucene.search
  Modifier and Type
  Class
  Description
  `static final class`
  `MultiTermQuery.TopTermsBlendedFreqScoringRewrite`
  A rewrite method that first translates each term into `BooleanClause.Occur.SHOULD` clause in a BooleanQuery, but adjusts the frequencies used for scoring to be blended across the terms, otherwise the rarest term typically ranks highest (often not useful eg in the set of expanded terms in a FuzzyQuery).
  `static final class`
  `MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite`
  A rewrite method that first translates each term into `BooleanClause.Occur.SHOULD` clause in a BooleanQuery, but the scores are only computed as the boost.
  `static final class`
  `MultiTermQuery.TopTermsScoringBooleanQueryRewrite`
  A rewrite method that first translates each term into `BooleanClause.Occur.SHOULD` clause in a BooleanQuery, and keeps the scores as computed by the query.