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

ASF subversion and git services commented on SOLR-10250:
--------------------------------------------------------

Commit 659882790ac4213036b45242b58fceb2f33f2b43 in lucene-solr's branch 
refs/heads/branch_6x from [~ichattopadhyaya]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6598827 ]

SOLR-10250: CloudSolrClient can now return versions for documents added or 
deleted when versions=true is passed


> 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
>            Assignee: Ishan Chattopadhyaya
>              Labels: locking, optimistic
>         Attachments: SOLR-10250.patch, SOLR-10250.patch
>
>
> 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