Uses of Class
org.apache.lucene.search.IndexSearcher
Packages that use IndexSearcher
Package
Description
Uses already seen data (the indexed documents) to classify an input ( can be simple text or a
structured document).
Utilities for evaluation, data preparation, etc.
The logical representation of a
Document for indexing and
searching.Expressions.
Code to maintain and access indices.
High-performance single-document main memory Apache Lucene fulltext search index.
Misc search implementations.
Monitoring framework
Filters and Queries that add to core Lucene.
Queries that compute score based upon a function.
A variety of functions to use with FunctionQuery.
Intervals queries
Document similarity query generators.
The payloads package provides Query mechanisms for finding and using payloads.
The calculus of spans.
QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"
This package contains SrndQuery and its subclasses.
This package contains several point types:
BigIntegerPoint for 128-bit
integers
LatLonPoint for latitude/longitude
geospatial points
Additional queries (some may have caveats or limitations)
This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial
queries.
Code to search indices.
Grouping.
Highlighting search terms.
Support for index-time and query-time joins.
Classes related to vector search: knn and vector fields.
This package contains several components useful to build a highlighter on top of the
Matches API.Suggest alternate spellings for words.
Analyzer based autosuggest.
Support for document suggestion
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term
vectors, or analysis.
Another highlighter implementation based on term vectors.
Lucene field & query support for the spatial geometry implemented in
org.apache.lucene.spatial3d.geom.-
Uses of IndexSearcher in org.apache.lucene.classification
Fields in org.apache.lucene.classification declared as IndexSearcherModifier and TypeFieldDescriptionprivate final IndexSearcherBM25NBClassifier.indexSearcherIndexSearcherto run searches on the index for retrieving frequenciesprivate final IndexSearcherKNearestFuzzyClassifier.indexSearcheranIndexSearcherused to perform queriesprotected final IndexSearcherKNearestNeighborClassifier.indexSearcheranIndexSearcherused to perform queriesprotected final IndexSearcherSimpleNaiveBayesClassifier.indexSearcherIndexSearcherto run searches on the index for retrieving frequencies -
Uses of IndexSearcher in org.apache.lucene.classification.utils
Methods in org.apache.lucene.classification.utils with parameters of type IndexSearcher -
Uses of IndexSearcher in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type IndexSearcherModifier and TypeMethodDescription(package private) static floatFeatureField.computePivotFeatureValue(IndexSearcher searcher, String featureField, String featureName) Compute a feature value that may be used as thepivotparameter of theFeatureField.newSaturationQuery(String, String, float, float)andFeatureField.newSigmoidQuery(String, String, float, float, float)factory methods.BinaryRangeFieldRangeQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) FeatureQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) LatLonDocValuesBoxQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) LatLonDocValuesQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) LatLonPointDistanceFeatureQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) LatLonPointDistanceQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) LongDistanceFeatureQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) final WeightRangeFieldQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) SortedNumericDocValuesRangeQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) SortedNumericDocValuesSetQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) SortedSetDocValuesRangeQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) final WeightSpatialQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) XYDocValuesPointInGeometryQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) XYPointInGeometryQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) BinaryRangeFieldRangeQuery.rewrite(IndexSearcher indexSearcher) DoubleRangeSlowRangeQuery.rewrite(IndexSearcher indexSearcher) FeatureDoubleValuesSource.rewrite(IndexSearcher reader) (package private) FeatureField.FeatureFunctionFeatureField.FeatureFunction.rewrite(IndexSearcher indexSearcher) FeatureField.SaturationFunction.rewrite(IndexSearcher indexSearcher) FeatureQuery.rewrite(IndexSearcher indexSearcher) FloatRangeSlowRangeQuery.rewrite(IndexSearcher indexSearcher) IntRangeSlowRangeQuery.rewrite(IndexSearcher indexSearcher) LongRangeSlowRangeQuery.rewrite(IndexSearcher indexSearcher) SortedNumericDocValuesRangeQuery.rewrite(IndexSearcher indexSearcher) SortedNumericDocValuesSetQuery.rewrite(IndexSearcher indexSearcher) SortedSetDocValuesRangeQuery.rewrite(IndexSearcher indexSearcher) -
Uses of IndexSearcher in org.apache.lucene.expressions
Methods in org.apache.lucene.expressions with parameters of type IndexSearcherModifier and TypeMethodDescriptionExpressionRescorer.explain(IndexSearcher searcher, Explanation firstPassExplanation, int docID) ExpressionValueSource.rewrite(IndexSearcher searcher) -
Uses of IndexSearcher in org.apache.lucene.index
Methods in org.apache.lucene.index with parameters of type IndexSearcherModifier and TypeMethodDescriptionstatic TermStatesTermStates.build(IndexSearcher indexSearcher, Term term, boolean needsStats) -
Uses of IndexSearcher in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory that return IndexSearcherModifier and TypeMethodDescriptionMemoryIndex.createSearcher()Creates and returns a searcher that can be used to execute arbitrary Lucene queries and to collect the resulting query results as hits. -
Uses of IndexSearcher in org.apache.lucene.misc.search
Methods in org.apache.lucene.misc.search with parameters of type IndexSearcherModifier and TypeMethodDescriptionHumanReadableQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) HumanReadableQuery.rewrite(IndexSearcher indexSearcher) -
Uses of IndexSearcher in org.apache.lucene.monitor
Fields in org.apache.lucene.monitor declared as IndexSearcherModifier and TypeFieldDescriptionprotected final IndexSearcherCandidateMatcher.searcherThe searcher to run candidate queries againstMethods in org.apache.lucene.monitor that return IndexSearcherModifier and TypeMethodDescriptionTermsHashBuilder.newSearcher(IndexReader reader, IndexReader previousReader) Methods in org.apache.lucene.monitor with parameters of type IndexSearcherModifier and TypeMethodDescriptionMatcherFactory.createMatcher(IndexSearcher searcher) Create a newCandidateMatcherobject, to select queries to match against the passed-in IndexSearcherParallelMatcher.ParallelMatcherFactory.createMatcher(IndexSearcher searcher) PartitionMatcher.PartitionMatcherFactory.createMatcher(IndexSearcher searcher) ForceNoBulkScoringQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) ForceNoBulkScoringQuery.rewrite(IndexSearcher indexSearcher) Constructors in org.apache.lucene.monitor with parameters of type IndexSearcherModifierConstructorDescriptionCandidateMatcher(IndexSearcher searcher) Creates a new CandidateMatcher for the supplied DocumentBatch(package private)CollectingMatcher(IndexSearcher searcher, ScoreMode scoreMode) privateParallelMatcher(IndexSearcher searcher, ExecutorService executor, MatcherFactory<T> matcherFactory, int threads) Create a new ParallelMatcherprivatePartitionMatcher(IndexSearcher searcher, ExecutorService executor, MatcherFactory<T> matcherFactory, int threads) -
Uses of IndexSearcher in org.apache.lucene.queries
Methods in org.apache.lucene.queries with parameters of type IndexSearcher -
Uses of IndexSearcher in org.apache.lucene.queries.function
Fields in org.apache.lucene.queries.function declared as IndexSearcherModifier and TypeFieldDescriptionprotected final IndexSearcherFunctionQuery.FunctionWeight.searcher(package private) final IndexSearcherValueSource.WrappedDoubleValuesSource.searcherprivate final IndexSearcherValueSource.WrappedLongValuesSource.searcherMethods in org.apache.lucene.queries.function with parameters of type IndexSearcherModifier and TypeMethodDescriptionFunctionMatchQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) FunctionQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) FunctionRangeQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) FunctionScoreQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) voidValueSource.createWeight(Map<Object, Object> context, IndexSearcher searcher) Implementations should propagate createWeight to sub-ValueSources which can optionally store weight info in the context.ValueSource.newContext(IndexSearcher searcher) Returns a new non-threadsafe context map.FunctionScoreQuery.MultiplicativeBoostValuesSource.rewrite(IndexSearcher reader) FunctionScoreQuery.QueryBoostValuesSource.rewrite(IndexSearcher reader) FunctionScoreQuery.rewrite(IndexSearcher indexSearcher) IndexReaderFunctions.IndexReaderDoubleValuesSource.rewrite(IndexSearcher searcher) IndexReaderFunctions.NoCacheConstantDoubleValuesSource.rewrite(IndexSearcher reader) IndexReaderFunctions.NoCacheConstantLongValuesSource.rewrite(IndexSearcher reader) IndexReaderFunctions.SumTotalTermFreqValuesSource.rewrite(IndexSearcher searcher) IndexReaderFunctions.TermFreqDoubleValuesSource.rewrite(IndexSearcher searcher) ValueSource.ValueSourceSortField.rewrite(IndexSearcher searcher) ValueSource.WrappedDoubleValuesSource.rewrite(IndexSearcher searcher) ValueSource.WrappedLongValuesSource.rewrite(IndexSearcher searcher) Constructors in org.apache.lucene.queries.function with parameters of type IndexSearcherModifierConstructorDescriptionFunctionRangeWeight(IndexSearcher searcher) FunctionWeight(IndexSearcher searcher, float boost) privateWrappedDoubleValuesSource(ValueSource in, IndexSearcher searcher) privateWrappedLongValuesSource(ValueSource in, IndexSearcher searcher) -
Uses of IndexSearcher in org.apache.lucene.queries.function.valuesource
Methods in org.apache.lucene.queries.function.valuesource with parameters of type IndexSearcherModifier and TypeMethodDescriptionvoidComparisonBoolFunction.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidDocFreqValueSource.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidDualFloatFunction.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidIfFunction.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidLinearFloatFunction.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidMaxDocValueSource.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidMultiBoolFunction.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidMultiFloatFunction.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidMultiFunction.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidNormValueSource.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidQueryValueSource.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidRangeMapFloatFunction.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidReciprocalFloatFunction.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidScaleFloatFunction.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidSimpleBoolFunction.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidSingleFunction.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidSumTotalTermFreqValueSource.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidTotalTermFreqValueSource.createWeight(Map<Object, Object> context, IndexSearcher searcher) voidVectorValueSource.createWeight(Map<Object, Object> context, IndexSearcher searcher) -
Uses of IndexSearcher in org.apache.lucene.queries.intervals
Methods in org.apache.lucene.queries.intervals with parameters of type IndexSearcherModifier and TypeMethodDescriptionIntervalQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of IndexSearcher in org.apache.lucene.queries.mlt
Methods in org.apache.lucene.queries.mlt with parameters of type IndexSearcher -
Uses of IndexSearcher in org.apache.lucene.queries.payloads
Methods in org.apache.lucene.queries.payloads with parameters of type IndexSearcherModifier and TypeMethodDescriptionPayloadScoreQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) SpanPayloadCheckQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) PayloadScoreQuery.rewrite(IndexSearcher indexSearcher) SpanPayloadCheckQuery.rewrite(IndexSearcher indexSearcher) Constructors in org.apache.lucene.queries.payloads with parameters of type IndexSearcherModifierConstructorDescriptionPayloadSpanWeight(IndexSearcher searcher, SpanWeight innerWeight, float boost) SpanPayloadCheckWeight(IndexSearcher searcher, Map<Term, TermStates> termStates, SpanWeight matchWeight, float boost, SpanPayloadCheckQuery.PayloadType payloadType) -
Uses of IndexSearcher in org.apache.lucene.queries.spans
Methods in org.apache.lucene.queries.spans with parameters of type IndexSearcherModifier and TypeMethodDescriptionprivate Similarity.SimScorerSpanWeight.buildSimWeight(SpanQuery query, IndexSearcher searcher, Map<Term, TermStates> termStates, float boost) FieldMaskingSpanQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) SpanContainingQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) SpanMultiTermQueryWrapper.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) SpanNearQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) SpanNearQuery.SpanGapQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) SpanNotQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) SpanOrQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) SpanPositionCheckQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) abstract SpanWeightSpanQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) SpanTermQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) SpanWithinQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) FieldMaskingSpanQuery.rewrite(IndexSearcher indexSearcher) SpanContainQuery.rewrite(IndexSearcher indexSearcher) SpanMultiTermQueryWrapper.rewrite(IndexSearcher indexSearcher) SpanNearQuery.rewrite(IndexSearcher indexSearcher) SpanNotQuery.rewrite(IndexSearcher indexSearcher) SpanOrQuery.rewrite(IndexSearcher indexSearcher) SpanPositionCheckQuery.rewrite(IndexSearcher indexSearcher) Constructors in org.apache.lucene.queries.spans with parameters of type IndexSearcherModifierConstructorDescriptionSpanContainingWeight(IndexSearcher searcher, Map<Term, TermStates> terms, SpanWeight bigWeight, SpanWeight littleWeight, float boost) SpanContainWeight(IndexSearcher searcher, Map<Term, TermStates> terms, SpanWeight bigWeight, SpanWeight littleWeight, float boost) (package private)SpanGapWeight(IndexSearcher searcher, float boost) SpanNearWeight(List<SpanWeight> subWeights, IndexSearcher searcher, Map<Term, TermStates> terms, float boost) SpanNotWeight(IndexSearcher searcher, Map<Term, TermStates> terms, SpanWeight includeWeight, SpanWeight excludeWeight, float boost) SpanOrWeight(IndexSearcher searcher, Map<Term, TermStates> terms, List<SpanWeight> subWeights, float boost) SpanPositionCheckWeight(SpanWeight matchWeight, IndexSearcher searcher, Map<Term, TermStates> terms, float boost) SpanTermWeight(TermStates termStates, IndexSearcher searcher, Map<Term, TermStates> terms, float boost) SpanWeight(SpanQuery query, IndexSearcher searcher, Map<Term, TermStates> termStates, float boost) Create a new SpanWeightSpanWithinWeight(IndexSearcher searcher, Map<Term, TermStates> terms, SpanWeight bigWeight, SpanWeight littleWeight, float boost) -
Uses of IndexSearcher in org.apache.lucene.queryparser.complexPhrase
Methods in org.apache.lucene.queryparser.complexPhrase with parameters of type IndexSearcherModifier and TypeMethodDescriptionComplexPhraseQueryParser.ComplexPhraseQuery.rewrite(IndexSearcher indexSearcher) -
Uses of IndexSearcher in org.apache.lucene.queryparser.surround.query
Methods in org.apache.lucene.queryparser.surround.query with parameters of type IndexSearcherModifier and TypeMethodDescriptionDistanceRewriteQuery.rewrite(IndexSearcher indexSearcher) abstract QueryRewriteQuery.rewrite(IndexSearcher indexSearcher) SimpleTermRewriteQuery.rewrite(IndexSearcher indexSearcher) -
Uses of IndexSearcher in org.apache.lucene.sandbox.document
Methods in org.apache.lucene.sandbox.document with parameters of type IndexSearcherModifier and TypeMethodDescriptionstatic TopFieldDocsFloatPointNearestNeighbor.nearest(IndexSearcher searcher, String field, int topN, float... origin) -
Uses of IndexSearcher in org.apache.lucene.sandbox.queries
Methods in org.apache.lucene.sandbox.queries with parameters of type IndexSearcher -
Uses of IndexSearcher in org.apache.lucene.sandbox.search
Subclasses of IndexSearcher in org.apache.lucene.sandbox.searchModifier and TypeClassDescriptionclassAn extension ofIndexSearcherthat records profile information for all queries it executes.Fields in org.apache.lucene.sandbox.search declared as IndexSearcherModifier and TypeFieldDescriptionprivate final IndexSearcherCombinedFieldQuery.CombinedFieldWeight.searcherMethods in org.apache.lucene.sandbox.search with parameters of type IndexSearcherModifier and TypeMethodDescriptionprotected intPhraseWildcardQuery.collectMultiTermData(PhraseWildcardQuery.MultiTerm multiTerm, IndexSearcher searcher, List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData) Collects theTermStateandTermStatisticsfor a multi-term with expansion.protected voidPhraseWildcardQuery.collectMultiTermStats(IndexSearcher searcher, Map<BytesRef, PhraseWildcardQuery.TermStats> termStatsMap, PhraseWildcardQuery.TermsData termsData, PhraseWildcardQuery.TermData termData) Collect the term stats across all segments.protected intPhraseWildcardQuery.collectSingleTermData(PhraseWildcardQuery.SingleTerm singleTerm, IndexSearcher searcher, List<LeafReaderContext> segments, PhraseWildcardQuery.TermsData termsData) Collects theTermStateandTermStatisticsfor a single-term without expansion.protected intPhraseWildcardQuery.MultiTerm.collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData) protected abstract intPhraseWildcardQuery.PhraseTerm.collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData) CollectsTermStateandTermStatisticsfor the term (potentially expanded).protected intPhraseWildcardQuery.PhraseTerm.collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, List<LeafReaderContext> segments, PhraseWildcardQuery.TermsData termsData) CollectsTermStateandTermStatisticsfor the term without expansion.protected intPhraseWildcardQuery.SingleTerm.collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData) protected intPhraseWildcardQuery.SingleTerm.collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, List<LeafReaderContext> segments, PhraseWildcardQuery.TermsData termsData) (package private) PhraseWeightPhraseWildcardQuery.createPhraseWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost, PhraseWildcardQuery.TermsData termsData) CombinedFieldQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) CoveringQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) final WeightMultiRangeQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) PhraseWildcardQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) TermAutomatonQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) private CollectionStatisticsCombinedFieldQuery.CombinedFieldWeight.mergeCollectionStatistics(IndexSearcher searcher) static TopFieldDocsLatLonPointPrototypeQueries.nearest(IndexSearcher searcher, String field, double latitude, double longitude, int n) Finds thennearest indexed points to the provided point, according to Haversine distance.CombinedFieldQuery.rewrite(IndexSearcher indexSearcher) CoveringQuery.rewrite(IndexSearcher indexSearcher) MultiRangeQuery.rewrite(IndexSearcher indexSearcher) Merges the overlapping ranges and returns unconnected ranges by callingMultiRangeQuery.mergeOverlappingRanges(java.util.List<org.apache.lucene.sandbox.search.MultiRangeQuery.RangeClause>, int)PhraseWildcardQuery.rewrite(IndexSearcher indexSearcher) TermAutomatonQuery.rewrite(IndexSearcher indexSearcher) Constructors in org.apache.lucene.sandbox.search with parameters of type IndexSearcherModifierConstructorDescription(package private)CombinedFieldWeight(Query query, IndexSearcher searcher, ScoreMode scoreMode, float boost) TermAutomatonWeight(Automaton automaton, IndexSearcher searcher, IntObjectHashMap<TermStates> termStates, float boost) -
Uses of IndexSearcher in org.apache.lucene.search
Fields in org.apache.lucene.search declared as IndexSearcherModifier and TypeFieldDescriptionprivate final IndexSearcherAbstractMultiTermQueryConstantScoreWrapper.RewritingWeight.searcherfinal IndexSearcherSearcherLifetimeManager.SearcherTracker.searcherMethods in org.apache.lucene.search that return IndexSearcherModifier and TypeMethodDescriptionSearcherLifetimeManager.acquire(long version) Retrieve a previously recordedIndexSearcher, if it has not yet been closedstatic IndexSearcherSearcherManager.getSearcher(SearcherFactory searcherFactory, IndexReader reader, IndexReader previousReader) Expert: creates a searcher from the providedIndexReaderusing the providedSearcherFactory.SearcherFactory.newSearcher(IndexReader reader, IndexReader previousReader) Returns a new IndexSearcher over the given reader.protected IndexSearcherSearcherManager.refreshIfNeeded(IndexSearcher referenceToRefresh) Methods in org.apache.lucene.search with parameters of type IndexSearcherModifier and TypeMethodDescriptionAbstractKnnVectorQuery.DocAndScoreQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) AbstractVectorSimilarityQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) BooleanQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) BoostQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) ConstantScoreQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) DisjunctionMaxQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) Create the Weight used to score usDocValuesRewriteMethod.MultiTermQueryDocValuesWrapper.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) FieldExistsQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) IndexOrDocValuesQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) IndexSortSortedNumericDocValuesRangeQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) IndriAndQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) abstract WeightIndriQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) MatchAllDocsQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) MatchNoDocsQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) MultiPhraseQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) MultiTermQueryConstantScoreBlendedWrapper.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) MultiTermQueryConstantScoreWrapper.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) NamedMatches.NamedQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) PhraseQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) final WeightPointInSetQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) final WeightPointRangeQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) Query.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) Expert: Constructs an appropriate Weight implementation for this query.SynonymQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) TermQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) protected voidSearcherManager.decRef(IndexSearcher reference) booleanSearcherLifetimeManager.PruneByAge.doPrune(double ageSec, IndexSearcher searcher) booleanSearcherLifetimeManager.Pruner.doPrune(double ageSec, IndexSearcher searcher) Return true if this searcher should be removed.QueryRescorer.explain(IndexSearcher searcher, Explanation firstPassExplanation, int docID) abstract ExplanationRescorer.explain(IndexSearcher searcher, Explanation firstPassExplanation, int docID) Explains how the score for the specified document was computed.SortRescorer.explain(IndexSearcher searcher, Explanation firstPassExplanation, int docID) protected KnnCollectorManagerAbstractKnnVectorQuery.getKnnCollectorManager(int k, IndexSearcher searcher) protected intSearcherManager.getRefCount(IndexSearcher reference) protected abstract Similarity.SimScorerPhraseWeight.getStats(IndexSearcher searcher) static voidTopFieldCollector.populateScores(ScoreDoc[] topDocs, IndexSearcher searcher, Query query) Populatescoresof the giventopDocs.longSearcherLifetimeManager.record(IndexSearcher searcher) Records that you are now using this IndexSearcher.protected IndexSearcherSearcherManager.refreshIfNeeded(IndexSearcher referenceToRefresh) voidSearcherLifetimeManager.release(IndexSearcher s) Release a searcher previously obtained fromSearcherLifetimeManager.acquire(long).QueryRescorer.rescore(IndexSearcher searcher, TopDocs firstPassTopDocs, int topN) static TopDocsQueryRescorer.rescore(IndexSearcher searcher, TopDocs topDocs, Query query, double weight, int topN) Sugar API, calling {#rescore} using a simple linear combination of firstPassScore + weight * secondPassScoreabstract TopDocsRescorer.rescore(IndexSearcher searcher, TopDocs firstPassTopDocs, int topN) Rescore an initial first-passTopDocs.SortRescorer.rescore(IndexSearcher searcher, TopDocs firstPassTopDocs, int topN) AbstractKnnVectorQuery.rewrite(IndexSearcher indexSearcher) final QueryBlendedTermQuery.rewrite(IndexSearcher indexSearcher) BooleanQuery.rewrite(IndexSearcher indexSearcher) BoostQuery.rewrite(IndexSearcher indexSearcher) ConstantScoreQuery.rewrite(IndexSearcher indexSearcher) DisjunctionMaxQuery.rewrite(IndexSearcher indexSearcher) Optimize our representation and our subqueries representationsDoubleValuesSource.ConstantValuesSource.rewrite(IndexSearcher searcher) DoubleValuesSource.DoubleValuesSortField.rewrite(IndexSearcher searcher) DoubleValuesSource.FieldValuesSource.rewrite(IndexSearcher searcher) DoubleValuesSource.LongDoubleValuesSource.rewrite(IndexSearcher searcher) DoubleValuesSource.QueryDoubleValuesSource.rewrite(IndexSearcher searcher) abstract DoubleValuesSourceDoubleValuesSource.rewrite(IndexSearcher reader) Return a DoubleValuesSource specialised for the given IndexSearcherDoubleValuesSource.WeightDoubleValuesSource.rewrite(IndexSearcher searcher) FieldExistsQuery.rewrite(IndexSearcher indexSearcher) IndexOrDocValuesQuery.rewrite(IndexSearcher indexSearcher) IndexSortSortedNumericDocValuesRangeQuery.rewrite(IndexSearcher indexSearcher) LongValuesSource.ConstantLongValuesSource.rewrite(IndexSearcher searcher) LongValuesSource.DoubleLongValuesSource.rewrite(IndexSearcher searcher) LongValuesSource.FieldValuesSource.rewrite(IndexSearcher searcher) LongValuesSource.LongValuesSortField.rewrite(IndexSearcher searcher) abstract LongValuesSourceLongValuesSource.rewrite(IndexSearcher searcher) Return a LongValuesSource specialised for the given IndexSearcherMultiPhraseQuery.rewrite(IndexSearcher indexSearcher) final QueryMultiTermQuery.rewrite(IndexSearcher indexSearcher) To rewrite to a simpler form, instead return a simpler enum fromMultiTermQuery.getTermsEnum(Terms, AttributeSource).NamedMatches.NamedQuery.rewrite(IndexSearcher indexSearcher) NGramPhraseQuery.rewrite(IndexSearcher indexSearcher) PhraseQuery.rewrite(IndexSearcher indexSearcher) Query.rewrite(IndexSearcher indexSearcher) Expert: called to re-write queries into primitive queries.Sort.rewrite(IndexSearcher searcher) Rewrites the SortFields in this Sort, returning a new Sort if any of the fields changes during their rewriting.SortField.rewrite(IndexSearcher searcher) Rewrites this SortField, returning a new SortField if a change is made.SynonymQuery.rewrite(IndexSearcher indexSearcher) VectorSimilarityValuesSource.rewrite(IndexSearcher reader) (package private) Query[]BooleanQuery.rewriteTwoClauseDisjunctionWithTermsForCount(IndexSearcher indexSearcher) Rewrite a single two clause disjunction query with terms to two term queries and a conjunction query using the inclusion–exclusion principle.protected booleanSearcherManager.tryIncRef(IndexSearcher reference) Constructors in org.apache.lucene.search with parameters of type IndexSearcherModifierConstructorDescription(package private)BooleanWeight(BooleanQuery query, IndexSearcher searcher, ScoreMode scoreMode, float boost) DisjunctionMaxWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) Construct the Weight for this Query searched by searcher.IndriAndWeight(IndriAndQuery query, IndexSearcher searcher, ScoreMode scoreMode, float boost) protectedPhraseWeight(Query query, String field, IndexSearcher searcher, ScoreMode scoreMode) Expert: Creates PhraseWeight instanceprotectedRewritingWeight(MultiTermQuery q, float boost, ScoreMode scoreMode, IndexSearcher searcher) SearcherTracker(IndexSearcher searcher) (package private)SynonymWeight(Query query, IndexSearcher searcher, ScoreMode scoreMode, float boost) TermWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost, TermStates termStates) -
Uses of IndexSearcher in org.apache.lucene.search.grouping
Methods in org.apache.lucene.search.grouping with parameters of type IndexSearcherModifier and TypeMethodDescriptionprotected TopGroups<?> GroupingSearch.groupByDocBlock(IndexSearcher searcher, Query query, int groupOffset, int groupLimit) protected TopGroupsGroupingSearch.groupByFieldOrFunction(IndexSearcher searcher, Query query, int groupOffset, int groupLimit) <T> TopGroups<T> GroupingSearch.search(IndexSearcher searcher, Query query, int groupOffset, int groupLimit) Executes a grouped search. -
Uses of IndexSearcher in org.apache.lucene.search.highlight
Fields in org.apache.lucene.search.highlight declared as IndexSearcherModifier and TypeFieldDescriptionprivate static final IndexSearcherQueryTermExtractor.EMPTY_INDEXSEARCHERfor term extraction -
Uses of IndexSearcher in org.apache.lucene.search.join
Methods in org.apache.lucene.search.join with parameters of type IndexSearcherModifier and TypeMethodDescriptionprivate static QueryJoinUtil.createJoinQuery(boolean multipleValuesPerDocument, String toField, Query fromQuery, String fromField, IndexSearcher fromSearcher, ScoreMode scoreMode, GenericTermsCollector collector) static QueryJoinUtil.createJoinQuery(String fromField, boolean multipleValuesPerDocument, String toField, Class<? extends Number> numericType, Query fromQuery, IndexSearcher fromSearcher, ScoreMode scoreMode) Method for query time joining for numeric fields.static QueryJoinUtil.createJoinQuery(String fromField, boolean multipleValuesPerDocument, String toField, Query fromQuery, IndexSearcher fromSearcher, ScoreMode scoreMode) Method for query time joining.static QueryJoinUtil.createJoinQuery(String joinField, Query fromQuery, Query toQuery, IndexSearcher searcher, ScoreMode scoreMode, OrdinalMap ordinalMap) Delegates toJoinUtil.createJoinQuery(String, Query, Query, IndexSearcher, ScoreMode, OrdinalMap, int, int), but disables the min and max filtering.static QueryJoinUtil.createJoinQuery(String joinField, Query fromQuery, Query toQuery, IndexSearcher searcher, ScoreMode scoreMode, OrdinalMap ordinalMap, int min, int max) A query time join using global ordinals over a dedicated join field.GlobalOrdinalsQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) GlobalOrdinalsWithScoreQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) ParentChildrenBlockJoinQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) final WeightPointInSetIncludingScoreQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) TermsIncludingScoreQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) ToChildBlockJoinQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) ToParentBlockJoinQuery.createWeight(IndexSearcher searcher, ScoreMode weightScoreMode, float boost) protected KnnCollectorManagerDiversifyingChildrenByteKnnVectorQuery.getKnnCollectorManager(int k, IndexSearcher searcher) protected KnnCollectorManagerDiversifyingChildrenFloatKnnVectorQuery.getKnnCollectorManager(int k, IndexSearcher searcher) ParentChildrenBlockJoinQuery.rewrite(IndexSearcher indexSearcher) ToChildBlockJoinQuery.rewrite(IndexSearcher indexSearcher) ToParentBlockJoinQuery.rewrite(IndexSearcher indexSearcher) Constructors in org.apache.lucene.search.join with parameters of type IndexSearcherModifierConstructorDescriptionDiversifyingNearestChildrenKnnCollectorManager(int k, BitSetProducer parentsFilter, IndexSearcher indexSearcher) Constructor -
Uses of IndexSearcher in org.apache.lucene.search.knn
Constructors in org.apache.lucene.search.knn with parameters of type IndexSearcher -
Uses of IndexSearcher in org.apache.lucene.search.matchhighlight
Fields in org.apache.lucene.search.matchhighlight declared as IndexSearcherConstructors in org.apache.lucene.search.matchhighlight with parameters of type IndexSearcherModifierConstructorDescriptionMatchHighlighter(IndexSearcher searcher, Analyzer analyzer) MatchHighlighter(IndexSearcher searcher, Analyzer analyzer, OffsetsRetrievalStrategySupplier offsetsRetrievalStrategies) MatchRegionRetriever(IndexSearcher searcher, Query query, Analyzer analyzer) A constructor with the default offset strategy supplier.MatchRegionRetriever(IndexSearcher searcher, Query query, OffsetsRetrievalStrategySupplier fieldOffsetStrategySupplier) -
Uses of IndexSearcher in org.apache.lucene.search.spell
Fields in org.apache.lucene.search.spell declared as IndexSearcherMethods in org.apache.lucene.search.spell that return IndexSearcherModifier and TypeMethodDescription(package private) IndexSearcherSpellChecker.createSearcher(Directory dir) Creates a new read-only IndexSearcherprivate IndexSearcherSpellChecker.obtainSearcher()Methods in org.apache.lucene.search.spell with parameters of type IndexSearcherModifier and TypeMethodDescriptionprivate voidSpellChecker.releaseSearcher(IndexSearcher aSearcher) -
Uses of IndexSearcher in org.apache.lucene.search.suggest.analyzing
Methods in org.apache.lucene.search.suggest.analyzing with parameters of type IndexSearcherModifier and TypeMethodDescriptionprotected List<Lookup.LookupResult> AnalyzingInfixSuggester.createResults(IndexSearcher searcher, TopFieldDocs hits, int num, CharSequence charSequence, boolean doHighlight, Set<String> matchedTokens, String prefixToken) Create the results based on the search hits.protected List<Lookup.LookupResult> BlendedInfixSuggester.createResults(IndexSearcher searcher, TopFieldDocs hits, int num, CharSequence key, boolean doHighlight, Set<String> matchedTokens, String prefixToken) -
Uses of IndexSearcher in org.apache.lucene.search.suggest.document
Subclasses of IndexSearcher in org.apache.lucene.search.suggest.documentModifier and TypeClassDescriptionclassAdds document suggest capabilities to IndexSearcher.Methods in org.apache.lucene.search.suggest.document with parameters of type IndexSearcherModifier and TypeMethodDescriptionContextQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) FuzzyCompletionQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) PrefixCompletionQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) RegexCompletionQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) CompletionQuery.rewrite(IndexSearcher indexSearcher) -
Uses of IndexSearcher in org.apache.lucene.search.uhighlight
Fields in org.apache.lucene.search.uhighlight declared as IndexSearcherModifier and TypeFieldDescriptionprivate final IndexSearcherUnifiedHighlighter.Builder.searcherIf null, can only use highlightWithoutSearcher.protected final IndexSearcherUnifiedHighlighter.searcherMethods in org.apache.lucene.search.uhighlight that return IndexSearcherModifier and TypeMethodDescriptionUnifiedHighlighter.Builder.getIndexSearcher()...UnifiedHighlighter.getIndexSearcher()...Methods in org.apache.lucene.search.uhighlight with parameters of type IndexSearcherModifier and TypeMethodDescriptionstatic UnifiedHighlighter.BuilderUnifiedHighlighter.builder(IndexSearcher searcher, Analyzer indexAnalyzer) Constructors in org.apache.lucene.search.uhighlight with parameters of type IndexSearcherModifierConstructorDescriptionBuilder(IndexSearcher searcher, Analyzer indexAnalyzer) Constructor for UH builder which acceptsIndexSearcherandAnalyzerobjects.UnifiedHighlighter(IndexSearcher indexSearcher, Analyzer indexAnalyzer) Deprecated. -
Uses of IndexSearcher in org.apache.lucene.search.vectorhighlight
Methods in org.apache.lucene.search.vectorhighlight with parameters of type IndexSearcherModifier and TypeMethodDescriptionprotected voidFieldQuery.flatten(Query sourceQuery, IndexSearcher searcher, Collection<Query> flatQueries, float boost) (package private) voidFieldQuery.saveTerms(Collection<Query> flatQueries, IndexSearcher searcher) -
Uses of IndexSearcher in org.apache.lucene.spatial3d
Methods in org.apache.lucene.spatial3d with parameters of type IndexSearcherModifier and TypeMethodDescriptionPointInGeo3DShapeQuery.createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)