Apache Solr Documentation

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

Older Versions of this Guide (PDF)

6.6 Draft Ref Guide Topics


This Unreleased Guide Covers Apache Solr 6.6
As of 5 May 2017, committer editing of this Ref Guide is LOCKED for migration to the new Ref Guide. See SOLR-10290 for details.

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



  • No labels