Package | Description |
---|---|
org.apache.lucene.benchmark.quality.utils |
Miscellaneous utilities for search quality benchmarking: query parsing, submission reports.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
void |
SubmissionReport.report(QualityQuery qq,
TopDocs td,
String docNameField,
IndexSearcher searcher)
Report a search result for a certain quality query.
|
Modifier and Type | Class and Description |
---|---|
class |
TopFieldDocs
Represents hits returned by
Searcher.search(Query,Filter,int,Sort) . |
Modifier and Type | Field and Description |
---|---|
protected static TopDocs |
TopDocsCollector.EMPTY_TOPDOCS |
Modifier and Type | Method and Description |
---|---|
static TopDocs |
TopDocs.merge(Sort sort,
int topN,
TopDocs[] shardHits)
Returns a new TopDocs, containing topN results across
the provided TopDocs, sorting by the specified
Sort . |
protected TopDocs |
TopScoreDocCollector.newTopDocs(ScoreDoc[] results,
int start) |
protected TopDocs |
TopFieldCollector.newTopDocs(ScoreDoc[] results,
int start) |
protected TopDocs |
TopDocsCollector.newTopDocs(ScoreDoc[] results,
int start)
Returns a
TopDocs instance containing the given results. |
TopDocs |
CheckHits.ExplanationAssertingSearcher.search(Query query,
Filter filter,
int n) |
TopDocs |
Searcher.search(Query query,
Filter filter,
int n)
Deprecated.
Finds the top
n
hits for query , applying filter if non-null. |
TopDocs |
IndexSearcher.search(Query query,
Filter filter,
int n)
Finds the top
n
hits for query , applying filter if non-null. |
TopDocs |
Searcher.search(Query query,
int n)
Deprecated.
Finds the top
n
hits for query . |
TopDocs |
IndexSearcher.search(Query query,
int n)
Finds the top
n
hits for query . |
TopDocs |
RemoteSearchable.search(Weight weight,
Filter filter,
int n)
Deprecated.
|
abstract TopDocs |
Searcher.search(Weight weight,
Filter filter,
int n)
Deprecated.
|
TopDocs |
Searchable.search(Weight weight,
Filter filter,
int n)
Deprecated.
Expert: Low-level search implementation.
|
TopDocs |
ParallelMultiSearcher.search(Weight weight,
Filter filter,
int nDocs)
Deprecated.
A search implementation which executes each
Searchable in its own thread and waits for each search to complete and merge
the results back together. |
TopDocs |
MultiSearcher.search(Weight weight,
Filter filter,
int nDocs)
Deprecated.
|
TopDocs |
IndexSearcher.search(Weight weight,
Filter filter,
int nDocs)
Expert: Low-level search implementation.
|
protected TopDocs |
IndexSearcher.search(Weight weight,
Filter filter,
ScoreDoc after,
int nDocs)
Expert: Low-level search implementation.
|
TopDocs |
IndexSearcher.searchAfter(ScoreDoc after,
Query query,
Filter filter,
int n)
Finds the top
n
hits for query , applying filter if non-null,
where all results are after a previous result (after ). |
TopDocs |
IndexSearcher.searchAfter(ScoreDoc after,
Query query,
int n)
Finds the top
n
hits for query where all results are after a previous
result (after ). |
TopDocs |
TopDocsCollector.topDocs()
Returns the top docs that were collected by this collector.
|
TopDocs |
TopDocsCollector.topDocs(int start)
Returns the documents in the rage [start .. pq.size()) that were collected
by this collector.
|
TopDocs |
TopDocsCollector.topDocs(int start,
int howMany)
Returns the documents in the rage [start .. start+howMany) that were
collected by this collector.
|
Modifier and Type | Method and Description |
---|---|
static TopDocs |
TopDocs.merge(Sort sort,
int topN,
TopDocs[] shardHits)
Returns a new TopDocs, containing topN results across
the provided TopDocs, sorting by the specified
Sort . |
static String |
CheckHits.topdocsString(TopDocs docs,
int start,
int end) |
Modifier and Type | Method and Description |
---|---|
static void |
_TestUtil.assertEquals(TopDocs expected,
TopDocs actual) |