You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/26 06:31:05 UTC

[jira] [Commented] (SOLR-3192) NettySolrClient (supported by netty/protobuf)

    [ https://issues.apache.org/jira/browse/SOLR-3192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602379#comment-14602379 ] 

ASF GitHub Bot commented on SOLR-3192:
--------------------------------------

GitHub user chenlb opened a pull request:

    https://github.com/apache/lucene-solr/pull/165

    Feature/netty protocol

    https://issues.apache.org/jira/browse/SOLR-3192
    
    SOLR-3192 : solr support netty protocol NettySolrClient

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chenlb/lucene-solr feature/netty_protocol

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/165.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #165
    
----
commit d1d4c238a717b0220cce4b992c512df987d0eb1e
Author: Anshum Gupta <an...@apache.org>
Date:   2015-05-22T07:09:56Z

    Starting Lucene/Solr 5.2 branch.
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681010 13f79535-47bb-0310-9956-ffa450edef68

commit 704b01bb25bafeecc4616c970daecc56c172df6f
Author: Noble Paul <no...@apache.org>
Date:   2015-05-22T13:26:43Z

    SOLR-7531: updateHandler.autoCommit.openSearcher returned in the wrong hierarchy
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681110 13f79535-47bb-0310-9956-ffa450edef68

commit ac1d60273d98855f034d03cd7798a550d0d0e4c1
Author: Erik Hatcher <eh...@apache.org>
Date:   2015-05-22T14:53:56Z

    SOLR-7579: Fix Angular admin UI analysis screen drop-down issue
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681136 13f79535-47bb-0310-9956-ffa450edef68

commit e1028db4e2f2418bbf72048b31c5a7d9ffe19453
Author: Ryan Ernst <rj...@apache.org>
Date:   2015-05-22T19:33:03Z

    LUCENE-6497: Allow subclasses of FieldType to check frozen state (merged r1681211)
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681212 13f79535-47bb-0310-9956-ffa450edef68

commit b4c667b05301fee809f4a04d7f9ffd3b294ed39d
Author: Timothy Potter <th...@apache.org>
Date:   2015-05-22T19:58:57Z

    SOLR-7582: Allow auto-commit to be set with system properties in data_driven_schema_configs and enable auto soft-commits for the bin/solr -e cloud example using the Config API.
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681219 13f79535-47bb-0310-9956-ffa450edef68

commit 695774ec0c6634ab73b7364f90aab86938e3547c
Author: Anshum Gupta <an...@apache.org>
Date:   2015-05-22T20:05:51Z

    SOLR-7468: Fix the Kerberos test to use a reconfigured client always.(merge from branch_5x)
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681226 13f79535-47bb-0310-9956-ffa450edef68

commit 866859e8ee066844011970470a50d5bb43c1f569
Author: Timothy Potter <th...@apache.org>
Date:   2015-05-22T20:18:19Z

    Increase the default number of buckets to 65536 instead of 256
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681229 13f79535-47bb-0310-9956-ffa450edef68

commit 8a81cf5df4cb95024cd444830b76bc24a3535764
Author: Uwe Schindler <us...@apache.org>
Date:   2015-05-22T21:36:25Z

    Merged revision(s) 1681236 from lucene/dev/trunk:
    Remove hack for localhost address of old FreeBSD build machine
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681239 13f79535-47bb-0310-9956-ffa450edef68

commit 96cf8cff120e712f04ea4b54f3b753a4069835eb
Author: Chris M. Hostetter <ho...@apache.org>
Date:   2015-05-23T03:36:58Z

    SOLR-7335: Fix doc boosts to no longer be multiplied in each field value in multivalued fields that are not used in copyFields (merge r1681249)
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681260 13f79535-47bb-0310-9956-ffa450edef68

commit 99cb69d85e844470d0822cf8a9e02e007af85e63
Author: Uwe Schindler <us...@apache.org>
Date:   2015-05-23T12:05:48Z

    Merged revision(s) 1681331 from lucene/dev/trunk:
    Fix python3 also in root build.xml (was correct already in common-build.xml)
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681333 13f79535-47bb-0310-9956-ffa450edef68

commit 1af0f9681b4438f73b9bdf135da5436bfef3f80a
Author: Anshum Gupta <an...@apache.org>
Date:   2015-05-24T06:01:12Z

    SOLR-7500: Fix text in the CHANGES.txt entry (merge from branch_5x)
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681416 13f79535-47bb-0310-9956-ffa450edef68

commit 14cfd9608fcc2f82c9d3e8bfacdbf9af1fa57cc0
Author: Shawn Heisey <el...@apache.org>
Date:   2015-05-24T13:56:31Z

    SOLR-7585: Fix NoSuchElementException in LFUCache (merge trunk r1681449)
    
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681456 13f79535-47bb-0310-9956-ffa450edef68

commit 40047ae2abd7d4149aab5ca6499e53330906f169
Author: Timothy Potter <th...@apache.org>
Date:   2015-05-24T16:44:30Z

    SOLR-7587: First attempt at fixing the dead-lock; moved call to UpdateLog.onFirstSearcher to end of the SolrCore constructor as it only needs to run once per core initialization
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681489 13f79535-47bb-0310-9956-ffa450edef68

commit 716675fbab1bcf92b90b54ca216a54fe7d2f7c8b
Author: Simon Willnauer <si...@apache.org>
Date:   2015-05-26T20:43:35Z

    LUCENE-6499: WindowsFS misses to remove open file handle if file is concurrently deleted
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681856 13f79535-47bb-0310-9956-ffa450edef68

commit 320663132a4139fa0ab4101dbf58528a392006e8
Author: Anshum Gupta <an...@apache.org>
Date:   2015-05-27T07:54:24Z

    SOLR-7468: Merging commits to fix test issue from trunk. Commits merged: r1681413 r1681597 r1681778 r1681792
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681926 13f79535-47bb-0310-9956-ffa450edef68

commit f45ce242e5132c1c43484a8b6d39db383d758ca3
Author: Anshum Gupta <an...@apache.org>
Date:   2015-05-27T08:15:40Z

    SOLR-7183: Fix Locale blacklisting for Minikdc based tests.(merge from branch_5x)
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1681928 13f79535-47bb-0310-9956-ffa450edef68

commit 9db945e826669575c95343fba779974cb8bf1d3e
Author: Timothy Potter <th...@apache.org>
Date:   2015-05-27T13:33:28Z

    SOLR-7587: Move the call to seed version buckets to before buffering updates during core construction
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1682019 13f79535-47bb-0310-9956-ffa450edef68

commit 2faf745c5a45ada45541a44899156b1c6acf4d4e
Author: Timothy Potter <th...@apache.org>
Date:   2015-05-28T18:00:08Z

    SOLR-6820: fix numVersionBuckets name attribute in configsets
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1682293 13f79535-47bb-0310-9956-ffa450edef68

commit adee2588dae06180adadf1415ff7583e206000b9
Author: Michael McCandless <mi...@apache.org>
Date:   2015-05-28T18:19:25Z

    LUCENE-6505: NRT readers now reflect prior commit metadata
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1682301 13f79535-47bb-0310-9956-ffa450edef68

commit c3ae50796220ee65fac617f2dd7238e055f3ab5f
Author: Michael McCandless <mi...@apache.org>
Date:   2015-05-28T20:51:59Z

    LUCENE-6507: don't let NativeFSLock.close release other locks
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1682335 13f79535-47bb-0310-9956-ffa450edef68

commit 90ca90726d897bb4d85a715e747155655a1c06cc
Author: Anshum Gupta <an...@apache.org>
Date:   2015-05-28T21:54:32Z

    SOLR-7602: Check if SolrCore object is already closed before trying to close it in case of an exception during Core creation.(merge from branch_5x)
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1682346 13f79535-47bb-0310-9956-ffa450edef68

commit 46b28800f7fe4b8aea12b7326076be91368825fd
Author: Robert Muir <rm...@apache.org>
Date:   2015-05-28T23:05:24Z

    LUCENE-6507: fix test bug to not double-obtain. testDoubleObtain already tests that
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1682354 13f79535-47bb-0310-9956-ffa450edef68

commit e76ed57fde1a5850344ccec64423f2a54f6f80e0
Author: Steven Rowe <sa...@apache.org>
Date:   2015-05-29T21:09:02Z

    LUCENE-5283: Introduce new build property tests.ifNoTests - when its value is 'ignore', 'ant test' will succeed even when zero tests were executed. (merged trunk r1682550)
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1682554 13f79535-47bb-0310-9956-ffa450edef68

commit a98c31e9fda3664e5093a2f68fa25448f3756377
Author: Tomas Eduardo Fernandez Lobbe <tf...@apache.org>
Date:   2015-05-31T05:32:45Z

    SOLR-7406: Use slf4j logger instead of log4j in SimpleFacets
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1682677 13f79535-47bb-0310-9956-ffa450edef68

commit c6111a30853b8f4bead10602af76249757addf31
Author: Erik Hatcher <eh...@apache.org>
Date:   2015-06-02T17:47:56Z

    SOLR-7610: Fix VelocityResponseWriter's .locale to accurately report locale in use (merged from branch_5x)
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1683150 13f79535-47bb-0310-9956-ffa450edef68

commit 4a47acac7bb58dc8b83e9f20ce81c82ec4707884
Author: Anshum Gupta <an...@apache.org>
Date:   2015-06-02T18:59:30Z

    SOLR-7626: Adding versions of major components to the 5.2.0 section of the change log(merge from branch_5x)
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1683160 13f79535-47bb-0310-9956-ffa450edef68

commit 5ebdc34a6807155a9ef67a50b54f583d1df1765e
Author: Timothy Potter <th...@apache.org>
Date:   2015-06-02T20:30:36Z

    SOLR-7625: Ensure that the max value for seeding version buckets is updated after recovery even if the UpdateLog is not replayed.
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1683177 13f79535-47bb-0310-9956-ffa450edef68

commit 5565bdb92ee91a87c684e5ae956ef6db8caa9a55
Author: Erik Hatcher <eh...@apache.org>
Date:   2015-06-02T20:52:07Z

    SOLR-7610: fix example/files README and other minor improvements/localization
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1683184 13f79535-47bb-0310-9956-ffa450edef68

commit 14eec7f2e1f1df3585cb503c9f5b4846584b027b
Author: Yonik Seeley <yo...@apache.org>
Date:   2015-06-03T00:33:26Z

    SOLR-7614: make pivotRefinementCounter specific to each top level request
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1683205 13f79535-47bb-0310-9956-ffa450edef68

commit 6586d9bb87345ae1055e7b408c01bb9ad256e00b
Author: Shawn Heisey <el...@apache.org>
Date:   2015-06-08T18:03:25Z

    SOLR-7588: Fix javascript bug introduced by SOLR-7409 that broke dataimport in admin UI. (merge trunk r1684234)
    
    
    git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_2@1684236 13f79535-47bb-0310-9956-ffa450edef68

----


> NettySolrClient (supported by netty/protobuf)
> ---------------------------------------------
>
>                 Key: SOLR-3192
>                 URL: https://issues.apache.org/jira/browse/SOLR-3192
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 5.2.1
>            Reporter: Linbin Chen
>              Labels: netty
>             Fix For: Trunk, 5x
>
>         Attachments: SOLR-3192-base-5.2.1.patch
>
>
> 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.client.solrj.impl.netty.protocol;
> option java_package = "org.apache.solr.client.solrj.impl.netty.protocol";
> option java_outer_classname = "SolrProtocol";
> option optimize_for = SPEED;
> message Param {
> 	required string key = 1;
> 	// string[]
> 	repeated string value = 2;
> }
> message ContentStream {
> 	optional string name = 1;
> 	optional string sourceInfo = 2;
> 	optional string contentType = 3;
> 	required int64 size = 4;
> 	required bytes stream = 5;
> }
> message SolrRequest {
> 	required int64 rid = 1;
> 	optional string collection =2;
> 	required string path = 3;
> 	// multi param
> 	repeated Param param = 4;
> 	// multi content stream
> 	repeated ContentStream contentStream = 5;
> 	optional string method = 6;
> }
> message ResponseBody {
> 	required string contentType = 1;
> 	required bytes body = 2;
> }
> message KeyValue {
> 	required string key = 1;
> 	required string value = 2;
> }
> message ExceptionBody {
> 	required int32 code = 1;
> 	optional string message = 2;
> 	repeated KeyValue metadata = 3;
> 	optional string trace = 4;
> }
> message SolrResponse {
> 	required int64 rid = 1;
> 	optional ResponseBody responseBody = 2;
> 	//maybe multi Exception
> 	repeated ExceptionBody exceptionBody = 3;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org