Example usage for org.apache.lucene.codecs PostingsFormat subclass-usage

List of usage examples for org.apache.lucene.codecs PostingsFormat subclass-usage

Introduction

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

Usage

From source file com.foundationdb.lucene.FDBPostingsFormat.java

public final class FDBPostingsFormat extends PostingsFormat {
    private static final String POSTINGS_EXT = "pst";
    private static final String NUM_DOCS = "numDocs";
    private static final byte[] LITTLE_ENDIAN_LONG_ONE = { 1, 0, 0, 0, 0, 0, 0, 0 };

    public FDBPostingsFormat() {

From source file com.lucure.core.codec.LucurePostingsFormat.java

/**
 * Lucene 4.1 postings format, which encodes postings in packed integer blocks 
 * for fast decode.
 *
 * <p><b>NOTE</b>: this format is still experimental and
 * subject to change without backwards compatibility.

From source file com.rocana.lucene.codec.v1.RocanaLucene50PostingsFormat.java

/**
 * Fork of Lucene's {@link org.apache.lucene.codecs.lucene50.Lucene50PostingsFormat}
 * from Lucene's git repository, tag: releases/lucene-solr/5.5.0
 *
 * Why we forked:
 *   - We need to 'hook in' {@link RocanaBlockTreeTermsReader}, which has the performance

From source file com.rocana.lucene.codec.v1.RocanaPerFieldPostingsFormat.java

/**
 * Fork of Lucene's {@link org.apache.lucene.codecs.perfield.PerFieldPostingsFormat}
 * from Lucene's git repository, tag: releases/lucene-solr/5.5.0
 *
 * Why we forked:
 *   - The original code called {@link PostingsFormat#forName(String)} which means

From source file com.sindicetech.siren.index.codecs.siren10.Siren10PostingsFormat.java

/**
 * Abstraction over the SIREn 1.0 postings format.
 *
 * <p>
 *
 * Subclasses must provide a pre-configured instance of the

From source file org.codelibs.elasticsearch.search.suggest.completion2x.Completion090PostingsFormat.java

/**
 * This {PostingsFormat} is basically a T-Sink for a default postings
 * format that is used to store postings on disk fitting the lucene APIs and
 * builds a suggest FST as an auxiliary data structure next to the actual
 * postings format. It uses the delegate postings format for simplicity to
 * handle all the merge operations. The auxiliary suggest FST data structure is

From source file org.elasticsearch.index.codec.postingsformat.BloomFilterPostingsFormat.java

/**
 * <p>
 * A {@link PostingsFormat} useful for low doc-frequency fields such as primary
 * keys. Bloom filters are maintained in a ".blm" file which offers "fast-fail"
 * for reads in segments known to have no record of the key. A choice of
 * delegate PostingsFormat is used to record all other Postings data.

From source file org.elasticsearch.index.codec.postingsformat.Elasticsearch090PostingsFormat.java

/**
 * This is the default postings format for Elasticsearch that special cases
 * the <tt>_uid</tt> field to use a bloom filter while all other fields
 * will use a {@link Lucene41PostingsFormat}. This format will reuse the underlying
 * {@link Lucene41PostingsFormat} and its files also for the <tt>_uid</tt> saving up to
 * 5 files per segment in the default case.

From source file org.elasticsearch.search.suggest.completion.Completion090PostingsFormat.java

/**
 * This {@link PostingsFormat} is basically a T-Sink for a default postings
 * format that is used to store postings on disk fitting the lucene APIs and
 * builds a suggest FST as an auxiliary data structure next to the actual
 * postings format. It uses the delegate postings format for simplicity to
 * handle all the merge operations. The auxiliary suggest FST data structure is

From source file org.elasticsearch.search.suggest.completion.old.Completion090PostingsFormat.java

/**
 * This {@link PostingsFormat} is basically a T-Sink for a default postings
 * format that is used to store postings on disk fitting the lucene APIs and
 * builds a suggest FST as an auxiliary data structure next to the actual
 * postings format. It uses the delegate postings format for simplicity to
 * handle all the merge operations. The auxiliary suggest FST data structure is