> -----Original Message-----
> From: Chris Hostetter [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 17, 2007 1:28 PM
> To: solr-user@lucene.apache.org
> Subject: RE: Triggering snapshooter through web admin interface
>
>
> : I was also suggesting a new feature to allow sending messages to
Solr
> : through http interface and a mechanism to handling the message on
the
> : Solr server; in this case, a message to trigger snapshooter script.
It
> : seems to me, a very useful feature to help simplify operational
issues.
>
> it's been a while since i looked at the SolrEventListener stuff, but i
> think that would be pretty easy to develop as a plugin.
>
> The existing postCommit/postOptimizefirstSearcher/newSearcher event
> listener tracking are part of hte SolrCore because it needs to know
about
> them when managing the index ... but if you just wanted a way to
trigger
> arbitrary events by name, the utility functions used in SolrCore could
be
> reused by a custom plugin ... then you could reuse things like the
> RunExecutableListener from your own RequestHandler with the same
> solrconfig.xml syntax.
>
> that would be a pretty cool addition to Solr ... an
"EventRequestHandler"
> that takes in a single "event" param and triggers all of the Listeners
> configured for that even in the solrconfig.xml
>
>
> -Hoss
>
[Wu, Daniel] That sounds great. Do I need to create a JIRA ticket?