Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
Solr, mail # user - does solr have a mechanism for intercepting requests - before they are handed off to a request handler


+
geeky2 2012-03-09, 17:11
Copy link to this message
-
Re: does solr have a mechanism for intercepting requests - before they are handed off to a request handler
Mikhail Khludnev 2012-03-09, 20:13
I'm doing something like that by hacking SolrRequestParsers, I tried to
find more legal way but haven't found it
http://mail-archives.apache.org/mod_mbox/lucene-dev/201202.mbox/%3CCAF=Pa597RpLjVWZbM=0AKTJHPneA4m931j0S1s4BdA4qE+[EMAIL PROTECTED]%3E

I added <solrRequestParsers> into solrconfig.xml
https://github.com/m-khl/solr-patches/commit/f92018818b20d79b01d795f2c52446b499023dd8#diff-4

Also, have you considered j2ee's webapp servlet filters?

On Fri, Mar 9, 2012 at 9:11 PM, geeky2 <[EMAIL PROTECTED]> wrote:

> hello all,
>
> does solr have a mechanism that could intercept a request (before it is
> handed off to a request handler).
>
> the intent (from the business) is to send in a generic request - then
> pre-parse the url and send it off to a specific request handler.
>
> thank you,
> mark
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/does-solr-have-a-mechanism-for-intercepting-requests-before-they-are-handed-off-to-a-request-handler-tp3813255p3813255.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

--
Sincerely yours
Mikhail Khludnev
Lucid Certified
Apache Lucene/Solr Developer
Grid Dynamics

<http://www.griddynamics.com>
 <[EMAIL PROTECTED]>
+
William Bell 2012-03-11, 07:39