Uses of Class
org.apache.lucene.search.IndexSearcher
-
Packages that use IndexSearcher Package Description org.apache.lucene.benchmark.byTask Benchmarking Lucene By Tasks.org.apache.lucene.benchmark.quality Search Quality Benchmarking.org.apache.lucene.benchmark.quality.utils Miscellaneous utilities for search quality benchmarking: query parsing, submission reports.org.apache.lucene.demo Demo applications for indexing and searching.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.index.memory High-performance single-document main memory Apache Lucene fulltext search index.org.apache.lucene.search Code to search indices.org.apache.lucene.search.join This modules support index-time and query-time joins.org.apache.lucene.util Some utility classes. -
-
Uses of IndexSearcher in org.apache.lucene.benchmark.byTask
Methods in org.apache.lucene.benchmark.byTask that return IndexSearcher Modifier and Type Method Description IndexSearcherPerfRunData. getIndexSearcher() -
Uses of IndexSearcher in org.apache.lucene.benchmark.quality
Fields in org.apache.lucene.benchmark.quality declared as IndexSearcher Modifier and Type Field Description protected IndexSearcherQualityBenchmark. searcherIndex to be searched.Constructors in org.apache.lucene.benchmark.quality with parameters of type IndexSearcher Constructor Description QualityBenchmark(QualityQuery[] qqs, QualityQueryParser qqParser, IndexSearcher searcher, String docNameField)Create a QualityBenchmark. -
Uses of IndexSearcher in org.apache.lucene.benchmark.quality.utils
Methods in org.apache.lucene.benchmark.quality.utils with parameters of type IndexSearcher Modifier and Type Method Description StringDocNameExtractor. docName(IndexSearcher searcher, int docid)Extract the name of the input doc from the index.voidSubmissionReport. report(QualityQuery qq, TopDocs td, String docNameField, IndexSearcher searcher)Report a search result for a certain quality query. -
Uses of IndexSearcher in org.apache.lucene.demo
Methods in org.apache.lucene.demo with parameters of type IndexSearcher Modifier and Type Method Description static voidSearchFiles. doPagingSearch(BufferedReader in, IndexSearcher searcher, Query query, int hitsPerPage, boolean raw, boolean interactive)This demonstrates a typical paging search scenario, where the search engine presents pages of size n to the user. -
Uses of IndexSearcher in org.apache.lucene.index
Methods in org.apache.lucene.index that return IndexSearcher Modifier and Type Method Description protected abstract IndexSearcherThreadedIndexingAndSearchingTestCase. getCurrentSearcher()protected abstract IndexSearcherThreadedIndexingAndSearchingTestCase. getFinalSearcher()Methods in org.apache.lucene.index with parameters of type IndexSearcher Modifier and Type Method Description protected voidThreadedIndexingAndSearchingTestCase. releaseSearcher(IndexSearcher s)protected voidThreadedIndexingAndSearchingTestCase. smokeTestSearcher(IndexSearcher s) -
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.search
Subclasses of IndexSearcher in org.apache.lucene.search Modifier and Type Class Description classAssertingIndexSearcherHelper class that adds some extra checks to ensure correct usage ofIndexSearcherandWeight.static classCheckHits.ExplanationAssertingSearcheran IndexSearcher that implicitly checks hte explanation of every match whenever it executes a search.Fields in org.apache.lucene.search declared as IndexSearcher Modifier and Type Field Description protected static IndexSearcherSearchEquivalenceTestBase. s1protected static IndexSearcherSearchEquivalenceTestBase. s2protected IndexSearcher[]IndexSearcher. subSearchersMethods 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 closedIndexSearcherSearcherFactory. newSearcher(IndexReader reader)Returns a new IndexSearcher over the given reader.protected IndexSearcherNRTManager. refreshIfNeeded(IndexSearcher referenceToRefresh)protected IndexSearcherSearcherManager. refreshIfNeeded(IndexSearcher referenceToRefresh)static IndexSearcherQueryUtils. wrapUnderlyingReader(Random random, IndexSearcher s, int edge)Given an IndexSearcher, returns a new IndexSearcher whose IndexReader is a MultiReader containing the Reader of the original IndexSearcher, as well as several "empty" IndexReaders -- some of which will have deleted documents in them.Methods in org.apache.lucene.search with parameters of type IndexSearcher Modifier and Type Method Description static voidQueryUtils. checkSkipTo(Query q, IndexSearcher s)alternate scorer skipTo(),skipTo(),next(),next(),skipTo(),skipTo(), etc and ensure a hitcollector receives same docs and scoresprotected voidNRTManager. decRef(IndexSearcher reference)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.longSearcherLifetimeManager. record(IndexSearcher searcher)Records that you are now using this IndexSearcher.protected IndexSearcherNRTManager. refreshIfNeeded(IndexSearcher referenceToRefresh)protected IndexSearcherSearcherManager. refreshIfNeeded(IndexSearcher referenceToRefresh)voidSearcherLifetimeManager. release(IndexSearcher s)Release a searcher previously obtained fromSearcherLifetimeManager.acquire(long).protected booleanNRTManager. tryIncRef(IndexSearcher reference)protected booleanSearcherManager. tryIncRef(IndexSearcher reference)static IndexSearcherQueryUtils. wrapUnderlyingReader(Random random, IndexSearcher s, int edge)Given an IndexSearcher, returns a new IndexSearcher whose IndexReader is a MultiReader containing the Reader of the original IndexSearcher, as well as several "empty" IndexReaders -- some of which will have deleted documents in them. -
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 static QueryJoinUtil. createJoinQuery(String fromField, String toField, Query fromQuery, IndexSearcher fromSearcher)Method for query time joining. -
Uses of IndexSearcher in org.apache.lucene.util
Methods in org.apache.lucene.util that return IndexSearcher Modifier and Type Method Description static IndexSearcherLuceneTestCase. newSearcher(IndexReader r)create a new searcher over the reader.static IndexSearcherLuceneTestCase. newSearcher(IndexReader r, boolean maybeWrap)create a new searcher over the reader.
-