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.


-- 
Avdhesh Yadav
http://www.avdheshyadav.com
http://twitter.com/yadavavdhesh

On Sun, Jun 13, 2010 at 3:21 PM, Phillipe Ramalho <
[email protected]> wrote:

> Ah, I forgot about the link:
>
> [1] - https://issues.apache.org/jira/browse/PHOTARK-28
>
> On Sun, Jun 13, 2010 at 5:12 AM, Phillipe Ramalho <
> [email protected]> wrote:
>
> > Hi Luis,
> >
> > 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.
> >
> > I hope that answers your question ;)
> >
> > Phillipe Ramalho
> >
> >
> > On Sat, Jun 12, 2010 at 8:48 PM, Luis Fernando Carmo <
> [email protected]>wrote:
> >
> >> My initial thoughts were to retrieve subscribed albums when they were
> >> requested, and not really store anything locally. But I was wondering
> >> if there are any special requirements by the  "search functionality"
> >> being developed. Do we need to have any information stored locally for
> >> these subscriptions ? If so, what are the requirements on "resyncing"
> >> these subscription information to retrieve new images and remove the
> >> ones deleted from the remote album?
> >>
> >> - Luis
> >>
> >
> >
> >
> > --
> > Phillipe Ramalho
> >
>
>
>
> --
> Phillipe Ramalho
>

Reply via email to