| Package | Description |
|---|---|
| org.apache.lucene.benchmark.byTask.tasks |
Extendable benchmark tasks.
|
| org.apache.lucene.search |
Code to search indices.
|
| Modifier and Type | Method and Description |
|---|---|
protected Sort |
ReadTask.getSort() |
Sort |
SearchWithSortTask.getSort() |
| Modifier and Type | Field and Description |
|---|---|
static Sort |
Sort.INDEXORDER
Represents sorting by index order.
|
static Sort |
Sort.RELEVANCE
Represents sorting by computed relevance.
|
| Modifier and Type | Method and Description |
|---|---|
static TopFieldCollector |
TopFieldCollector.create(Sort sort,
int numHits,
boolean fillFields,
boolean trackDocScores,
boolean trackMaxScore,
boolean docsScoredInOrder)
Creates a new
TopFieldCollector from the given
arguments. |
TopFieldDocs |
Searcher.search(Query query,
Filter filter,
int n,
Sort sort)
Search implementation with arbitrary sorting.
|
Hits |
Searcher.search(Query query,
Filter filter,
Sort sort)
Deprecated.
Hits will be removed in Lucene 3.0. Use
Searcher.search(Query, Filter, int, Sort) instead. |
Hits |
Searcher.search(Query query,
Sort sort)
Deprecated.
Hits will be removed in Lucene 3.0. Use
Searcher.search(Query, Filter, int, Sort) instead. |
TopFieldDocs |
RemoteSearchable.search(Weight weight,
Filter filter,
int n,
Sort sort) |
TopFieldDocs |
MultiSearcher.search(Weight weight,
Filter filter,
int n,
Sort sort) |
TopFieldDocs |
ParallelMultiSearcher.search(Weight weight,
Filter filter,
int nDocs,
Sort sort)
A search implementation allowing sorting which spans a new thread for each
Searchable, waits for each search to complete and merges
the results back together.
|
abstract TopFieldDocs |
Searcher.search(Weight weight,
Filter filter,
int n,
Sort sort) |
TopFieldDocs |
IndexSearcher.search(Weight weight,
Filter filter,
int nDocs,
Sort sort) |
TopFieldDocs |
Searchable.search(Weight weight,
Filter filter,
int n,
Sort sort)
Expert: Low-level search implementation with arbitrary sorting.
|
TopFieldDocs |
IndexSearcher.search(Weight weight,
Filter filter,
int nDocs,
Sort sort,
boolean fillFields)
Just like
IndexSearcher.search(Weight, Filter, int, Sort), but you choose
whether or not the fields in the returned FieldDoc instances should
be set by specifying fillFields. |
| Constructor and Description |
|---|
TopFieldDocCollector(IndexReader reader,
Sort sort,
int numHits)
Deprecated.
Construct to collect a given number of hits.
|
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.