Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
Weight |
FilteredQuery.createWeight(IndexSearcher searcher)
Returns a Weight that applies the filter to the enclosed query's Weight.
|
Weight |
ConstantScoreQuery.createWeight(IndexSearcher searcher) |
Weight |
MultiPhraseQuery.createWeight(IndexSearcher searcher) |
Weight |
PhraseQuery.createWeight(IndexSearcher searcher) |
Weight |
BooleanQuery.createWeight(IndexSearcher searcher) |
Weight |
DisjunctionMaxQuery.createWeight(IndexSearcher searcher)
Create the Weight used to score us
|
Weight |
TermQuery.createWeight(IndexSearcher searcher) |
Weight |
MatchAllDocsQuery.createWeight(IndexSearcher searcher) |
Weight |
Query.createWeight(IndexSearcher searcher)
Expert: Constructs an appropriate Weight implementation for this query.
|
protected void |
NRTManager.decRef(IndexSearcher reference) |
protected void |
SearcherManager.decRef(IndexSearcher reference) |
boolean |
SearcherLifetimeManager.Pruner.doPrune(double ageSec,
IndexSearcher searcher)
Return true if this searcher should be removed.
|
boolean |
SearcherLifetimeManager.PruneByAge.doPrune(double ageSec,
IndexSearcher searcher) |
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) . |
Sort |
Sort.rewrite(IndexSearcher searcher)
Rewrites the SortFields in this Sort, returning a new Sort if any of the fields
changes during their rewriting.
|
SortField |
SortField.rewrite(IndexSearcher searcher)
Rewrites this SortField, returning a new SortField if a change is made.
|
protected boolean |
NRTManager.tryIncRef(IndexSearcher reference) |
protected boolean |
SearcherManager.tryIncRef(IndexSearcher reference) |
Constructor and Description |
---|
BooleanQuery.BooleanWeight(IndexSearcher searcher,
boolean disableCoord) |
ConstantScoreQuery.ConstantWeight(IndexSearcher searcher) |
DisjunctionMaxQuery.DisjunctionMaxWeight(IndexSearcher searcher)
Construct the Weight for this Query searched by searcher.
|
Modifier and Type | Method and Description |
---|---|
Weight |
PayloadNearQuery.createWeight(IndexSearcher searcher) |
Weight |
PayloadTermQuery.createWeight(IndexSearcher searcher) |
Constructor and Description |
---|
PayloadNearQuery.PayloadNearSpanWeight(SpanQuery query,
IndexSearcher searcher) |
PayloadTermQuery.PayloadTermWeight(PayloadTermQuery query,
IndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
Weight |
SpanQuery.createWeight(IndexSearcher searcher) |
Weight |
FieldMaskingSpanQuery.createWeight(IndexSearcher searcher) |
Constructor and Description |
---|
SpanWeight(SpanQuery query,
IndexSearcher searcher) |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.