On Sun, Jun 13, 2010 at 6:55 AM, Avdhesh Yadav <[email protected]> wrote:
> Hi,
>
> I think storing remote images in the local repository is a not a very good
> idea.Instead we can store some meta data like title,description , image url
> etc.Users can "resync" contents automatically (Periodically) and
> manually(from admin ui).Only indexes and meta data should be updated during
> the "resyncs" but there would still chances that the contents are not in
> sync for a while.But thats fine because quering very frequently would kill
> the performance.
>
>

+1

> On Sun, Jun 13, 2010 at 3:21 PM, Phillipe Ramalho <
>> > The search component needs to be notified when a picture is added or
>> > removed, then the search index can be updated, otherwise the search
>> results
>> > could retrieve pictures that no longer exist. Take a look into my latest
>> > patch at [1] and see how jcralbum notifies the gallery, about
>> added/removed
>> > pictures. The search component will be listening to changes notified to
>> the
>> > gallery.
>> >

Based on Avdhesh comments above, the notification of a "picture added"
or "picture removed" is something conceptual and does not require the
actual picture to be stored locally, so, if a new image is added in
the remote subscription, when then sync occurs, adding the "image
metadata" should trigger the search indexer event.


-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/

Reply via email to