lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] Commented: (SOLR-752) Allow better Field Compression options
Date Thu, 22 Jul 2010 19:07:04 GMT


David Smiley commented on SOLR-752:

I spent some time today attempting to implement this with my own Solr FieldType that extends
TextField.  As I tried to implement it, I realized that I couldn't really do it.  FieldType
has a method createField(...) that is necessary to implement in order to set binary data (i.e.
byte[]) on a Field.  This method demands I return a org.apache.lucene.document.Field which
is final.  If I create the field with binary data, by default it's not indexed or tokenized.
 I can get those booleans to flip by simply invoking f.setTokenStream(null).  However, I can't
set omitNorms() to false, nor can I set booleans for the term vector fields.  There may be
other issues but at this point I gave up to work on other more important priorities of mine.

> Allow better Field Compression options
> --------------------------------------
>                 Key: SOLR-752
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
> 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.
You can reply to this email to add a comment to the issue online.

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

View raw message