Re: Solr event listerns

2016-03-26 Thread Anil
Yes. i was looking for some kind of event listeners for client :) On 26 March 2016 at 21:46, Andrea Gazzarini 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 applica

Re: Solr event listerns

2016-03-26 Thread Andrea Gazzarini
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 give

Re: Solr event listerns

2016-03-26 Thread Anil
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 wrote: > Hi Anil, > see here [1] where I

Re: Solr event listerns

2016-03-26 Thread Anil
Thanks. Perfect. i was looking at same post :) On 26 March 2016 at 19:48, Andrea Gazzarini 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

Re: Solr event listerns

2016-03-26 Thread Andrea Gazzarini
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"

Re: Solr event listerns

2016-03-26 Thread Anil
Thanks Alex. Let me digg more in that area. On 26 March 2016 at 19:40, Andrea Gazzarini 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

Re: Solr event listerns

2016-03-26 Thread Andrea Gazzarini
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 commen

Re: Solr event listerns

2016-03-26 Thread Anil
Can solr notify other systems on commit of document ? On 26 March 2016 at 13:59, Alexandre Rafalovitch 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, >

Re: Solr event listerns

2016-03-26 Thread Alexandre Rafalovitch
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 1

Re: Solr event listerns

2016-03-25 Thread Anil
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

Re: Solr event listerns

2016-03-25 Thread Alexandre Rafalovitch
Have you looked at UpdateRequestProcessors? Plus check solrconfig.xml for listeners on commit. Regards, Alex On 26 Mar 2016 3:54 pm, "Anil" wrote: > HI, > > Does solr support event (document create, update, delete) listeners ? > > Thanks, > Anil >