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 2017/03/08 17:40:38 UTC
[jira] [Commented] (SOLR-10250) SolrCloudClient doesn't return
'adds' in Response when 'versions' is requested
[ https://issues.apache.org/jira/browse/SOLR-10250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15901632#comment-15901632 ]
ASF GitHub Bot commented on SOLR-10250:
---------------------------------------
GitHub user BorisNaguet opened a pull request:
https://github.com/apache/lucene-solr/pull/164
SOLR-10250: SolrCloudClient doesn't return 'adds' in Response when' versions' is requested
SolrCloudClient doesn't return 'adds' in Response when' versions' is requested
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/BorisNaguet/lucene-solr SOLR-10250-versions-adds
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/164.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 #164
----
commit 99bc8fa1c8ae6666996426afc9521e7604a1234c
Author: Boris Naguet <bo...@worldline.com>
Date: 2017-03-08T17:37:46Z
SOLR-10250: SolrCloudClient doesn't return 'adds' in Response when
'versions' is requested
----
> SolrCloudClient doesn't return 'adds' in Response when 'versions' is requested
> ------------------------------------------------------------------------------
>
> Key: SOLR-10250
> URL: https://issues.apache.org/jira/browse/SOLR-10250
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrJ
> Affects Versions: 6.4.1
> Reporter: Boris Naguet
> Labels: locking, optimistic
>
> Hello,
> On our project we run Solr 4.2 but we're migrating to latest SolrCloud.
> We use optimistic locking, and when we post new documents we directly ask the version with the "versions" parameter. The response is in a "adds" field.
> I can't even find a doc explaining that but it works :)
> With Solr 5 (we did a few tests some time ago), 6.2 and 6.4.1 the Solr response has these "adds" but they're lost by the SolrJ client when aggregating responses from different Shards.
> I have a patch that I'll propose via Github.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org