Apache Solr Documentation

6.4 Ref Guide (PDF Download)
Solr Tutorial
Solr Community Wiki

Older Versions of this Guide (PDF)

6.5 Draft Ref Guide Topics

Meta-Documentation

This Unreleased Guide Will Cover Apache Solr 6.5

Skip to end of metadata
Go to start of metadata

codecFactory can be specified in solrconfig.xml to determine which Lucene Codec is used when writing the index to disk. 

If not specified, Lucene's default codec is implicitly used, but a solr.SchemaCodecFactory is also available which supports 2 key features:

  • Schema based per-fieldtype configuration for docValuesFormat and postingsFormat - see the Field Type Definitions and Properties section for more details.
  • compressionMode option:
    • BEST_SPEED (default) is optimized for search speed performance
    • BEST_COMPRESSION is optimized for disk space usage

Example:

 

  • No labels