Java org.apache.lucene.search Weight fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.search Weight fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.search Weight.

The text is from its open source code.

Subclass

org.apache.lucene.search.Weight has subclasses.
Click this link to see all its subclasses.

Implementation

org.apache.lucene.search.Weight has the following implementations.
Click this link to see all its implementation.

Constructor

Weight(Query query)
Sole constructor, typically invoked by sub-classes.

Method

BulkScorerbulkScorer(LeafReaderContext context)
Optional method, to return a BulkScorer to score the query and send hits to a Collector .
Explanationexplain(LeafReaderContext context, int doc)
An explanation of the score computation for the named document.
voidextractTerms(Set terms)
Expert: adds all terms occurring in this query to the terms set.
QuerygetQuery()
The query that this concerns.
Scorerscorer(LeafReaderContext context)
Returns a Scorer which can iterate in order over all matching documents and assign them a score.