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

Boris Naguet commented on SOLR-10250:
-------------------------------------

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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to