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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.4.1
    • 6.5, 7.0
    • SolrJ

    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

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

              Dates

                Created:
                Updated:
                Resolved: