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.
|
Modifier and Type | Method | Description |
---|---|---|
IndexSearcher |
PerfRunData.getIndexSearcher() |
Modifier and Type | Field | Description |
---|---|---|
protected IndexSearcher |
QualityBenchmark.searcher |
Index to be searched.
|
Constructor | Description |
---|---|
QualityBenchmark(QualityQuery[] qqs,
QualityQueryParser qqParser,
IndexSearcher searcher,
String docNameField) |
Create a QualityBenchmark.
|
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.
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract IndexSearcher |
ThreadedIndexingAndSearchingTestCase.getCurrentSearcher() |
|
protected abstract IndexSearcher |
ThreadedIndexingAndSearchingTestCase.getFinalSearcher() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
ThreadedIndexingAndSearchingTestCase.releaseSearcher(IndexSearcher s) |
|
protected void |
ThreadedIndexingAndSearchingTestCase.smokeTestSearcher(IndexSearcher s) |
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.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AssertingIndexSearcher |
Helper class that adds some extra checks to ensure correct
usage of
IndexSearcher and Weight . |
static class |
CheckHits.ExplanationAssertingSearcher |
an IndexSearcher that implicitly checks hte explanation of every match
whenever it executes a search.
|
Modifier and Type | Field | Description |
---|---|---|
protected static IndexSearcher |
SearchEquivalenceTestBase.s1 |
|
protected static IndexSearcher |
SearchEquivalenceTestBase.s2 |
|
protected IndexSearcher[] |
IndexSearcher.subSearchers |
Modifier and Type | Method | Description |
---|---|---|
IndexSearcher |
SearcherLifetimeManager.acquire(long version) |
Retrieve a previously recorded
IndexSearcher , if it
has not yet been closed |
IndexSearcher |
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.
|
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 scores
|
protected 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 from
SearcherLifetimeManager.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.
|
Modifier and Type | Method | Description |
---|---|---|
static Query |
JoinUtil.createJoinQuery(String fromField,
String toField,
Query fromQuery,
IndexSearcher fromSearcher) |
Method for query time joining.
|
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.
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.