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 IndexSearcher
PerfRunData. 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 IndexSearcher
QualityBenchmark. searcher
Index 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 String
DocNameExtractor. docName(IndexSearcher searcher, int docid)
Extract the name of the input doc from the index.void
SubmissionReport. 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 void
SearchFiles. 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 IndexSearcher
ThreadedIndexingAndSearchingTestCase. getCurrentSearcher()
protected abstract IndexSearcher
ThreadedIndexingAndSearchingTestCase. getFinalSearcher()
Methods in org.apache.lucene.index with parameters of type IndexSearcher Modifier and Type Method Description protected void
ThreadedIndexingAndSearchingTestCase. releaseSearcher(IndexSearcher s)
protected void
ThreadedIndexingAndSearchingTestCase. 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 IndexSearcher
MemoryIndex. 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 class
AssertingIndexSearcher
Helper class that adds some extra checks to ensure correct usage ofIndexSearcher
andWeight
.static class
CheckHits.ExplanationAssertingSearcher
an 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 IndexSearcher
SearchEquivalenceTestBase. s1
protected static IndexSearcher
SearchEquivalenceTestBase. s2
protected IndexSearcher[]
IndexSearcher. subSearchers
Methods in org.apache.lucene.search that return IndexSearcher Modifier and Type Method Description IndexSearcher
SearcherLifetimeManager. acquire(long version)
Retrieve a previously recordedIndexSearcher
, if it has not yet been closedIndexSearcher
SearcherFactory. newSearcher(IndexReader reader)
Returns a new IndexSearcher over the given reader.protected IndexSearcher
NRTManager. refreshIfNeeded(IndexSearcher referenceToRefresh)
protected IndexSearcher
SearcherManager. refreshIfNeeded(IndexSearcher referenceToRefresh)
static IndexSearcher
QueryUtils. 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 void
QueryUtils. checkSkipTo(Query q, IndexSearcher s)
alternate scorer skipTo(),skipTo(),next(),next(),skipTo(),skipTo(), etc and ensure a hitcollector receives same docs and scoresprotected void
NRTManager. decRef(IndexSearcher reference)
protected void
SearcherManager. decRef(IndexSearcher reference)
boolean
SearcherLifetimeManager.PruneByAge. doPrune(double ageSec, IndexSearcher searcher)
boolean
SearcherLifetimeManager.Pruner. doPrune(double ageSec, IndexSearcher searcher)
Return true if this searcher should be removed.long
SearcherLifetimeManager. record(IndexSearcher searcher)
Records that you are now using this IndexSearcher.protected IndexSearcher
NRTManager. refreshIfNeeded(IndexSearcher referenceToRefresh)
protected IndexSearcher
SearcherManager. refreshIfNeeded(IndexSearcher referenceToRefresh)
void
SearcherLifetimeManager. release(IndexSearcher s)
Release a searcher previously obtained fromSearcherLifetimeManager.acquire(long)
.protected boolean
NRTManager. tryIncRef(IndexSearcher reference)
protected boolean
SearcherManager. tryIncRef(IndexSearcher reference)
static IndexSearcher
QueryUtils. 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 Query
JoinUtil. 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 IndexSearcher
LuceneTestCase. newSearcher(IndexReader r)
create a new searcher over the reader.static IndexSearcher
LuceneTestCase. newSearcher(IndexReader r, boolean maybeWrap)
create a new searcher over the reader.
-