[DIH] deltaImportQuery attribute is not used in child entities
--------------------------------------------------------------

                 Key: SOLR-1199
                 URL: https://issues.apache.org/jira/browse/SOLR-1199
             Project: Solr
          Issue Type: Bug
          Components: contrib - DataImportHandler
    Affects Versions: 1.3
            Reporter: Martin Davidsson


>From a message to solr-users (Noble Paul suggested I create an issue):

I have a data-config.xml that is structured in the following fashion:

<document>
  <entity name="parent" query="fullParentQuery" 
deltaImportQuery="deltaParentImportQuery" deltaQuery="deltaParentQuery">
     <entity name="child" query="fullChildQuery" 
deltaImportQuery="deltaChildImportQuery" />
  </entity>
</document>

Is the deltaImportQuery attribute even allowed on the child entity? The 
behavior I'm seeing is that when I issue a delta-import command, Solr uses the 
deltaParentImportQuery and deltaParentQuery from the parent entity but the 
fullChildQuery from the child entity. I was hoping it would use the 
deltaChildImportQuery on the child entity, if it exists, to figure out what 
data to use in the case of a delta-import.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to