List of usage examples for org.apache.lucene.util Bits interface-usage
From source file javaewah.EWAHCompressedBitmap.java
/**
* <p>This implements the patent-free(1) EWAH scheme. Roughly speaking, it is a
* 64-bit variant of the BBC compression scheme used by Oracle for its bitmap
* indexes.</p>
*
* <p>The objective of this compression type is to provide some compression, while
From source file monad.face.internal.MonadSparseFixedBitSet.java
/**
* A bit set that only stores longs that have at least one bit which is set.
* The way it works is that the space of bits is divided into blocks of
* 4096 bits, which is 64 longs. Then for each block, we have:<ul>
* <li>a long[] which stores the non-zero longs for that block</li>
* <li>a long so that bit <tt>i</tt> being set means that the <code>i-th</code>
From source file org.elasticsearch.common.lucene.docset.MatchDocIdSet.java
/** * A {@link DocIdSet} that works on a "doc" level by checking if it matches or not. */ public abstract class MatchDocIdSet extends DocIdSet implements Bits { private final int maxDoc;
From source file roar.api.services.RoarSparseFixedBitSet.java
/**
* A bit set that only stores longs that have at least one bit which is set.
* The way it works is that the space of bits is divided into blocks of
* 4096 bits, which is 64 longs. Then for each block, we have:<ul>
* <li>a long[] which stores the non-zero longs for that block</li>
* <li>a long so that bit <tt>i</tt> being set means that the <code>i-th</code>