Uses of Class
org.apache.lucene.search.Searcher
-
Packages that use Searcher Package Description org.apache.lucene.search Code to search indices.org.apache.lucene.search.function Programmatic control over documents scores.org.apache.lucene.search.payloads The payloads package provides Query mechanisms for finding and using payloads.org.apache.lucene.search.spans The calculus of spans. -
-
Uses of Searcher in org.apache.lucene.search
Subclasses of Searcher in org.apache.lucene.search Modifier and Type Class Description class
IndexSearcher
Implements search over a single IndexReader.class
MultiSearcher
Deprecated.If you are using MultiSearcher over IndexSearchers, please use MultiReader instead; this class does not properly handle certain kinds of queries (see LUCENE-2756).class
ParallelMultiSearcher
Deprecated.Please pass an ExecutorService toIndexSearcher
, instead.Methods in org.apache.lucene.search with parameters of type Searcher Modifier and Type Method Description Weight
BooleanQuery. createWeight(Searcher searcher)
Weight
ConstantScoreQuery. createWeight(Searcher searcher)
Weight
DisjunctionMaxQuery. createWeight(Searcher searcher)
Create the Weight used to score usWeight
FilteredQuery. createWeight(Searcher searcher)
Returns a Weight that applies the filter to the enclosed query's Weight.Weight
MatchAllDocsQuery. createWeight(Searcher searcher)
Weight
MultiPhraseQuery. createWeight(Searcher searcher)
Weight
PhraseQuery. createWeight(Searcher searcher)
Weight
Query. createWeight(Searcher searcher)
Expert: Constructs an appropriate Weight implementation for this query.Weight
TermQuery. createWeight(Searcher searcher)
Similarity
Query. getSimilarity(Searcher searcher)
Deprecated.Instead of using "runtime" subclassing/delegation, subclass the Weight instead.Explanation.IDFExplanation
Similarity. idfExplain(Collection<Term> terms, Searcher searcher)
Computes a score factor for a phrase.Explanation.IDFExplanation
Similarity. idfExplain(Term term, Searcher searcher)
This method forwards toSimilarity.idfExplain(Term,Searcher,int)
by passingsearcher.docFreq(term)
as the docFreq.Explanation.IDFExplanation
Similarity. idfExplain(Term term, Searcher searcher, int docFreq)
Computes a score factor for a simple term and returns an explanation for that score factor.Weight
Query. weight(Searcher searcher)
Deprecated.never ever use this method inWeight
implementations.Constructors in org.apache.lucene.search with parameters of type Searcher Constructor Description BooleanWeight(Searcher searcher, boolean disableCoord)
ConstantWeight(Searcher searcher)
DisjunctionMaxWeight(Searcher searcher)
Construct the Weight for this Query searched by searcher. -
Uses of Searcher in org.apache.lucene.search.function
Methods in org.apache.lucene.search.function with parameters of type Searcher Modifier and Type Method Description Weight
CustomScoreQuery. createWeight(Searcher searcher)
Weight
ValueSourceQuery. createWeight(Searcher searcher)
-
Uses of Searcher in org.apache.lucene.search.payloads
Methods in org.apache.lucene.search.payloads with parameters of type Searcher Modifier and Type Method Description Weight
PayloadNearQuery. createWeight(Searcher searcher)
Weight
PayloadTermQuery. createWeight(Searcher searcher)
Constructors in org.apache.lucene.search.payloads with parameters of type Searcher Constructor Description PayloadNearSpanWeight(SpanQuery query, Searcher searcher)
PayloadTermWeight(PayloadTermQuery query, Searcher searcher)
-
Uses of Searcher in org.apache.lucene.search.spans
Methods in org.apache.lucene.search.spans with parameters of type Searcher Modifier and Type Method Description Weight
FieldMaskingSpanQuery. createWeight(Searcher searcher)
Weight
SpanQuery. createWeight(Searcher searcher)
Constructors in org.apache.lucene.search.spans with parameters of type Searcher Constructor Description SpanWeight(SpanQuery query, Searcher searcher)
-