# Package org.apache.lucene.search

This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial queries.

See: Description

Class Summary
BM25FQuery: A `Query` 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 for `BM25FQuery`.
CoveringQuery: A `Query` that allows to have a configurable number or required matches per document.
DocValuesNumbersQuery: Like `DocValuesTermsQuery`, but this query only runs on a long `NumericDocValuesField` or a `SortedNumericDocValuesField`, matching all documents whose value in the specified field is contained in the provided set of long values.
DocValuesTermsQuery: A `Query` that only accepts documents whose term value in the specified field is contained in the provided set of allowed terms.
IndexSortSortedNumericDocValuesRangeQuery: A range query that can take advantage of the fact that the index is sorted to speed up execution.
LargeNumHitsTopDocsCollector: Optimized collector for large number of hits.
LatLonPointPrototypeQueries: Holder class for prototype sandboxed queries When the query graduates from sandbox, these static calls should be placed in `LatLonPoint`
MultiRangeQuery: Abstract class for range queries involving multiple ranges against physical points such as `IntPoints` All ranges are logically ORed together TODO: Add capability for handling overlapping ranges at rewrite time
MultiRangeQuery.Builder: A builder for multirange queries.
MultiRangeQuery.RangeClause: Representation of a single clause in a MultiRangeQuery
PhraseWildcardQuery: A generalized version of `PhraseQuery`, built with one or more `MultiTermQuery` that provides term expansions for multi-terms (one of the expanded terms must match).
PhraseWildcardQuery.Builder: Builds a `PhraseWildcardQuery`.
PhraseWildcardQuery.MultiTerm: Phrase term with expansions.
PhraseWildcardQuery.PhraseTerm: All `PhraseWildcardQuery.PhraseTerm` are light and immutable.
PhraseWildcardQuery.SingleTerm: Phrase term with no expansion.
PhraseWildcardQuery.TermBytesTermState: Holds a pair of term bytes - term state.
PhraseWildcardQuery.TermData: Holds the `TermState` for all the collected `Term`, for a specific phrase term, for all segments.
PhraseWildcardQuery.TermsData: Holds the `TermState` and `TermStatistics` for all the matched and collected `Term`, for all phrase terms, for all segments.
PhraseWildcardQuery.TermStats: Accumulates the doc freq and total term freq.
PhraseWildcardQuery.TestCounters: Test counters incremented when assertions are enabled.
TermAutomatonQuery: A proximity query that lets you express an automaton, whose transitions are terms, to match documents.
TokenStreamToTermAutomatonQuery: Consumes a TokenStream and creates an `TermAutomatonQuery` where the transition labels are tokens from the `TermToBytesRefAttribute`.

## Package org.apache.lucene.search Description

This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial queries.