Example usage for org.apache.lucene.search DocIdSet subclass-usage

List of usage examples for org.apache.lucene.search DocIdSet subclass-usage

Introduction

In this page you can find the example usage for org.apache.lucene.search DocIdSet subclass-usage.

Usage

From source file cn.hbu.cs.esearch.document.UIDDocIdSet.java

public class UIDDocIdSet extends DocIdSet {
    private final int[] sorted;

    public UIDDocIdSet(long[] uidArray, DocIDMapper mapper) {
        if (uidArray == null) {
            throw new IllegalArgumentException("Input uid array is null");

From source file cn.hbu.cs.esearch.util.ArrayDocIdSet.java

public class ArrayDocIdSet extends DocIdSet {
    private final int[] docIds;
    private final int lengthMinusone;

    public ArrayDocIdSet(int[] docids) {
        docIds = docids;

From source file com.jaeksoft.searchlib.util.bitset.NativeDocIdSet.java

public class NativeDocIdSet extends DocIdSet {

    private final NativeBitSet bitSet;

    NativeDocIdSet(NativeBitSet bitSet) {
        this.bitSet = bitSet;

From source file com.jaeksoft.searchlib.util.RoaringDocIdSet.java

public class RoaringDocIdSet extends DocIdSet {

    private final RoaringBitmap bitSet;

    public RoaringDocIdSet(RoaringBitmap bitSet) {
        this.bitSet = bitSet;

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 nl.inl.blacklab.search.SingleDocIdSet.java

/**
 * A DocIdSet with a single Lucene document id in it.
 *
 * Used by SingleDocIdFilter (or directly by Searcher.createSpanQuery) for
 * finding hits in a single document (for highlighting).
 */

From source file org.allenai.blacklab.search.SingleDocIdSet.java

/**
 * A DocIdSet with a single Lucene document id in it.
 *
 * Used by SingleDocIdFilter (or directly by Searcher.createSpanQuery) for
 * finding hits in a single document (for highlighting).
 */

From source file org.apache.blur.filter.IndexFileBitSet.java

public class IndexFileBitSet extends DocIdSet implements Closeable {

    private static final Log LOG = LogFactory.getLog(IndexFileBitSet.class);

    public static final String EXTENSION = ".filter";

From source file org.apache.solr.search.FilteredDocIdSet.java

/**
 * Abstract decorator class for a DocIdSet implementation
 * that provides on-demand filtering/validation
 * mechanism on a given DocIdSet.
 *
 * <p>

From source file org.elasticsearch.common.lucene.docset.AllDocIdSet.java

/**
 * A {@link DocIdSet} that matches all docs up to a {@code maxDoc}.
 */
public class AllDocIdSet extends DocIdSet {

    private final int maxDoc;