dsmiley opened a new pull request #2159: URL: https://github.com/apache/lucene-solr/pull/2159
https://issues.apache.org/jira/browse/SOLR-14923 * UpdateLog.openRealtimeSearcher() was being called for every incoming document when the schema had _nest_path_. It is now more limited to in-place-update of a child doc and in /get when a child doc is given, both of which are uncommon. * Atomic/partial updates to nested documents should be faster. In-place updates of the same might be slower (needs to call openRealtimeSearcher). Refactoring & minor bugs/improvements: * Simplified AddUpdateCommand.getLuceneDoc & getLuceneDocsIfNested relationship, and DirectUpdateHandler2 which calls them. * AddUpdateCommand.getIndexedId needed to be updated when _route_ was specified. * NestedShardedAtomicUpdateTest no longer extends AbstractFullDistribZkTestBase because it wasn't really leveraging the "control client" checking, and it added too much complexity to debug failures. * AtomicUpdateDocumentMerger: simplified merge; possibly now supports updates to anonymous children * No longer need RTG.Resolution.DOC_WITH_CHILDREN ---------------------------------------------------------------- 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