Package org.apache.lucene.sandbox.search
package org.apache.lucene.sandbox.search
This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial
queries.
-
ClassDescriptionA
Querythat treats multiple fields as a single stream and scores terms as if you had indexed them as a single term in a single field.A builder forCombinedFieldQuery.AQuerythat allows to have a configurable number or required matches per document.Optimized collector for large number of hits.Abstract class for range queries involving multiple ranges against physical points such asIntPointsAll ranges are logically ORed togetherA builder for multirange queries.Representation of a single clause in a MultiRangeQueryA generalized version ofPhraseQuery, built with one or moreMultiTermQuerythat provides term expansions for multi-terms (one of the expanded terms must match).Builds aPhraseWildcardQuery.Phrase term with expansions.AllPhraseWildcardQuery.PhraseTermare light and immutable.Phrase term with no expansion.Holds a pair of term bytes - term state.Holds theTermStateandTermStatisticsfor all the matched and collectedTerm, for all phrase terms, for all segments.Accumulates the doc freq and total term freq.Test counters incremented when assertions are enabled.This class wraps a Collector and times the execution of: - setScorer() - collect() - doSetNextReader() - needsScores()Collector manager forProfilerCollectorPublic class for profiled timings of the Collectors used in the search.An extension ofIndexSearcherthat records profile information for all queries it executes.This class is the internal representation of a profiled Query, corresponding to a single node in the query tree.This enum breaks down the query into different sections to describe what was timed.A proximity query that lets you express an automaton, whose transitions are terms, to match documents.Consumes a TokenStream and creates anTermAutomatonQuerywhere the transition labels are tokens from theTermToBytesRefAttribute.