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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

      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
          Ishan Chattopadhyaya
        2. SOLR-10250.patch
          5 kB
          Boris Naguet

        Issue Links

          Activity

            People

            • Assignee:
              ichattopadhyaya Ishan Chattopadhyaya
              Reporter:
              BorisNaguet Boris Naguet

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment