org.apache.blur.lucene.search
Class FacetQuery.FacetScorer

java.lang.Object
  extended by org.apache.lucene.search.DocIdSetIterator
      extended by org.apache.lucene.index.DocsEnum
          extended by org.apache.lucene.search.Scorer
              extended by org.apache.blur.lucene.search.FacetQuery.FacetScorer
Enclosing class:
FacetQuery

public static class FacetQuery.FacetScorer
extends org.apache.lucene.search.Scorer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.search.Scorer
org.apache.lucene.search.Scorer.ChildScorer
 
Field Summary
 
Fields inherited from class org.apache.lucene.index.DocsEnum
FLAG_FREQS, FLAG_NONE
 
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
 
Constructor Summary
FacetQuery.FacetScorer(org.apache.lucene.search.Scorer scorer, FacetExecutor executor, AtomicReaderContext context)
           
 
Method Summary
 int advance(int target)
           
 long cost()
           
 int docID()
           
 int freq()
           
 int nextDoc()
           
 float score()
           
 
Methods inherited from class org.apache.lucene.search.Scorer
getChildren, getWeight, score, score
 
Methods inherited from class org.apache.lucene.index.DocsEnum
attributes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacetQuery.FacetScorer

public FacetQuery.FacetScorer(org.apache.lucene.search.Scorer scorer,
                              FacetExecutor executor,
                              AtomicReaderContext context)
                       throws IOException
Throws:
IOException
Method Detail

score

public float score()
            throws IOException
Specified by:
score in class org.apache.lucene.search.Scorer
Throws:
IOException

advance

public int advance(int target)
            throws IOException
Specified by:
advance in class org.apache.lucene.search.DocIdSetIterator
Throws:
IOException

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

freq

public int freq()
         throws IOException
Specified by:
freq in class DocsEnum
Throws:
IOException

cost

public long cost()
Specified by:
cost in class org.apache.lucene.search.DocIdSetIterator


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.