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

Linbin Chen updated SOLR-3192:
------------------------------

    Attachment: solr.proto
    
> 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
>            Assignee: Yonik Seeley
>             Fix For: 4.0
>
>         Attachments: solr.proto
>
>
> solr support netty tcp, netty/tcp can handle asynchronous,efficient,keepalive 
> ...
> use 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 {
>       required int32 rid = 1;
>       //for string, like http params
>       required bytes params = 2;
>       //(xml, json, solr_javabin) fix by params rt (request type)
>       optional int32 streamsFormat = 3;
>       repeated bytes streams = 4;
> }
> message SolrResponse {
>       required int32 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 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