Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10250

SolrCloudClient doesn't return 'adds' in Response when 'versions' is requested

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4.1
    • Fix Version/s: 6.5, 7.0
    • Component/s: SolrJ
    • Security Level: Public (Default Security Level. Issues are Public)

      Description

      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.

        Attachments

        1. SOLR-10250.patch
          5 kB
          Boris Naguet
        2. SOLR-10250.patch
          5 kB
          Ishan Chattopadhyaya

          Issue Links

            Activity

              People

              • Assignee:
                ichattopadhyaya Ishan Chattopadhyaya
                Reporter:
                BorisNaguet Boris Naguet
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: