Package | Description |
---|---|
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 | |
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.function |
Programmatic control over documents scores.
|
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.
|
org.apache.lucene.wordnet |
This package uses synonyms defined by WordNet to build a
Lucene index storing them, which in turn can be used for query expansion.
|
Modifier and Type | Field and Description |
---|---|
protected Searcher |
QualityBenchmark.searcher
Index to be searched.
|
Constructor and Description |
---|
QualityBenchmark(QualityQuery[] qqs,
QualityQueryParser qqParser,
Searcher searcher,
String docNameField)
Create a QualityBenchmark.
|
Modifier and Type | Method and Description |
---|---|
String |
DocNameExtractor.docName(Searcher searcher,
int docid)
Extract the name of the input doc from the index.
|
void |
SubmissionReport.report(QualityQuery qq,
TopDocs td,
String docNameField,
Searcher searcher)
Report a search result for a certain quality query.
|
Modifier and Type | Method and Description |
---|---|
static void |
SearchFiles.doPagingSearch(BufferedReader in,
Searcher 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.
|
static void |
SearchFiles.doStreamingSearch(Searcher searcher,
Query query)
This method uses a custom HitCollector implementation which simply prints out
the docId and score of every matching document.
|
Modifier and Type | Class and Description |
---|---|
class |
IndexSearcher
Implements search over a single IndexReader.
|
class |
MultiSearcher
Implements search over a set of
Searchables . |
class |
ParallelMultiSearcher
Implements parallel search over a set of
Searchables . |
Modifier and Type | Method and Description |
---|---|
Weight |
DisjunctionMaxQuery.createWeight(Searcher searcher) |
Weight |
FilteredQuery.createWeight(Searcher searcher)
Returns a Weight that applies the filter to the enclosed query's Weight.
|
Weight |
MatchAllDocsQuery.createWeight(Searcher searcher) |
Weight |
BooleanQuery.createWeight(Searcher searcher) |
Weight |
TermQuery.createWeight(Searcher searcher) |
Weight |
MultiPhraseQuery.createWeight(Searcher searcher) |
Weight |
Query.createWeight(Searcher searcher)
Expert: Constructs an appropriate Weight implementation for this query.
|
Weight |
ConstantScoreQuery.createWeight(Searcher searcher) |
Weight |
PhraseQuery.createWeight(Searcher searcher) |
Similarity |
BooleanQuery.getSimilarity(Searcher searcher) |
Similarity |
Query.getSimilarity(Searcher searcher)
Expert: Returns the Similarity implementation to be used for this query.
|
float |
Similarity.idf(Collection terms,
Searcher searcher)
Deprecated.
|
float |
Similarity.idf(Term term,
Searcher searcher)
Deprecated.
|
Explanation.IDFExplanation |
Similarity.idfExplain(Collection terms,
Searcher searcher)
Computes a score factor for a phrase.
|
Explanation.IDFExplanation |
Similarity.idfExplain(Term term,
Searcher searcher)
Computes a score factor for a simple term and returns an explanation
for that score factor.
|
Weight |
Query.weight(Searcher searcher)
Expert: Constructs and initializes a Weight for a top-level query.
|
Constructor and Description |
---|
BooleanQuery.BooleanWeight(Searcher searcher) |
ConstantScoreQuery.ConstantWeight(Searcher searcher) |
DisjunctionMaxQuery.DisjunctionMaxWeight(Searcher searcher) |
Modifier and Type | Method and Description |
---|---|
Weight |
ValueSourceQuery.createWeight(Searcher searcher) |
Weight |
CustomScoreQuery.createWeight(Searcher searcher) |
Modifier and Type | Method and Description |
---|---|
Weight |
PayloadNearQuery.createWeight(Searcher searcher) |
Weight |
PayloadTermQuery.createWeight(Searcher searcher) |
Weight |
BoostingTermQuery.createWeight(Searcher searcher)
Deprecated.
|
Constructor and Description |
---|
BoostingTermQuery.BoostingTermWeight(BoostingTermQuery query,
Searcher searcher) |
PayloadNearQuery.PayloadNearSpanWeight(SpanQuery query,
Searcher searcher) |
PayloadTermQuery.PayloadTermWeight(PayloadTermQuery query,
Searcher searcher) |
Modifier and Type | Method and Description |
---|---|
Weight |
FieldMaskingSpanQuery.createWeight(Searcher searcher) |
Weight |
SpanQuery.createWeight(Searcher searcher) |
Similarity |
FieldMaskingSpanQuery.getSimilarity(Searcher searcher) |
Constructor and Description |
---|
SpanWeight(SpanQuery query,
Searcher searcher) |
Modifier and Type | Method and Description |
---|---|
static Query |
SynLookup.expand(String query,
Searcher syns,
Analyzer a,
String field,
float boost)
Perform synonym expansion on a query.
|
static Query |
SynExpand.expand(String query,
Searcher syns,
Analyzer a,
String field,
float boost)
Perform synonym expansion on a query.
|
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.