Uses of Class
org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper.SpanRewriteMethod
-
Uses of SpanMultiTermQueryWrapper.SpanRewriteMethod in org.apache.lucene.queries.spans
Modifier and TypeClassDescriptionstatic final class
A rewrite method that first translates each term into a SpanTermQuery in aBooleanClause.Occur.SHOULD
clause in a BooleanQuery, and keeps the scores as computed by the query.Modifier and TypeFieldDescriptionstatic final SpanMultiTermQueryWrapper.SpanRewriteMethod
SpanMultiTermQueryWrapper.SCORING_SPAN_QUERY_REWRITE
A rewrite method that first translates each term into a SpanTermQuery in aBooleanClause.Occur.SHOULD
clause in a BooleanQuery, and keeps the scores as computed by the query.Modifier and TypeMethodDescriptionSpanMultiTermQueryWrapper.getRewriteMethod()
Expert: returns the rewriteMethodModifier and TypeMethodDescriptionfinal void
SpanMultiTermQueryWrapper.setRewriteMethod
(SpanMultiTermQueryWrapper.SpanRewriteMethod rewriteMethod) Expert: sets the rewrite method.