You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2021/01/06 17:10:00 UTC

[jira] [Commented] (SOLR-15069) child doc transformer should make parentFilter obsolete

    [ https://issues.apache.org/jira/browse/SOLR-15069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17259888#comment-17259888 ] 

David Smiley commented on SOLR-15069:
-------------------------------------

I'll be committing this later today.  I know I only filed the PR yesterday but it's a dependency of  SOLR-14923 for 8.8.  Tests/precommit pass – low risk – should not disrupt existing users.

> child doc transformer should make parentFilter obsolete
> -------------------------------------------------------
>
>                 Key: SOLR-15069
>                 URL: https://issues.apache.org/jira/browse/SOLR-15069
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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