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 void and(org.apache.lucene.util.FixedBitSet into, org.apache.lucene.search.DocIdSet other)
           
static void andNot(org.apache.lucene.util.FixedBitSet into, org.apache.lucene.search.DocIdSet other)
           
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)
           
static org.apache.lucene.util.FixedBitSet createFixedBitSet(org.apache.lucene.search.DocIdSetIterator disi, int numBits)
           
static void or(org.apache.lucene.util.FixedBitSet into, org.apache.lucene.search.DocIdSet other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFixedBitSet

public static org.apache.lucene.util.FixedBitSet createFixedBitSet(org.apache.lucene.search.DocIdSetIterator disi,
                                                                   int numBits)
                                                            throws java.io.IOException
Throws:
java.io.IOException

or

public static void or(org.apache.lucene.util.FixedBitSet into,
                      org.apache.lucene.search.DocIdSet other)
               throws java.io.IOException
Throws:
java.io.IOException

and

public static void and(org.apache.lucene.util.FixedBitSet into,
                       org.apache.lucene.search.DocIdSet other)
                throws java.io.IOException
Throws:
java.io.IOException

andNot

public static void andNot(org.apache.lucene.util.FixedBitSet into,
                          org.apache.lucene.search.DocIdSet other)
                   throws java.io.IOException
Throws:
java.io.IOException

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