## Uses of Class
org.apache.lucene.search.spans.SpanMultiTermQueryWrapper.SpanRewriteMethod

- Packages that use SpanMultiTermQueryWrapper.SpanRewriteMethod
  Package | Description
  --- | ---
  org.apache.lucene.search.spans | The calculus of spans.

- - ### Uses of SpanMultiTermQueryWrapper.SpanRewriteMethod in org.apache.lucene.search.spans

    Subclasses of SpanMultiTermQueryWrapper.SpanRewriteMethod in org.apache.lucene.search.spans
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite` A rewrite method that first translates each term into a SpanTermQuery in a `BooleanClause.Occur.SHOULD` clause in a BooleanQuery, and keeps the scores as computed by the query.

    Fields in org.apache.lucene.search.spans declared as SpanMultiTermQueryWrapper.SpanRewriteMethod
    Modifier and Type | Field and Description
    --- | ---
    `static SpanMultiTermQueryWrapper.SpanRewriteMethod` | SpanMultiTermQueryWrapper.`SCORING_SPAN_QUERY_REWRITE` A rewrite method that first translates each term into a SpanTermQuery in a `BooleanClause.Occur.SHOULD` clause in a BooleanQuery, and keeps the scores as computed by the query.

    Methods in org.apache.lucene.search.spans that return SpanMultiTermQueryWrapper.SpanRewriteMethod
    Modifier and Type | Method and Description
    --- | ---
    `SpanMultiTermQueryWrapper.SpanRewriteMethod` | SpanMultiTermQueryWrapper.`getRewriteMethod()` Expert: returns the rewriteMethod

    Methods in org.apache.lucene.search.spans with parameters of type SpanMultiTermQueryWrapper.SpanRewriteMethod
    Modifier and Type | Method and Description
    --- | ---
    `void` | SpanMultiTermQueryWrapper.`setRewriteMethod(SpanMultiTermQueryWrapper.SpanRewriteMethod rewriteMethod)` Expert: sets the rewrite method.

Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.