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

Atomic update and adding child doc not working together

    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

        1. SOLR-6596-tests.patch
          3 kB
          Ishan Chattopadhyaya
        2. SOLR-6596-tests.patch
          4 kB
          David Smiley

          Issue Links

            Activity

              People

              • Assignee:
                dsmiley David Smiley
                Reporter:
                ichattopadhyaya Ishan Chattopadhyaya
              • Votes:
                5 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: