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

Atomic update and adding child doc not working together

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.10
    • Fix Version/s: 8.1
    • Component/s: None
    • Labels:
      None

      Description

      Was able to reproduce the issue reported here:
      http://qnalist.com/questions/5175783/solrj-bug-related-to-solrj-4-10-for-having-both-incremental-partial-update-and-child-document-on-the-same-solr-document

      The following two failing tests:

      1.
      a) Add a document 'parent'. Commit.
      b) Make atomic update to 'parent' doc
      c) Add a child doc to 'parent'. Commit.

      Expected 2 documents, Actual 1 document

      2.
      a) Add a document with id 'parent'
      b) Add another document with id 'parent' with a child 'child'. Commit

      Expected 2 documents (the overwritten parent document and the child), Actual 3 documents (two documents with the id 'parent').

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              dsmiley David Smiley
              Reporter:
              ichattopadhyaya Ishan Chattopadhyaya

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment