[ https://issues.apache.org/jira/browse/SOLR-12685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16602699#comment-16602699 ]
mosh edited comment on SOLR-12685 at 9/4/18 7:44 AM: ----------------------------------------------------- {quote}A ticket for the RTG handler(RealTimeGetComponent#process). {quote} I was thinking about this one, it has been a tough one alright! Wouldn't this result in a major difference from an API perspective between the search component and the RTG component? When querying a document by id, unless ChildDocTransformer is specified in the fl, only the matching document is returned. The same applies to the RTG handler. When a request is made where ChildDocTranformer is supplied, the whole block is returned. This makes sense to me, unless there is a specific need for the "/get" handler to possess the ability of returning the whole block if exists, I can not foresee any reason for this change. Unless, of course, there is a concrete requirement for this logic during the replication process. was (Author: moshebla): {quote}A ticket for the RTG handler(RealTimeGetComponent#process). {quote} I was thinking about this one, it has been a tough one alright! Wouldn't this result in a major difference from an API perspective between the search component and the RTG component? When querying a document by id, unless ChildDocTransformer is specified in the fl, only the matching document is returned. The same applies to the RTG handler. When a request is made where ChildDocTranformer is supplied, the whole block is returned. This makes sense to me, unless there is a specific need for the "/get" handler to possess the ability of returning the whole block if exists, I can not foresee any reason for this change. Unless, of course, there is a concrete requirement for this logic in the replication process. > RTG should return the whole block if schema is nested > ----------------------------------------------------- > > Key: SOLR-12685 > URL: https://issues.apache.org/jira/browse/SOLR-12685 > Project: Solr > Issue Type: Sub-task > Security Level: Public(Default Security Level. Issues are Public) > Reporter: mosh > Priority: Major > Attachments: SOLR-12638-no-commit.patch > > > Currently Solr's RealTimeGet component return the document if provided a > docId when consulting the index. For AtomicUpdates for child documents, RTG > should return the whole block when dealing with a nested schema. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org