You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Boris Naguet (JIRA)" <ji...@apache.org> on 2017/03/08 18:11:38 UTC
[jira] [Comment Edited] (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=15901690#comment-15901690 ]
Boris Naguet edited comment on SOLR-10250 at 3/8/17 6:11 PM:
-------------------------------------------------------------
Thanks for feedback
OK, I'm currently using _.sendUpdatesOnlyToShardLeaders().sendDirectUpdatesToShardLeadersOnly()_ on SolrJ (though I'm not sure about it) but there's still the leader election possibility...
Any reason it's been opened for so long?
Not a widely used/recommanded usage?
We're totally depending on that in our platform... but of course we can still make a "GET after POST" when it's not returned
was (Author: borisnaguet):
Thanks for feedback
OK, I'm currently using _.sendUpdatesOnlyToShardLeaders().sendDirectUpdatesToShardLeadersOnly()_ on SolrJ (though I'm not sure about it) but there's still the leader election possibility...
Any reason it's been opened for so long?
Not a widely used/recommanded usage?
> 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