Ishan Chattopadhyaya created SOLR-6596:
------------------------------------------
Summary: Atomic update and adding child doc not working together
Key: SOLR-6596
URL: https://issues.apache.org/jira/browse/SOLR-6596
Project: Solr
Issue Type: Bug
Affects Versions: 4.10
Reporter: Ishan Chattopadhyaya
Priority: Minor
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').
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]