[ 
https://issues.apache.org/jira/browse/SOLR-3445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270727#comment-13270727
 ] 

Bill Bell commented on SOLR-3445:
---------------------------------

Well for most of my use cases I am okay with the 256 characters and don't need 
the overhead of UTF-8. So instead of converting to UTF-8 just store as a normal 
String. I would also be good with Lossy versions, but I am unaware of these 
algorithms. The goal: get the index smaller since I don't need the data in 
there in UTF-8 format.

String x = new String("Store this into a field in solr");

Instead of something like:

String original = new String("A" + "\u00ea" + "\u00f1" + "\u00fc" + "C");



                
> SOLR Stored field in byte format
> --------------------------------
>
>                 Key: SOLR-3445
>                 URL: https://issues.apache.org/jira/browse/SOLR-3445
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Bill Bell
>
> In order to reduce the size of the stored fields and increase performance of 
> SOLR by limiting the payload, we should consider adding a parameter for 
> stored that will store the information in byte format instead of UTF-8.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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

Reply via email to