Event listeners are custom classes so you could do "anything"....however I
guess the event firing is synchronous so the listener logic should be
no-blocking and as fast as possible.

But this is my guess, I hadn't look at the code. Instead, if the listener
invocation is asynch then forget my comment, the answer is yes.

Best,
Andrea
On 26 Mar 2016 15:03, "Anil" <anilk...@gmail.com> wrote:

> Can solr notify other systems on commit of document ?
>
> On 26 March 2016 at 13:59, Alexandre Rafalovitch <arafa...@gmail.com>
> wrote:
>
> > Well, the updated documents are not visible until the commit. So,
> > perhaps you just need the commit listeners then. Those could be any
> > external scripts I believe.
> >
> > Regards,
> >    Alex.
> > ----
> > Newsletter and resources for Solr beginners and intermediates:
> > http://www.solr-start.com/
> >
> >
> > On 26 March 2016 at 17:14, Anil <anilk...@gmail.com> wrote:
> > > Thanks Alex.
> > >
> > > i have gone through it. i am building a use case where cache has to
> > updated
> > > in my application when there is update or addition of solr document
> > happens.
> > >
> > > i am not sure event listeners  of Update handler would fit the use
> case.
> > >
> > > What do you say ? please share your ideas.
> > >
> > > Thanks,
> > > Anil
> > >
> > > On 26 March 2016 at 10:26, Alexandre Rafalovitch <arafa...@gmail.com>
> > wrote:
> > >
> > >> Have you looked at UpdateRequestProcessors?
> > >>
> > >> Plus check solrconfig.xml for listeners on commit.
> > >>
> > >> Regards,
> > >>     Alex
> > >> On 26 Mar 2016 3:54 pm, "Anil" <anilk...@gmail.com> wrote:
> > >>
> > >> > HI,
> > >> >
> > >> > Does solr support event (document create, update, delete) listeners
> ?
> > >> >
> > >> > Thanks,
> > >> > Anil
> > >> >
> > >>
> >
>

Reply via email to