Class SchemaCodecFactory

  • All Implemented Interfaces:
    NamedListInitializedPlugin, SolrCoreAware

    public class SchemaCodecFactory
    extends CodecFactory
    implements SolrCoreAware
    Per-field CodecFactory implementation, extends Lucene's and returns postings format implementations according to the schema configuration.
    Also, a string argument with name compressionMode can be provided to chose between the different compression options for stored fields
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Field Detail


        public static final String COMPRESSION_MODE
        Key to use in init arguments to set the compression mode in the codec.
        See Also:
        Constant Field Values

        public static final org.apache.lucene.codecs.lucene50.Lucene50StoredFieldsFormat.Mode SOLR_DEFAULT_COMPRESSION_MODE
    • Constructor Detail

      • SchemaCodecFactory

        public SchemaCodecFactory()