dsmiley opened a new pull request #2181:
URL: https://github.com/apache/lucene-solr/pull/2181


   https://issues.apache.org/jira/browse/SOLR-15069
   Repeated issue description:
   The `parentFilter` param to `[child]` was once required, and then made only 
optional if you have a `_nest_path_` field, but I think it can be optional 
(perhaps obsolete) altogether.  All we have to do is grab the uniqueKey field 
from the document to be transformed, look this up in the `_root_` field, and 
you'll get the internal Lucene docId of the first child doc.  No problem, and 
quick.
   
   CC @moshebla  @thomaswoeckinger
   
   I came about doing this because I too-soon documented in #2159 that 
`_nest_path_` field was no longer required for doing atomic/partial updates in 
a nested schema.  Instead of removing the documentation I wrote, and then 
realizing I would then need to add safety prevention (otherwise child docs 
could vanish on updates!)... it occurred to me, lets just make it work :-)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to