You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Peter Sturge <pe...@gmail.com> on 2010/06/29 11:23:40 UTC

Solr search streaming/callback

Hi,

I was wondering if anyone was aware of any existing functionality where
clients/server components could register some search criteria and be
notified of newly committed data matching the search when it becomes
available
- a 'push/streaming' search, rather than 'pull'?

Thanks!

Re: Solr search streaming/callback

Posted by Chris Hostetter <ho...@fucit.org>.
: I was wondering if anyone was aware of any existing functionality where
: clients/server components could register some search criteria and be
: notified of newly committed data matching the search when it becomes
: available

you can register a "postCommit" listener in your solrconfig.xml file ... 
that could either be a custom plugin to execute searches and "push" them 
somewhere else, or using the existing RunExecutableListener you could 
execute any command line app to "pull" the data on demand (and push it 
where ever you want) w/o customizing solr at all.




-Hoss