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

Atomic update and adding child doc not working together

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.10
    • 8.1
    • None
    • 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
          4 kB
          David Smiley
        2. SOLR-6596-tests.patch
          3 kB
          Ishan Chattopadhyaya

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: