Java org.apache.lucene.search.spans SpanMultiTermQueryWrapper fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.search.spans SpanMultiTermQueryWrapper fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.search.spans SpanMultiTermQueryWrapper.

The text is from its open source code.

Subclass

org.apache.lucene.search.spans.SpanMultiTermQueryWrapper has subclasses.
Click this link to see all its subclasses.

Field

SpanRewriteMethodSCORING_SPAN_QUERY_REWRITE
A rewrite method that first translates each term into a SpanTermQuery in a Occur#SHOULD clause in a BooleanQuery, and keeps the scores as computed by the query.

Constructor

SpanMultiTermQueryWrapper(Q query)
Create a new SpanMultiTermQueryWrapper.

Method

StringgetField()
SpanRewriteMethodgetRewriteMethod()
Expert: returns the rewriteMethod
QuerygetWrappedQuery()
Returns the wrapped query
voidsetRewriteMethod(SpanRewriteMethod rewriteMethod)
Expert: sets the rewrite method.