Yes. i was looking for some kind of event listeners for client :) On 26 March 2016 at 21:46, Andrea Gazzarini <gxs...@gmail.com> wrote:
> Hi Anil, > If with "Application" you mean an external / remote Application then > there's no such pre-built mechanism to do that. > > The event is not notifies "in" your application or "to" your application. > Solr knows nothing about it. > > Specifically, event listeners allows you to do something when a given event > happens...what exactly is "something" it's up to you; for instance you > could (asynch) send a http message to your API, send a message to a queue, > send a GCM message to some mobile device, or in general: everything :) but > again, this is up to you. > > Andrea > On 26 Mar 2016 15:46, "Anil" <anilk...@gmail.com> wrote: > > > HI Alex, > > > > i am still no clear how an event is notified in my application if it > > listener is configured in SolrConfig.xml (centralized solr server). can > you > > please clarify? > > > > Sorry for dumb question. > > > > Thanks, > > Anil > > > > On 26 March 2016 at 19:48, Andrea Gazzarini <gxs...@gmail.com> wrote: > > > > > Hi Anil, > > > see here [1] where I did some data pre-loading at solr startup. The > post > > > has been written in 2014 so maybe something could have a different name > > > (class, methods) > > > > > > Best, > > > Andrea > > > > > > [1] > > > > > > > > > http://andreagazzarini.blogspot.it/2014/11/preloading-data-at-solr-startup.html > > > On 26 Mar 2016 15:14, "Anil" <anilk...@gmail.com> wrote: > > > > > > > Thanks Alex. Let me digg more in that area. > > > > > > > > On 26 March 2016 at 19:40, Andrea Gazzarini <gxs...@gmail.com> > wrote: > > > > > > > > > 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 > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > >