You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2018/10/23 11:57:01 UTC

[jira] [Updated] (SOLR-12885) BinaryResponseWriter (javabin format) should directly copy from Bytesref to output

     [ https://issues.apache.org/jira/browse/SOLR-12885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul updated SOLR-12885:
------------------------------
    Description: 
The format format in which bytes are stored in {{BytesRef}} and the javabin string format are both the same. We don't need to convert the string/text fields from {{BytesRef}} to String and back to UTF8 



{{Now a String/Text field is read and written out as follows}}

{{luceneindex(UTF8bytes) --> UTF8–> UTF16 (char[])-> --> new String() a copy of UTF16 char[] --> UTF16–> UTF8bytes(javabin format)}}

  was:The format format in which bytes are stored in {{BytesRef}} and the javabin string format are both the same. We don't need to convert the string/text fields from {{BytesRef}} to String and back to UTF8 


> BinaryResponseWriter (javabin format) should directly copy from Bytesref to output
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-12885
>                 URL: https://issues.apache.org/jira/browse/SOLR-12885
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Priority: Major
>         Attachments: SOLR-12885.patch
>
>
> The format format in which bytes are stored in {{BytesRef}} and the javabin string format are both the same. We don't need to convert the string/text fields from {{BytesRef}} to String and back to UTF8 
> {{Now a String/Text field is read and written out as follows}}
> {{luceneindex(UTF8bytes) --> UTF8–> UTF16 (char[])-> --> new String() a copy of UTF16 char[] --> UTF16–> UTF8bytes(javabin format)}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org