context is available for each entity but the implementation just
stores one value for last_index_time.
If it stored the last_index_time per top-level entity it could return
the correct value from context.

Anyway raise an issue and I can provide a patch soon

something like this also shall be supported

${dataimporter.[name of entity].last_index_time}

On Sat, Sep 20, 2008 at 9:32 PM, Jon Baer <[EMAIL PROTECTED]> wrote:
> Would that context but available for *each* entity?  @ present it seems like
> there should be a last_index_time written for each top level entity ... no?
>
> Umm would it be possible to hack something like ${deltaimporter.[name of
> entity].last_index_time} as is or are there too many moving parts?
>
> Thanks.
>
> - Jon
>
> On Sep 20, 2008, at 9:21 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote:
>
>> the if an entity is specified like entity=one&entity=two the command
>> will be run only for those entities. absence of the parameter entity
>> means all entities will be executed
>>
>> the last_index_time is another piece which must be improved
>>
>> It is hard to get usecases . If users  can give me more usecases it
>> would be great.
>>
>> One thing I have in mind is allo users to store arbitrary properties
>> though API say context.persistProperty("key","value")
>> and you must be able to read it back using
>> context.getPersistedProperty("key");
>>
>> This would be a generic enough for users to get going
>>
>> thoughts.
>>
>> --Noble
>>
>> On Sat, Sep 20, 2008 at 1:52 AM, Jon Baer <[EMAIL PROTECTED]> wrote:
>>>
>>> Actually how does ${deltaimporter.last_index_time} know which entity Im
>>> specifically updating?  I feel like Im missing something, can it work
>>> like
>>> that?
>>>
>>> Thanks.
>>>
>>> - Jon
>>>
>>> On Sep 19, 2008, at 4:14 PM, Jon Baer wrote:
>>>
>>>> Question -
>>>>
>>>> So if I issued a dataimport?command=delta-import&entity=one,two,three
>>>>
>>>> Would this also hit items w/o a delta-import like four,five,six, etc?
>>>>  Im
>>>> trying to set something up and I ended up with 28k+ documents which
>>>> seems
>>>> more like a full import, so do I need to do something like
>>>> delta-query="" to
>>>> say no delta?
>>>>
>>>> @ the moment I dont have anything defined for those since I don't need
>>>> it,
>>>> just wondering what the proper behavior is suppose to be?
>>>>
>>>> Thanks.
>>>>
>>>> - Jon
>>>
>>>
>>
>>
>>
>> --
>> --Noble Paul
>
>



-- 
--Noble Paul

Reply via email to