org.apache.lucene.facet
Class FacetsCollector.Docs

java.lang.Object
  extended by org.apache.lucene.facet.FacetsCollector.Docs
Enclosing class:
FacetsCollector

protected abstract static class FacetsCollector.Docs
extends Object

Used during collection to record matching docs and then return a DocIdSet that contains them.


Constructor Summary
FacetsCollector.Docs()
          Solr constructor.
 
Method Summary
abstract  void addDoc(int docId)
          Record the given document.
abstract  DocIdSet getDocIdSet()
          Return the DocIdSet which contains all the recorded docs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacetsCollector.Docs

public FacetsCollector.Docs()
Solr constructor.

Method Detail

addDoc

public abstract void addDoc(int docId)
                     throws IOException
Record the given document.

Throws:
IOException

getDocIdSet

public abstract DocIdSet getDocIdSet()
Return the DocIdSet which contains all the recorded docs.



Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.