lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Linbin Chen (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3192) NettySolrServer (supported by netty/protobuf) such as CommonsHttpSolrServer
Date Fri, 02 Mar 2012 16:13:58 GMT

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

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

    Description: 
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}

  was:
solr support netty tcp, netty/tcp can handle asynchronous,efficient,keepalive ...

use solr cloud or solrj

       Assignee: Yonik Seeley
    
> 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
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message