lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe <tomasflo...@gmail.com>
Subject Re: code v.s. schema for BEST_COMPRESSION mode
Date Sun, 17 Jun 2018 09:07:09 GMT
The schema configuration in your first link is the way to tell Solr to use
a particular compression mode in the Lucene index (the second link).
So yes, the schema change should be enough.

On Sun, Jun 17, 2018 at 6:39 AM Zahra Aminolroaya <z.aminolroaya@gmail.com>
wrote:

> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message