I want to reduce the size of indexed and stored documents in Solr. I found
two way in the first solution  
http://https://lucene.apache.org/solr/guide/6_6/codec-factory.html#solr-schemacodecfactory
<http://https://lucene.apache.org/solr/guide/6_6/codec-factory.html#solr-schemacodecfactory>
  
it is only needed to change the compressionMode in the codecFactory section
of schema. In the other way, 
http://https://github.com/apache/lucene-solr/blob/releases/lucene-solr/6.4.0/lucene/core/src/java/org/apache/lucene/codecs/compressing/CompressingStoredFieldsFormat.java
<http://https://github.com/apache/lucene-solr/blob/releases/lucene-solr/6.4.0/lucene/core/src/java/org/apache/lucene/codecs/compressing/CompressingStoredFieldsFormat.java>
  
it is needed to use the java code to compress stored field.

What is the difference between these solutions? Is it enough to use the 
schema editting way?



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to