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

Archana Reddy commented on SOLR-1153:
-------------------------------------

We are facing a similar issue but out use case is nested entity.

we have the below nested entitties

ParentEntity
    chilld1Entity
         child2Entity.

child1Entity is child of ParentEntity and parent of child2Entity. Child2Entity 
is child of child1Entity.

when we add deltaImportQuery on child2Entity. It is not executing 
deltaImportQuery during delta import.
I found that below code(#503) in the DocBuilder class is restricting the 
deltaImportQuery from not being executed at the nested child entity level.
for (EntityProcessorWrapper child : epw.getChildren()) {
              buildDocument(vr, doc,
                  child.getEntity().isDocRoot() ? pk : null, child, false, ctx, 
entitiesToDestroy);
            }


> deltaImportQuery should be honored on child entities as well
> ------------------------------------------------------------
>
>                 Key: SOLR-1153
>                 URL: https://issues.apache.org/jira/browse/SOLR-1153
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1153.patch
>
>
> currently , only the root-entity can have this attribute



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to