[
https://issues.apache.org/jira/browse/SOLR-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Jacob updated SOLR-752:
-----------------------------
Attachment: compressedtextfield.patch
I have attempted to add support for compressed stored fields by implementing a
new FieldType. ie:
<fieldtype name="compressed_text" class="solr.CompressedTextField"
compressionlevel="5" compressThreshold="100">
It supports setting both the compressionLevel and a compressionThreshold. The
implementation does have a couple of limitations at the moment. First, it is
not compatible with Field.Store.COMPRESS so existing indexes will have to be
rebuilt. Second, highlighting on this fieldtype does not appear to work.
Possibly because DefaultSolrHighlighter using doc.getValues(fieldName) to
retrieve the stored value but I haven't fully checked.
> Allow better Field Compression options
> --------------------------------------
>
> Key: SOLR-752
> URL: https://issues.apache.org/jira/browse/SOLR-752
> Project: Solr
> Issue Type: Improvement
> Reporter: Grant Ingersoll
> Priority: Minor
> Attachments: compressedtextfield.patch
>
>
> See http://lucene.markmail.org/message/sd4mgwud6caevb35?q=compression
> It would be good if Solr handled field compression outside of Lucene's
> Field.COMPRESS capabilities, since those capabilities are less than ideal
> when it comes to control over compression.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]