You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2010/01/20 07:27:54 UTC

[jira] Created: (SOLR-1728) ResponseWriters should support byte[], ByteBuffer

ResponseWriters should support byte[], ByteBuffer
-------------------------------------------------

                 Key: SOLR-1728
                 URL: https://issues.apache.org/jira/browse/SOLR-1728
             Project: Solr
          Issue Type: Improvement
            Reporter: Noble Paul
            Priority: Minor


Only BinaryResponseWriter supports byte[] and ByteBuffer. Other writers also should support these

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-1728) ResponseWriters should support byte[], ByteBuffer

Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul updated SOLR-1728:
-----------------------------

    Fix Version/s: 1.5
         Assignee: Noble Paul

> ResponseWriters should support byte[], ByteBuffer
> -------------------------------------------------
>
>                 Key: SOLR-1728
>                 URL: https://issues.apache.org/jira/browse/SOLR-1728
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 1.5
>
>
> Only BinaryResponseWriter supports byte[] and ByteBuffer. Other writers also should support these

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1728) ResponseWriters should support byte[], ByteBuffer

Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805357#action_12805357 ] 

Noble Paul commented on SOLR-1728:
----------------------------------

Everything works now in non-distributed search because , the BinaryField takes care of writing out the data as strings. In distributed search  ,when the writers have to emit SolrDocument and if it contains byte[],  XML, JSON and other response writers would do a toString() on the byte[]. 



> ResponseWriters should support byte[], ByteBuffer
> -------------------------------------------------
>
>                 Key: SOLR-1728
>                 URL: https://issues.apache.org/jira/browse/SOLR-1728
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 1.5
>
>
> Only BinaryResponseWriter supports byte[] and ByteBuffer. Other writers also should support these

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1728) ResponseWriters should support byte[], ByteBuffer

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805578#action_12805578 ] 

Yonik Seeley commented on SOLR-1728:
------------------------------------

Seems to make sense from a completeness point of view.  It also allows a closer semantic mapping (i.e. we could use the closest equivalent to byte arrays for python & ruby).

> ResponseWriters should support byte[], ByteBuffer
> -------------------------------------------------
>
>                 Key: SOLR-1728
>                 URL: https://issues.apache.org/jira/browse/SOLR-1728
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 1.5
>
>
> Only BinaryResponseWriter supports byte[] and ByteBuffer. Other writers also should support these

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1728) ResponseWriters should support byte[], ByteBuffer

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805291#action_12805291 ] 

Hoss Man commented on SOLR-1728:
--------------------------------

Noble: your issue description is a bit terse, so i'm a little confused.

Are you suggesting an API change such that binary write methods are added to QueryResponseWriter (making it equivalent to BinaryQueryResponseWriter) ?  

Or are you suggesting that the existing classes which implement QueryResponseWriter ( JSONResponseWriter, PHPResponseWriter, PythonResponseWriter, XMLResponseWriter,  etc...) should start implementing BinaryQueryResponseWriter?

In either case: what's the motivation?

> ResponseWriters should support byte[], ByteBuffer
> -------------------------------------------------
>
>                 Key: SOLR-1728
>                 URL: https://issues.apache.org/jira/browse/SOLR-1728
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 1.5
>
>
> Only BinaryResponseWriter supports byte[] and ByteBuffer. Other writers also should support these

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.