I have an index with nested documents.
Afterwards I add the following documents:
After performing the following query
I get a correct answer (child matches parent, check root field)
Afterwards I try to update one document:
After performing the previous query I get the right result (like the previous one but with the pName field updated).
The problem only comes after performing an optimize.
Now, the same query yields the following result:
As can be seen, the document with id:2 now contains the child with id:11 that belongs to the document with id:1.
I haven't found any references on the web about this except http://blog.griddynamics.com/2013/09/solr-block-join-support.html
Is this problem known? Is there a workaround for this?