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

David Smiley updated SOLR-3192:
-------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> NettySolrServer (supported by netty/protobuf) such as CommonsHttpSolrServer
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-3192
>                 URL: https://issues.apache.org/jira/browse/SOLR-3192
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Linbin Chen
>             Fix For: 4.8
>
>         Attachments: solr.proto
>
>
> solr support netty tcp, netty/tcp can handle asynchronous,efficient,keepalive 
> ...
> it's used on solr cloud or solrj
> solr.proto maybe
> {code:java}
> package org.apache.solr.common.netty;
> option java_package = "org.apache.solr.common.netty";
> option java_outer_classname = "SolrProtocol";
> option optimize_for = SPEED;
> message SolrRequest {
>       //request id
>       required int64 rid = 1;
>       //for string, json format, like http params
>       required string params = 2;
>       //(xml, json, solr_javabin) fix by params rt (request type)
>       optional int32 streamsFormat = 3;
>       repeated bytes streams = 4;
> }
> message SolrResponse {
>       //response request id,
>       required int64 rid = 1;
>       //response format (xml, json, solr_javabin, csv ...)
>       optional int32 responseFormat = 2;
>       optional bytes response = 3;
>       optional int32 errorCode = 4;
>       optional string errorStr = 5;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to