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.IOExceptionpublic int docID()
docID in class org.apache.lucene.search.DocIdSetIteratorpublic int advance(int target)
throws java.io.IOException
advance in class org.apache.lucene.search.DocIdSetIteratorjava.io.IOExceptionpublic int nextDoc()
throws java.io.IOException
nextDoc in class org.apache.lucene.search.DocIdSetIteratorjava.io.IOExceptionpublic float score()
throws java.io.IOException
score in class org.apache.lucene.search.Scorerjava.io.IOExceptionpublic org.apache.lucene.search.Explanation explain(int doc)
throws java.io.IOException
java.io.IOException