Example usage for Java org.apache.lucene.search Weight fields, constructors, methods, implement or subclass
The text is from its open source code.
Weight(Query query) Sole constructor, typically invoked by sub-classes. |
BulkScorer | bulkScorer(LeafReaderContext context) Optional method, to return a BulkScorer to score the query and send hits to a Collector . |
Explanation | explain(LeafReaderContext context, int doc) An explanation of the score computation for the named document. |
void | extractTerms(Set Expert: adds all terms occurring in this query to the terms set. |
Query | getQuery() The query that this concerns. |
Scorer | scorer(LeafReaderContext context) Returns a Scorer which can iterate in order over all matching documents and assign them a score. |