On Fri, Oct 3, 2008 at 10:44 PM, Grant Ingersoll <[EMAIL PROTECTED]>wrote:
> > What about somehow using the fact that the variable resolver needs to > resolve solrFeed.link and then go get all entries from Solr to get those > values, such that the child entity can then be tested? > That may be possible. Here is another idea that might work. Keep the current RSS root entity and DB child relationship and use it for full-imports. Create another set of entities with DB root entity and RSS child relationships and use for delta-imports. You can provide an entity request parameter for an import command. This way both full and delta will work and you will get all the data. > Essentially, what I am interested in is a join across data sources. I > realize that is non-trivial, but boy would it be powerful. Yeah, that will be very powerful but implementing that in a general way is a design challenge. > Yeah, that bothers me, too. My dataimport.properties contains: > [EMAIL PROTECTED] cat dataimport.properties > #Fri Oct 03 12:09:29 EDT 2008 > last_index_time=2008-10-03 12\:09\:28 > > And, when querying by hand my DB shows: > > select * from feeds where last_modified > '10/03/2008'; > > > feed > | rating | last_modified > > ---------------------------------------------------------------------------+--------+--------------------- > http://lucene.grantingersoll.com/2008/06/21/solr-spell-checking-addition/ | > 4.9 | 2008-10-04 11:04:00 > (1 row) > > So, I am reasonably certain there is a change. > > I think the reason is, if you notice further down in the log, is that it > processes the entities separately. In other words, is the DB entity even > getting resolved in the context of the parent entity? Or, is it not > resolving the ${solrFeed.link} clause of the delta query? > Ah yes, I missed that. The delta import works by traversing the entity tree bottom-up. So the delta query for the child most entity is evaluated first, then the parentDeltaQuery and then we go up to the parent entity. Therefore, parent variables will not work in a deltaQuery. -- Regards, Shalin Shekhar Mangar.