Uses of Class
org.apache.lucene.search.IndexSearcher
Packages that use IndexSearcher
Package
Description
Code to search indices.
The payloads package provides Query mechanisms for finding and using payloads.
The calculus of spans.
-
Uses of IndexSearcher in org.apache.lucene.search
Methods 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) Expert: creates a searcher from the providedIndexReaderusing the providedSearcherFactory.SearcherFactory.newSearcher(IndexReader reader) 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 TypeMethodDescriptionBooleanQuery.createWeight(IndexSearcher searcher) ConstantScoreQuery.createWeight(IndexSearcher searcher) DisjunctionMaxQuery.createWeight(IndexSearcher searcher) Create the Weight used to score usFilteredQuery.createWeight(IndexSearcher searcher) Returns a Weight that applies the filter to the enclosed query's Weight.MatchAllDocsQuery.createWeight(IndexSearcher searcher) MultiPhraseQuery.createWeight(IndexSearcher searcher) PhraseQuery.createWeight(IndexSearcher searcher) Query.createWeight(IndexSearcher searcher) Expert: Constructs an appropriate Weight implementation for this query.TermQuery.createWeight(IndexSearcher searcher) 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.protected intSearcherManager.getRefCount(IndexSearcher reference) 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).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.protected booleanSearcherManager.tryIncRef(IndexSearcher reference) Constructors in org.apache.lucene.search with parameters of type IndexSearcherModifierConstructorDescriptionBooleanWeight(IndexSearcher searcher, boolean disableCoord) ConstantWeight(IndexSearcher searcher) DisjunctionMaxWeight(IndexSearcher searcher) Construct the Weight for this Query searched by searcher. -
Uses of IndexSearcher in org.apache.lucene.search.payloads
Methods in org.apache.lucene.search.payloads with parameters of type IndexSearcherModifier and TypeMethodDescriptionPayloadNearQuery.createWeight(IndexSearcher searcher) PayloadTermQuery.createWeight(IndexSearcher searcher) Constructors in org.apache.lucene.search.payloads with parameters of type IndexSearcherModifierConstructorDescriptionPayloadNearSpanWeight(SpanQuery query, IndexSearcher searcher) PayloadTermWeight(PayloadTermQuery query, IndexSearcher searcher) -
Uses of IndexSearcher in org.apache.lucene.search.spans
Methods in org.apache.lucene.search.spans with parameters of type IndexSearcherModifier and TypeMethodDescriptionFieldMaskingSpanQuery.createWeight(IndexSearcher searcher) SpanQuery.createWeight(IndexSearcher searcher) Constructors in org.apache.lucene.search.spans with parameters of type IndexSearcher