Uses of Class
org.apache.lucene.search.IndexSearcher
-
-
Uses of IndexSearcher in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type IndexSearcher Modifier and Type Method Description WeightLatLonDocValuesPointInPolygonQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of IndexSearcher in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory that return IndexSearcher Modifier and Type Method Description IndexSearcherMemoryIndex. 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.queries
Methods in org.apache.lucene.queries with parameters of type IndexSearcher Modifier and Type Method Description WeightBinaryDocValuesRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightMinDocQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightSearchAfterSortedDocQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)SpanWeightSpanMatchNoDocsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of IndexSearcher in org.apache.lucene.queries.function
Methods in org.apache.lucene.queries.function with parameters of type IndexSearcher Modifier and Type Method Description WeightFunctionScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of IndexSearcher in org.apache.lucene.queries.intervals
Methods in org.apache.lucene.queries.intervals with parameters of type IndexSearcher Modifier and Type Method Description WeightIntervalQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of IndexSearcher in org.apache.lucene.search
Methods in org.apache.lucene.search that return IndexSearcher Modifier and Type Method Description static IndexSearcherSearcherManager. getSearcher(SearcherFactory searcherFactory, IndexReader reader, IndexReader previousReader)Expert: creates a searcher from the providedIndexReaderusing the providedSearcherFactory.IndexSearcherSearcherFactory. 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 IndexSearcher Modifier and Type Method Description WeightBooleanQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightBoostQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightConstantScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightCoveringQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightDisjunctionMaxQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)Create the Weight used to score usWeightDocValuesFieldExistsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightIndexOrDocValuesQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightMatchAllDocsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightMatchNoDocsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightMultiPhraseQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightNormsFieldExistsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPhraseQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPointInSetQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPointRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)Expert: Constructs an appropriate Weight implementation for this query.WeightSynonymQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightTermInSetQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightTermQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)protected voidSearcherManager. decRef(IndexSearcher reference)ExplanationQueryRescorer. 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.protected intSearcherManager. getRefCount(IndexSearcher reference)static voidTopFieldCollector. populateScores(ScoreDoc[] topDocs, IndexSearcher searcher, Query query)Populatescoresof the giventopDocs.protected IndexSearcherSearcherManager. refreshIfNeeded(IndexSearcher referenceToRefresh)TopDocsQueryRescorer. 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.abstract DoubleValuesSourceDoubleValuesSource. rewrite(IndexSearcher reader)Return a DoubleValuesSource specialised for the given IndexSearcher Implementations should assume that this will only be called once.abstract LongValuesSourceLongValuesSource. rewrite(IndexSearcher searcher)Return a LongValuesSource specialised for the given IndexSearcher Implementations should assume that this will only be called once.SortSort. rewrite(IndexSearcher searcher)Rewrites the SortFields in this Sort, returning a new Sort if any of the fields changes during their rewriting.SortFieldSortField. rewrite(IndexSearcher searcher)Rewrites this SortField, returning a new SortField if a change is made.protected booleanSearcherManager. tryIncRef(IndexSearcher reference)Constructors in org.apache.lucene.search with parameters of type IndexSearcher Constructor Description DisjunctionMaxWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)Construct the Weight for this Query searched by searcher. -
Uses of IndexSearcher in org.apache.lucene.search.join
Methods in org.apache.lucene.search.join with parameters of type IndexSearcher Modifier and Type Method Description WeightParentChildrenBlockJoinQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightToChildBlockJoinQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightToParentBlockJoinQuery. createWeight(IndexSearcher searcher, ScoreMode weightScoreMode, float boost) -
Uses of IndexSearcher in org.apache.lucene.search.spans
Methods in org.apache.lucene.search.spans with parameters of type IndexSearcher Modifier and Type Method Description SpanWeightFieldMaskingSpanQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)SpanWeightSpanBoostQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)SpanWeightSpanContainingQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)SpanWeightSpanMultiTermQueryWrapper. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)SpanWeightSpanNearQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)SpanWeightSpanNotQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)SpanWeightSpanOrQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)SpanWeightSpanPositionCheckQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)abstract SpanWeightSpanQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)SpanWeightSpanTermQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)SpanWeightSpanWithinQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)Constructors in org.apache.lucene.search.spans with parameters of type IndexSearcher Constructor Description SpanContainingWeight(IndexSearcher searcher, Map<Term,TermStates> terms, SpanWeight bigWeight, SpanWeight littleWeight, 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.search.suggest.document
Methods in org.apache.lucene.search.suggest.document with parameters of type IndexSearcher Modifier and Type Method Description WeightContextQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightFuzzyCompletionQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPrefixCompletionQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightRegexCompletionQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of IndexSearcher in org.apache.lucene.search.uhighlight
Fields in org.apache.lucene.search.uhighlight declared as IndexSearcher Modifier and Type Field Description protected IndexSearcherUnifiedHighlighter. searcherMethods in org.apache.lucene.search.uhighlight that return IndexSearcher Modifier and Type Method Description IndexSearcherUnifiedHighlighter. getIndexSearcher()...Constructors in org.apache.lucene.search.uhighlight with parameters of type IndexSearcher Constructor Description CustomUnifiedHighlighter(IndexSearcher searcher, Analyzer analyzer, UnifiedHighlighter.OffsetSource offsetSource, PassageFormatter passageFormatter, Locale breakIteratorLocale, BreakIterator breakIterator, String fieldValue, int noMatchSize)Creates a new instance ofCustomUnifiedHighlighterUnifiedHighlighter(IndexSearcher indexSearcher, Analyzer indexAnalyzer)Constructs the highlighter with the given index searcher and analyzer. -
Uses of IndexSearcher in org.apache.lucene.spatial.prefix
Methods in org.apache.lucene.spatial.prefix with parameters of type IndexSearcher Modifier and Type Method Description WeightAbstractPrefixTreeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of IndexSearcher in org.apache.lucene.spatial.util
Methods in org.apache.lucene.spatial.util with parameters of type IndexSearcher Modifier and Type Method Description DoubleValuesSourceReciprocalDoubleValuesSource. rewrite(IndexSearcher searcher)DoubleValuesSourceShapeFieldCacheDistanceValueSource. rewrite(IndexSearcher searcher) -
Uses of IndexSearcher in org.elasticsearch.common.lucene
Methods in org.elasticsearch.common.lucene with parameters of type IndexSearcher Modifier and Type Method Description static booleanLucene. exists(IndexSearcher searcher, Query query)Check whether there is one or more documents matching the provided query. -
Uses of IndexSearcher in org.elasticsearch.common.lucene.search.function
Methods in org.elasticsearch.common.lucene.search.function with parameters of type IndexSearcher Modifier and Type Method Description WeightFunctionScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightScriptScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of IndexSearcher in org.elasticsearch.index
Methods in org.elasticsearch.index with parameters of type IndexSearcher Modifier and Type Method Description QueryShardContextIndexService. newQueryShardContext(int shardId, IndexSearcher searcher, LongSupplier nowInMillis, String clusterAlias)Creates a new QueryShardContext. -
Uses of IndexSearcher in org.elasticsearch.index.engine
Subclasses of IndexSearcher in org.elasticsearch.index.engine Modifier and Type Class Description static classEngine.Searcher -
Uses of IndexSearcher in org.elasticsearch.index.fielddata
Constructors in org.elasticsearch.index.fielddata with parameters of type IndexSearcher Constructor Description Nested(BitSetProducer rootFilter, Query innerQuery, NestedSortBuilder nestedSort, IndexSearcher searcher) -
Uses of IndexSearcher in org.elasticsearch.index.query
Methods in org.elasticsearch.index.query that return IndexSearcher Modifier and Type Method Description IndexSearcherQueryShardContext. searcher()Return the currentIndexSearcher, ornullif no index reader is available, for instance if this rewrite context is used to index queries (percolation).Constructors in org.elasticsearch.index.query with parameters of type IndexSearcher Constructor Description QueryShardContext(int shardId, IndexSettings indexSettings, BigArrays bigArrays, BitsetFilterCache bitsetFilterCache, BiFunction<MappedFieldType,String,IndexFieldData<?>> indexFieldDataLookup, MapperService mapperService, SimilarityService similarityService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, NamedWriteableRegistry namedWriteableRegistry, Client client, IndexSearcher searcher, LongSupplier nowInMillis, String clusterAlias, Predicate<String> indexNameMatcher) -
Uses of IndexSearcher in org.elasticsearch.index.search
Methods in org.elasticsearch.index.search with parameters of type IndexSearcher Modifier and Type Method Description WeightESToParentBlockJoinQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of IndexSearcher in org.elasticsearch.search.aggregations.support
Methods in org.elasticsearch.search.aggregations.support with parameters of type IndexSearcher Modifier and Type Method Description longValuesSource.Bytes.WithOrdinals. globalMaxOrd(IndexSearcher indexSearcher) -
Uses of IndexSearcher in org.elasticsearch.search.fetch
Methods in org.elasticsearch.search.fetch with parameters of type IndexSearcher Modifier and Type Method Description voidFetchSubPhase.HitContext. reset(SearchHit hit, LeafReaderContext context, int docId, IndexSearcher searcher) -
Uses of IndexSearcher in org.elasticsearch.search.internal
Subclasses of IndexSearcher in org.elasticsearch.search.internal Modifier and Type Class Description classContextIndexSearcherContext-aware extension ofIndexSearcher. -
Uses of IndexSearcher in org.elasticsearch.search.rescore
Methods in org.elasticsearch.search.rescore with parameters of type IndexSearcher Modifier and Type Method Description ExplanationQueryRescorer. explain(int topLevelDocId, IndexSearcher searcher, RescoreContext rescoreContext, Explanation sourceExplanation)ExplanationRescorer. explain(int topLevelDocId, IndexSearcher searcher, RescoreContext rescoreContext, Explanation sourceExplanation)Executes anExplanationphase on the rescorer.TopDocsQueryRescorer. rescore(TopDocs topDocs, IndexSearcher searcher, RescoreContext rescoreContext)TopDocsRescorer. rescore(TopDocs topDocs, IndexSearcher searcher, RescoreContext rescoreContext)Modifies the result of the previously executed search (TopDocs) in place based on the givenRescoreContext. -
Uses of IndexSearcher in org.elasticsearch.search.slice
Methods in org.elasticsearch.search.slice with parameters of type IndexSearcher Modifier and Type Method Description WeightDocValuesSliceQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightTermsSliceQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of IndexSearcher in org.elasticsearch.search.suggest
Methods in org.elasticsearch.search.suggest with parameters of type IndexSearcher Modifier and Type Method Description Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>>Suggester. execute(String name, T suggestion, IndexSearcher searcher, CharsRefBuilder spare)protected abstract Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>>Suggester. innerExecute(String name, T suggestion, IndexSearcher searcher, CharsRefBuilder spare) -
Uses of IndexSearcher in org.elasticsearch.search.suggest.completion
Methods in org.elasticsearch.search.suggest.completion with parameters of type IndexSearcher Modifier and Type Method Description protected Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>>CompletionSuggester. innerExecute(String name, CompletionSuggestionContext suggestionContext, IndexSearcher searcher, CharsRefBuilder spare) -
Uses of IndexSearcher in org.elasticsearch.search.suggest.phrase
Methods in org.elasticsearch.search.suggest.phrase with parameters of type IndexSearcher Modifier and Type Method Description Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>>PhraseSuggester. innerExecute(String name, org.elasticsearch.search.suggest.phrase.PhraseSuggestionContext suggestion, IndexSearcher searcher, CharsRefBuilder spare) -
Uses of IndexSearcher in org.elasticsearch.search.suggest.term
Methods in org.elasticsearch.search.suggest.term with parameters of type IndexSearcher Modifier and Type Method Description TermSuggestionTermSuggester. innerExecute(String name, org.elasticsearch.search.suggest.term.TermSuggestionContext suggestion, IndexSearcher searcher, CharsRefBuilder spare)
-