On Fri, Oct 16, 2015 at 10:41 PM, Jamie Johnson <jej2...@gmail.com> wrote:
> Is this expected to work? I think it is. I'm still not sure I understand the question. But let me bring some details from SOLR-3076: - Solr's <uniqueKey> backs on Lucene's "deleteTerm" which is supplied into indexWriter.updateDocument(); - when parent document has children, <uniqueKey> is not a deleteTerm but its' value is used for "deleteTerm" for field "_root_" see https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/java/org/apache/solr/update/DirectUpdateHandler2.java#L251 - thus for block updates uniqueKey is (almost) meaningless. It lacks of elegance, but that's it. -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>