org.elasticsearch.common.lucene.docset
Class DocSets

java.lang.Object
  extended by org.elasticsearch.common.lucene.docset.DocSets

public class DocSets
extends java.lang.Object


Method Summary
static DocSet cacheable(org.apache.lucene.index.IndexReader reader, org.apache.lucene.search.DocIdSet docIdSet)
          Returns a cacheable version of the doc id set (might be the same instance provided as a parameter).
static DocSet convert(org.apache.lucene.index.IndexReader reader, org.apache.lucene.search.DocIdSet docIdSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convert

public static DocSet convert(org.apache.lucene.index.IndexReader reader,
                             org.apache.lucene.search.DocIdSet docIdSet)
                      throws java.io.IOException
Throws:
java.io.IOException

cacheable

public static DocSet cacheable(org.apache.lucene.index.IndexReader reader,
                               org.apache.lucene.search.DocIdSet docIdSet)
                        throws java.io.IOException
Returns a cacheable version of the doc id set (might be the same instance provided as a parameter).

Throws:
java.io.IOException