Example usage for org.apache.lucene.index LeafReader subclass-usage

List of usage examples for org.apache.lucene.index LeafReader subclass-usage

Introduction

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

Usage

From source file com.floragunn.searchguard.configuration.EmptyReader.java

class EmptyReader extends LeafReader {

    public EmptyReader() {
        super();
        tryIncRef();
    }

From source file org.apache.solr.index.SlowCompositeReaderWrapper.java

/**
 * This class forces a composite reader (eg a {@link
 * MultiReader} or {@link DirectoryReader}) to emulate a
 * {@link LeafReader}.  This requires implementing the postings
 * APIs on-the-fly, using the static methods in {@link
 * MultiFields}, {@link MultiDocValues}, by stepping through

From source file org.apache.tika.eval.tools.SlowCompositeReaderWrapper.java

/**
 * <b>COPIED VERBATIM FROM LUCENE</b>
 * This class forces a composite reader (eg a {@link
 * MultiReader} or {@link DirectoryReader}) to emulate a
 * {@link LeafReader}.  This requires implementing the postings
 * APIs on-the-fly, using the static methods in {@link

From source file org.elasticsearch.index.engine.TranslogLeafReader.java

/**
 * Internal class that mocks a single doc read from the transaction log as a leaf reader.
 */
final class TranslogLeafReader extends LeafReader {

    private final Translog.Index operation;

From source file org.neo4j.kernel.api.impl.index.IndexReaderStub.java

public class IndexReaderStub extends LeafReader {

    private Fields fields;
    private boolean allDeleted;
    private String[] elements = new String[0];
    private Function<String, NumericDocValues> ndvs = s -> DocValues.emptyNumeric();

From source file org.tallison.util.SlowCompositeReaderWrapper.java

/**
 * This class forces a composite reader (eg a {@link
 * MultiReader} or {@link DirectoryReader}) to emulate a
 * {@link LeafReader}.  This requires implementing the postings
 * APIs on-the-fly, using the static methods in {@link
 * MultiTerms}, {@link MultiDocValues}, by stepping through