org.elasticsearch.common.lucene.docset
Class DocSets
java.lang.Object
org.elasticsearch.common.lucene.docset.DocSets
public class DocSets
- extends 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 set)
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 |
createFixedBitSet
public static org.apache.lucene.util.FixedBitSet createFixedBitSet(org.apache.lucene.search.DocIdSetIterator disi,
int numBits)
throws IOException
- Throws:
IOException
or
public static void or(org.apache.lucene.util.FixedBitSet into,
org.apache.lucene.search.DocIdSet other)
throws IOException
- Throws:
IOException
and
public static void and(org.apache.lucene.util.FixedBitSet into,
org.apache.lucene.search.DocIdSet other)
throws IOException
- Throws:
IOException
andNot
public static void andNot(org.apache.lucene.util.FixedBitSet into,
org.apache.lucene.search.DocIdSet other)
throws IOException
- Throws:
IOException
convert
public static DocSet convert(org.apache.lucene.index.IndexReader reader,
org.apache.lucene.search.DocIdSet docIdSet)
throws IOException
- Throws:
IOException
cacheable
public static DocSet cacheable(org.apache.lucene.index.IndexReader reader,
@Nullable
org.apache.lucene.search.DocIdSet set)
throws IOException
- Returns a cacheable version of the doc id set (might be the same instance provided as a parameter).
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.