[
https://issues.apache.org/jira/browse/SOLR-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094219#comment-13094219
]
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: 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org