Package org.apache.solr.search
Class ReRankWeight
- java.lang.Object
-
- org.apache.lucene.search.Weight
-
- org.apache.lucene.search.FilterWeight
-
- org.apache.solr.search.ReRankWeight
-
- All Implemented Interfaces:
org.apache.lucene.search.SegmentCacheable
public class ReRankWeight extends org.apache.lucene.search.FilterWeight
AWeight
used by reranking queries.
-
-
Constructor Summary
Constructors Constructor Description ReRankWeight(org.apache.lucene.search.Query mainQuery, org.apache.lucene.search.Rescorer reRankQueryRescorer, org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.Weight mainWeight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.search.Explanation
explain(org.apache.lucene.index.LeafReaderContext context, int doc)
-
-
-
Constructor Detail
-
ReRankWeight
public ReRankWeight(org.apache.lucene.search.Query mainQuery, org.apache.lucene.search.Rescorer reRankQueryRescorer, org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.Weight mainWeight) throws IOException
- Throws:
IOException
-
-
Method Detail
-
explain
public org.apache.lucene.search.Explanation explain(org.apache.lucene.index.LeafReaderContext context, int doc) throws IOException
- Overrides:
explain
in classorg.apache.lucene.search.FilterWeight
- Throws:
IOException
-
-