Uses of Class
org.apache.lucene.search.IndexSearcher
-
Packages that use IndexSearcher Package Description org.apache.lucene.classification Uses already seen data (the indexed documents) to classify an input ( can be simple text or a structured document).org.apache.lucene.document The logical representation of aDocumentfor indexing and searching.org.apache.lucene.expressions Expressions.org.apache.lucene.index.memory High-performance single-document main memory Apache Lucene fulltext search index.org.apache.lucene.monitor Monitoring frameworkorg.apache.lucene.queries.function Queries that compute score based upon a function.org.apache.lucene.queries.function.valuesource A variety of functions to use with FunctionQuery.org.apache.lucene.queries.intervals Intervals queriesorg.apache.lucene.queries.payloads The payloads package provides Query mechanisms for finding and using payloads.org.apache.lucene.search Code to search indices.org.apache.lucene.search.grouping Grouping.org.apache.lucene.search.highlight Highlighting search terms.org.apache.lucene.search.join Support for index-time and query-time joins.org.apache.lucene.search.spans The calculus of spans.org.apache.lucene.search.spell Suggest alternate spellings for words.org.apache.lucene.search.suggest.analyzing Analyzer based autosuggest.org.apache.lucene.search.suggest.document Support for document suggestionorg.apache.lucene.search.uhighlight The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis. -
-
Uses of IndexSearcher in org.apache.lucene.classification
Fields in org.apache.lucene.classification declared as IndexSearcher Modifier and Type Field Description private IndexSearcherBM25NBClassifier. indexSearcherIndexSearcherto run searches on the index for retrieving frequenciesprivate IndexSearcherKNearestFuzzyClassifier. indexSearcheranIndexSearcherused to perform queriesprotected IndexSearcherKNearestNeighborClassifier. indexSearcheranIndexSearcherused to perform queriesprotected IndexSearcherSimpleNaiveBayesClassifier. indexSearcherIndexSearcherto run searches on the index for retrieving frequencies -
Uses of IndexSearcher in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type IndexSearcher Modifier and Type Method Description WeightBinaryRangeFieldRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightFeatureQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightLatLonDocValuesBoxQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightLatLonDocValuesQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightLatLonPointDistanceFeatureQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightLatLonPointDistanceQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightLongDistanceFeatureQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightRangeFieldQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightSortedNumericDocValuesRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightSortedSetDocValuesRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightSpatialQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightXYDocValuesPointInGeometryQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightXYPointInGeometryQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)static TopFieldDocsFloatPointNearestNeighbor. nearest(IndexSearcher searcher, java.lang.String field, int topN, float... origin)DoubleValuesSourceFeatureDoubleValuesSource. rewrite(IndexSearcher reader) -
Uses of IndexSearcher in org.apache.lucene.expressions
Methods in org.apache.lucene.expressions with parameters of type IndexSearcher Modifier and Type Method Description ExplanationExpressionRescorer. explain(IndexSearcher searcher, Explanation firstPassExplanation, int docID)DoubleValuesSourceExpressionValueSource. rewrite(IndexSearcher searcher) -
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.monitor
Fields in org.apache.lucene.monitor declared as IndexSearcher Modifier and Type Field Description protected IndexSearcherCandidateMatcher. searcherThe searcher to run candidate queries againstMethods in org.apache.lucene.monitor that return IndexSearcher Modifier and Type Method Description IndexSearcherQueryIndex.TermsHashBuilder. newSearcher(IndexReader reader, IndexReader previousReader)Methods in org.apache.lucene.monitor with parameters of type IndexSearcher Modifier and Type Method Description CandidateMatcher<T>MatcherFactory. createMatcher(IndexSearcher searcher)Create a newCandidateMatcherobject, to select queries to match against the passed-in IndexSearcherParallelMatcher<T>ParallelMatcher.ParallelMatcherFactory. createMatcher(IndexSearcher searcher)PartitionMatcher<T>PartitionMatcher.PartitionMatcherFactory. createMatcher(IndexSearcher searcher)WeightForceNoBulkScoringQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)Constructors in org.apache.lucene.monitor with parameters of type IndexSearcher Constructor Description CandidateMatcher(IndexSearcher searcher)Creates a new CandidateMatcher for the supplied DocumentBatchCollectingMatcher(IndexSearcher searcher, ScoreMode scoreMode)ParallelMatcher(IndexSearcher searcher, java.util.concurrent.ExecutorService executor, MatcherFactory<T> matcherFactory, int threads)Create a new ParallelMatcherPartitionMatcher(IndexSearcher searcher, java.util.concurrent.ExecutorService executor, MatcherFactory<T> matcherFactory, int threads) -
Uses of IndexSearcher in org.apache.lucene.queries.function
Fields in org.apache.lucene.queries.function declared as IndexSearcher Modifier and Type Field Description protected IndexSearcherFunctionQuery.FunctionWeight. searcher(package private) IndexSearcherValueSource.WrappedDoubleValuesSource. searcherMethods in org.apache.lucene.queries.function with parameters of type IndexSearcher Modifier and Type Method Description WeightFunctionMatchQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightFunctionQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightFunctionRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightFunctionScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)voidValueSource. createWeight(java.util.Map context, IndexSearcher searcher)Implementations should propagate createWeight to sub-ValueSources which can optionally store weight info in the context.static java.util.MapValueSource. newContext(IndexSearcher searcher)Returns a new non-threadsafe context map.DoubleValuesSourceFunctionScoreQuery.MultiplicativeBoostValuesSource. rewrite(IndexSearcher reader)DoubleValuesSourceFunctionScoreQuery.QueryBoostValuesSource. rewrite(IndexSearcher reader)DoubleValuesSourceIndexReaderFunctions.IndexReaderDoubleValuesSource. rewrite(IndexSearcher searcher)DoubleValuesSourceIndexReaderFunctions.NoCacheConstantDoubleValuesSource. rewrite(IndexSearcher reader)LongValuesSourceIndexReaderFunctions.NoCacheConstantLongValuesSource. rewrite(IndexSearcher reader)LongValuesSourceIndexReaderFunctions.SumTotalTermFreqValuesSource. rewrite(IndexSearcher searcher)DoubleValuesSourceIndexReaderFunctions.TermFreqDoubleValuesSource. rewrite(IndexSearcher searcher)SortFieldValueSource.ValueSourceSortField. rewrite(IndexSearcher searcher)DoubleValuesSourceValueSource.WrappedDoubleValuesSource. rewrite(IndexSearcher searcher)LongValuesSourceValueSource.WrappedLongValuesSource. rewrite(IndexSearcher searcher)Constructors in org.apache.lucene.queries.function with parameters of type IndexSearcher Constructor Description FunctionRangeWeight(IndexSearcher searcher)FunctionWeight(IndexSearcher searcher, float boost)WrappedDoubleValuesSource(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 IndexSearcher Modifier and Type Method Description voidComparisonBoolFunction. createWeight(java.util.Map context, IndexSearcher searcher)voidDocFreqValueSource. createWeight(java.util.Map context, IndexSearcher searcher)voidDualFloatFunction. createWeight(java.util.Map context, IndexSearcher searcher)voidIfFunction. createWeight(java.util.Map context, IndexSearcher searcher)voidLinearFloatFunction. createWeight(java.util.Map context, IndexSearcher searcher)voidMaxDocValueSource. createWeight(java.util.Map context, IndexSearcher searcher)voidMultiBoolFunction. createWeight(java.util.Map context, IndexSearcher searcher)voidMultiFloatFunction. createWeight(java.util.Map context, IndexSearcher searcher)voidMultiFunction. createWeight(java.util.Map context, IndexSearcher searcher)voidNormValueSource. createWeight(java.util.Map context, IndexSearcher searcher)voidQueryValueSource. createWeight(java.util.Map context, IndexSearcher searcher)voidRangeMapFloatFunction. createWeight(java.util.Map context, IndexSearcher searcher)voidReciprocalFloatFunction. createWeight(java.util.Map context, IndexSearcher searcher)voidScaleFloatFunction. createWeight(java.util.Map context, IndexSearcher searcher)voidSimpleBoolFunction. createWeight(java.util.Map context, IndexSearcher searcher)voidSingleFunction. createWeight(java.util.Map context, IndexSearcher searcher)voidSumTotalTermFreqValueSource. createWeight(java.util.Map context, IndexSearcher searcher)voidTotalTermFreqValueSource. createWeight(java.util.Map context, IndexSearcher searcher)voidVectorValueSource. createWeight(java.util.Map context, IndexSearcher searcher) -
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.queries.payloads
Methods in org.apache.lucene.queries.payloads with parameters of type IndexSearcher Modifier and Type Method Description SpanWeightPayloadScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)SpanWeightSpanPayloadCheckQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)Constructors in org.apache.lucene.queries.payloads with parameters of type IndexSearcher Constructor Description PayloadSpanWeight(IndexSearcher searcher, SpanWeight innerWeight, float boost)SpanPayloadCheckWeight(IndexSearcher searcher, java.util.Map<Term,TermStates> termStates, SpanWeight matchWeight, float boost) -
Uses of IndexSearcher in org.apache.lucene.search
Fields in org.apache.lucene.search declared as IndexSearcher Modifier and Type Field Description private IndexSearcherBM25FQuery.BM25FWeight. searcherIndexSearcherSearcherLifetimeManager.SearcherTracker. searcherMethods in org.apache.lucene.search that return IndexSearcher Modifier and Type Method Description IndexSearcherSearcherLifetimeManager. 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.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 protected intPhraseWildcardQuery. collectMultiTermData(PhraseWildcardQuery.MultiTerm multiTerm, IndexSearcher searcher, java.util.List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData)Collects theTermStateandTermStatisticsfor a multi-term with expansion.protected voidPhraseWildcardQuery. collectMultiTermStats(IndexSearcher searcher, java.util.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, java.util.List<LeafReaderContext> segments, PhraseWildcardQuery.TermsData termsData)Collects theTermStateandTermStatisticsfor a single-term without expansion.protected intPhraseWildcardQuery.MultiTerm. collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, java.util.List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData)protected abstract intPhraseWildcardQuery.PhraseTerm. collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, java.util.List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData)CollectsTermStateandTermStatisticsfor the term (potentially expanded).protected intPhraseWildcardQuery.PhraseTerm. collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, java.util.List<LeafReaderContext> segments, PhraseWildcardQuery.TermsData termsData)CollectsTermStateandTermStatisticsfor the term without expansion.protected intPhraseWildcardQuery.SingleTerm. collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, java.util.List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData)protected intPhraseWildcardQuery.SingleTerm. collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, java.util.List<LeafReaderContext> segments, PhraseWildcardQuery.TermsData termsData)(package private) PhraseWeightPhraseWildcardQuery. createPhraseWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost, PhraseWildcardQuery.TermsData termsData)WeightBM25FQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)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)WeightDocValuesNumbersQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightDocValuesRewriteMethod.MultiTermQueryDocValuesWrapper. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightDocValuesTermsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightIndexOrDocValuesQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightIndexSortSortedNumericDocValuesRangeQuery. 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)WeightMultiRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightMultiTermQueryConstantScoreWrapper. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightNamedMatches.NamedQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightNormsFieldExistsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPhraseQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPhraseWildcardQuery. 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)WeightTermAutomatonQuery. 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)booleanSearcherLifetimeManager.PruneByAge. doPrune(double ageSec, IndexSearcher searcher)booleanSearcherLifetimeManager.Pruner. doPrune(double ageSec, IndexSearcher searcher)Return true if this searcher should be removed.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.ExplanationSortRescorer. explain(IndexSearcher searcher, Explanation firstPassExplanation, int docID)protected intSearcherManager. getRefCount(IndexSearcher reference)protected abstract Similarity.SimScorerPhraseWeight. getStats(IndexSearcher searcher)private CollectionStatisticsBM25FQuery.BM25FWeight. mergeCollectionStatistics(IndexSearcher searcher)static TopFieldDocsLatLonPointPrototypeQueries. nearest(IndexSearcher searcher, java.lang.String field, double latitude, double longitude, int n)Finds thennearest indexed points to the provided point, according to Haversine distance.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).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.TopDocsSortRescorer. rescore(IndexSearcher searcher, TopDocs firstPassTopDocs, int topN)DoubleValuesSourceDoubleValuesSource.ConstantValuesSource. rewrite(IndexSearcher searcher)SortFieldDoubleValuesSource.DoubleValuesSortField. rewrite(IndexSearcher searcher)DoubleValuesSourceDoubleValuesSource.FieldValuesSource. rewrite(IndexSearcher searcher)LongValuesSourceDoubleValuesSource.LongDoubleValuesSource. rewrite(IndexSearcher searcher)DoubleValuesSourceDoubleValuesSource.QueryDoubleValuesSource. rewrite(IndexSearcher searcher)abstract DoubleValuesSourceDoubleValuesSource. rewrite(IndexSearcher reader)Return a DoubleValuesSource specialised for the given IndexSearcher Implementations should assume that this will only be called once.DoubleValuesSourceDoubleValuesSource.WeightDoubleValuesSource. rewrite(IndexSearcher searcher)LongValuesSourceLongValuesSource.ConstantLongValuesSource. rewrite(IndexSearcher searcher)DoubleValuesSourceLongValuesSource.DoubleLongValuesSource. rewrite(IndexSearcher searcher)LongValuesSourceLongValuesSource.FieldValuesSource. rewrite(IndexSearcher searcher)SortFieldLongValuesSource.LongValuesSortField. rewrite(IndexSearcher searcher)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 BM25FWeight(Query query, IndexSearcher searcher, ScoreMode scoreMode, float boost)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.PhraseWeight(Query query, java.lang.String field, IndexSearcher searcher, ScoreMode scoreMode)SearcherTracker(IndexSearcher searcher)SynonymWeight(Query query, IndexSearcher searcher, ScoreMode scoreMode, float boost)TermAutomatonWeight(Automaton automaton, IndexSearcher searcher, java.util.Map<java.lang.Integer,TermStates> termStates, 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 IndexSearcher Modifier and Type Method Description protected 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 IndexSearcher Modifier and Type Field Description private static 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 IndexSearcher Modifier and Type Method Description private static QueryJoinUtil. createJoinQuery(boolean multipleValuesPerDocument, java.lang.String toField, Query fromQuery, java.lang.String fromField, IndexSearcher fromSearcher, ScoreMode scoreMode, GenericTermsCollector collector)static QueryJoinUtil. createJoinQuery(java.lang.String fromField, boolean multipleValuesPerDocument, java.lang.String toField, java.lang.Class<? extends java.lang.Number> numericType, Query fromQuery, IndexSearcher fromSearcher, ScoreMode scoreMode)Method for query time joining for numeric fields.static QueryJoinUtil. createJoinQuery(java.lang.String fromField, boolean multipleValuesPerDocument, java.lang.String toField, Query fromQuery, IndexSearcher fromSearcher, ScoreMode scoreMode)Method for query time joining.static QueryJoinUtil. createJoinQuery(java.lang.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(java.lang.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.WeightGlobalOrdinalsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightGlobalOrdinalsWithScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightParentChildrenBlockJoinQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPointInSetIncludingScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightTermsIncludingScoreQuery. 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 private Similarity.SimScorerSpanWeight. buildSimWeight(SpanQuery query, IndexSearcher searcher, java.util.Map<Term,TermStates> termStates, float boost)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)SpanWeightSpanNearQuery.SpanGapQuery. 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, java.util.Map<Term,TermStates> terms, SpanWeight bigWeight, SpanWeight littleWeight, float boost)SpanContainWeight(IndexSearcher searcher, java.util.Map<Term,TermStates> terms, SpanWeight bigWeight, SpanWeight littleWeight, float boost)SpanGapWeight(IndexSearcher searcher, float boost)SpanNearWeight(java.util.List<SpanWeight> subWeights, IndexSearcher searcher, java.util.Map<Term,TermStates> terms, float boost)SpanNotWeight(IndexSearcher searcher, java.util.Map<Term,TermStates> terms, SpanWeight includeWeight, SpanWeight excludeWeight, float boost)SpanOrWeight(IndexSearcher searcher, java.util.Map<Term,TermStates> terms, java.util.List<SpanWeight> subWeights, float boost)SpanPositionCheckWeight(SpanWeight matchWeight, IndexSearcher searcher, java.util.Map<Term,TermStates> terms, float boost)SpanTermWeight(TermStates termStates, IndexSearcher searcher, java.util.Map<Term,TermStates> terms, float boost)SpanWeight(SpanQuery query, IndexSearcher searcher, java.util.Map<Term,TermStates> termStates, float boost)Create a new SpanWeightSpanWithinWeight(IndexSearcher searcher, java.util.Map<Term,TermStates> terms, SpanWeight bigWeight, SpanWeight littleWeight, float boost) -
Uses of IndexSearcher in org.apache.lucene.search.spell
Fields in org.apache.lucene.search.spell declared as IndexSearcher Modifier and Type Field Description private IndexSearcherSpellChecker. searcherMethods in org.apache.lucene.search.spell that return IndexSearcher Modifier and Type Method Description (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 IndexSearcher Modifier and Type Method Description private 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 IndexSearcher Modifier and Type Method Description private doubleBlendedInfixSuggester. createCoefficient(IndexSearcher searcher, int doc, java.util.Set<java.lang.String> matchedTokens, java.lang.String prefixToken)Create the coefficient to transform the weight.protected java.util.List<Lookup.LookupResult>AnalyzingInfixSuggester. createResults(IndexSearcher searcher, TopFieldDocs hits, int num, java.lang.CharSequence charSequence, boolean doHighlight, java.util.Set<java.lang.String> matchedTokens, java.lang.String prefixToken)Create the results based on the search hits.protected java.util.List<Lookup.LookupResult>BlendedInfixSuggester. createResults(IndexSearcher searcher, TopFieldDocs hits, int num, java.lang.CharSequence key, boolean doHighlight, java.util.Set<java.lang.String> matchedTokens, java.lang.String prefixToken) -
Uses of IndexSearcher in org.apache.lucene.search.suggest.document
Subclasses of IndexSearcher in org.apache.lucene.search.suggest.document Modifier and Type Class Description classSuggestIndexSearcherAdds document suggest capabilities to IndexSearcher.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 (package private) static IndexSearcherUnifiedHighlighter. EMPTY_INDEXSEARCHERprotected 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 UnifiedHighlighter(IndexSearcher indexSearcher, Analyzer indexAnalyzer)Constructs the highlighter with the given index searcher and analyzer.
-