[
https://issues.apache.org/jira/browse/SOLR-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Noble Paul updated SOLR-486:
----------------------------
Attachment: SOLR-486.patch
This contains a very simple binary format implementation using
DataOutputStream/DataInputStream
The class that implements this functionality is NamedListCodec which mustbe
used on both end of the pipe
It can marshal/unmarshal a NamedList to/from a stream.
It supports all the primitives and
List/Map/NamedList/SolrDocument/SolrDocumentList
There is a class BinaryResponseWriter implements BinaryQueryResponseWriter
which converts the lucene DocList to SolrDocumentList on demand
A class BinaryResponseParser extends ResponseParser
is also added to solrj
which can be used with the CommonsHttpSolrServer
> Support binary formats for QueryresponseWriter
> ----------------------------------------------
>
> Key: SOLR-486
> URL: https://issues.apache.org/jira/browse/SOLR-486
> Project: Solr
> Issue Type: Improvement
> Components: clients - java, search
> Reporter: Noble Paul
> Priority: Minor
> Fix For: 1.3
>
> Attachments: SOLR-486.patch, SOLR-486.patch, SOLR-486.patch
>
>
> QueryResponse writer only allows text data to be written.
> So it is not possible to implement a binary protocol . Create another
> interface which has a method
> write(OutputStream os, SolrQueryRequest request, SolrQueryResponse response)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.