Package org.apache.lucene.search
This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial queries.
-
Class Summary Class Description BM25FQuery AQuery
that treats multiple fields as a single stream and scores terms as if you had indexed them as a single term in a single field.BM25FQuery.Builder A builder forBM25FQuery
.CoveringQuery AQuery
that allows to have a configurable number or required matches per document.DocValuesNumbersQuery LikeDocValuesTermsQuery
, but this query only runs on a longNumericDocValuesField
or aSortedNumericDocValuesField
, matching all documents whose value in the specified field is contained in the provided set of long values.DocValuesTermsQuery AQuery
that only accepts documents whose term value in the specified field is contained in the provided set of allowed terms.LatLonPointPrototypeQueries Holder class for prototype sandboxed queries When the query graduates from sandbox, these static calls should be placed inLatLonPoint
TermAutomatonQuery A proximity query that lets you express an automaton, whose transitions are terms, to match documents.TokenStreamToTermAutomatonQuery Consumes a TokenStream and creates anTermAutomatonQuery
where the transition labels are tokens from theTermToBytesRefAttribute
.