yeah the behavior you are observing is right. Now I have second
thoughts on how it should be. I guess , if the deltaImportQuery is
present in a child entity it should be used. you can open an issue

--Noble

On Thu, May 7, 2009 at 12:33 AM, Martin Davidsson
<martin.davids...@gmail.com> wrote:
> Hello, 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 to figure out what data to use in
> the case of a delta-import. Is the behavior I'm seeing expected? Is it
> possible to write data-config.xml in a way that I can use different queries
> to pull in the field data for a child entity depending on whether I'm doing
> a full- or delta-import? I'm using the nightly build from March 24, 2009.
> Thanks!
>
> -- Martin Davidsson
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com

Reply via email to