lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim Taylor (JIRA)" <>
Subject [jira] [Commented] (SOLR-752) Allow better Field Compression options
Date Wed, 31 Aug 2011 00:59:10 GMT


Kim Taylor commented on SOLR-752:

I've had a look into this. Simon is right, DefaultSolrHighlighter uses doc.getValues(fieldName)
to retrieve the field. lucene.document.Document.getValues() calls stringValue on the appropriate
field. The problem is that when FieldsWriter/Reader read fields from segments, the supplied
CompressedField gets converted into a Field, which does not know how to interpret fieldsData.
I've added another patch that alters DefaultSolrHighlighter to use the schema FieldType (in
this case CompressedField) to properly interpred fieldsData.

> Allow better Field Compression options
> --------------------------------------
>                 Key: SOLR-752
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>         Attachments: compressedtextfield.patch
> See
> 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:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message