[ https://issues.apache.org/jira/browse/SOLR-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891284#action_12891284 ]
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: https://issues.apache.org/jira/browse/SOLR-752 > Project: Solr > Issue Type: Improvement > Reporter: Grant Ingersoll > Priority: Minor > > 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. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org