protected class SolrConstantScoreQuery.ConstantScorer extends Scorer
Scorer.ChildScorer
FLAG_FREQS, FLAG_NONE
NO_MORE_DOCS
Constructor and Description |
---|
SolrConstantScoreQuery.ConstantScorer(AtomicReaderContext context,
SolrConstantScoreQuery.ConstantWeight w,
float theScore,
Bits acceptDocs) |
Modifier and Type | Method and Description |
---|---|
int |
advance(int target) |
long |
cost() |
int |
docID() |
int |
freq() |
int |
nextDoc() |
float |
score() |
getChildren, getWeight
attributes
empty, slowAdvance
public SolrConstantScoreQuery.ConstantScorer(AtomicReaderContext context, SolrConstantScoreQuery.ConstantWeight w, float theScore, Bits acceptDocs) throws IOException
IOException
public int nextDoc() throws IOException
nextDoc
in class DocIdSetIterator
IOException
public int docID()
docID
in class DocIdSetIterator
public float score() throws IOException
score
in class Scorer
IOException
public int freq() throws IOException
freq
in class DocsEnum
IOException
public int advance(int target) throws IOException
advance
in class DocIdSetIterator
IOException
public long cost()
cost
in class DocIdSetIterator
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.