[
https://issues.apache.org/jira/browse/SOLR-12638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16870426#comment-16870426
]
mosh commented on SOLR-12638:
-----------------------------
Quoting [~dsmiley]'s comment on ticket SOLR-13523:
{quote}I'm also rather concerned about the potential for serious performance
degradation on indexing introduced by the caller of this method which will call
ulog.openRealtimeSearcher. This is new in 8.1 and only activated when
"isUsableForChildDocs" (i.e. merely has a root) and if the incoming doc has a
nested doc. Granted this is a separate issue we could discuss on SOLR-12638
which added it.
{quote}
Removing
[ulog.openRealtimeSearcher()|https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java#L493],
causes NestedShardedAtomicUpdateTest#test to fail, since RTGComponent is not
aware of the newly indexed yet not committed child docs.
When removing ulog.openRealtimeSearcher(DistributedUpdateProcessor.java:493)
and running NestedShardedAtomicUpdateTest#test,
I am getting this error "Could not find document id=2, perhaps the wrong
"_route_" param was supplied".
> Support atomic updates of nested/child documents for nested-enabled schema
> --------------------------------------------------------------------------
>
> Key: SOLR-12638
> URL: https://issues.apache.org/jira/browse/SOLR-12638
> Project: Solr
> Issue Type: Sub-task
> Reporter: mosh
> Assignee: David Smiley
> Priority: Major
> Fix For: 8.1
>
> Attachments: SOLR-12638-delete-old-block-no-commit.patch,
> SOLR-12638-nocommit.patch, SOLR-12638.patch, SOLR-12638.patch
>
> Time Spent: 17h 10m
> Remaining Estimate: 0h
>
> I have been toying with the thought of using this transformer in conjunction
> with NestedUpdateProcessor and AtomicUpdate to allow SOLR to completely
> re-index the entire nested structure. This is just a thought, I am still
> thinking about implementation details. Hopefully I will be able to post a
> more concrete proposal soon.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]