org.apache.solr.search.function
Class ValueSourceScorer
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.search.Scorer
org.apache.solr.search.function.ValueSourceScorer
public class ValueSourceScorer
- extends org.apache.lucene.search.Scorer
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
Nested classes/interfaces inherited from class org.apache.lucene.search.Scorer |
org.apache.lucene.search.Scorer.ScorerVisitor<P extends org.apache.lucene.search.Query,C extends org.apache.lucene.search.Query,S extends org.apache.lucene.search.Scorer> |
Fields inherited from class org.apache.lucene.search.Scorer |
weight |
Fields inherited from class org.apache.lucene.search.DocIdSetIterator |
NO_MORE_DOCS |
Methods inherited from class org.apache.lucene.search.Scorer |
freq, getSimilarity, score, score, visitScorers, visitSubScorers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reader
protected org.apache.lucene.index.IndexReader reader
maxDoc
protected final int maxDoc
values
protected final DocValues values
checkDeletes
protected boolean checkDeletes
ValueSourceScorer
protected ValueSourceScorer(org.apache.lucene.index.IndexReader reader,
DocValues values)
getReader
public org.apache.lucene.index.IndexReader getReader()
setCheckDeletes
public void setCheckDeletes(boolean checkDeletes)
matches
public boolean matches(int doc)
matchesValue
public boolean matchesValue(int doc)
docID
public int docID()
- Specified by:
docID
in class org.apache.lucene.search.DocIdSetIterator
nextDoc
public int nextDoc()
throws IOException
- Specified by:
nextDoc
in class org.apache.lucene.search.DocIdSetIterator
- Throws:
IOException
advance
public int advance(int target)
throws IOException
- Specified by:
advance
in class org.apache.lucene.search.DocIdSetIterator
- Throws:
IOException
doc
public int doc()
next
public boolean next()
skipTo
public boolean skipTo(int target)
score
public float score()
throws IOException
- Specified by:
score
in class org.apache.lucene.search.Scorer
- Throws:
IOException
explain
public org.apache.lucene.search.Explanation explain(int doc)
throws IOException
- Throws:
IOException
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.