private class BoostedQuery.CustomScorer
extends org.apache.lucene.search.Scorer
Modifier and Type | Field and Description |
---|---|
private float |
qWeight |
private org.apache.lucene.index.IndexReader |
reader |
private org.apache.lucene.search.Scorer |
scorer |
private org.apache.lucene.search.Searcher |
searcher |
private DocValues |
vals |
private BoostedQuery.BoostedWeight |
weight |
Modifier | Constructor and Description |
---|---|
private |
CustomScorer(org.apache.lucene.search.Similarity similarity,
org.apache.lucene.search.Searcher searcher,
org.apache.lucene.index.IndexReader reader,
BoostedQuery.BoostedWeight w,
org.apache.lucene.search.Scorer scorer,
ValueSource vs) |
Modifier and Type | Method and Description |
---|---|
int |
advance(int target) |
int |
docID() |
org.apache.lucene.search.Explanation |
explain(int doc) |
int |
nextDoc() |
float |
score() |
private final BoostedQuery.BoostedWeight weight
private final float qWeight
private final org.apache.lucene.search.Scorer scorer
private final DocValues vals
private final org.apache.lucene.index.IndexReader reader
private final org.apache.lucene.search.Searcher searcher
private CustomScorer(org.apache.lucene.search.Similarity similarity, org.apache.lucene.search.Searcher searcher, org.apache.lucene.index.IndexReader reader, BoostedQuery.BoostedWeight w, org.apache.lucene.search.Scorer scorer, ValueSource vs) throws java.io.IOException
java.io.IOException
public int docID()
docID
in class org.apache.lucene.search.DocIdSetIterator
public int advance(int target) throws java.io.IOException
advance
in class org.apache.lucene.search.DocIdSetIterator
java.io.IOException
public int nextDoc() throws java.io.IOException
nextDoc
in class org.apache.lucene.search.DocIdSetIterator
java.io.IOException
public float score() throws java.io.IOException
score
in class org.apache.lucene.search.Scorer
java.io.IOException
public org.apache.lucene.search.Explanation explain(int doc) throws java.io.IOException
java.io.IOException