lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <mkhlud...@griddynamics.com>
Subject Re: customization for SolrRequestParsers
Date Fri, 24 Feb 2012 20:03:21 GMT
Ryan,

I did it too, but just for curious, what was the idea of "pick a different
parser based on request"?

On Fri, Feb 24, 2012 at 11:06 PM, Ryan McKinley <ryantxu@gmail.com> wrote:

> I don't know exactly what you are trying to do... but you *may* be able to
> do it by overriding SolrDispatchFilter#execute(...)
>
> In my app, we add authentication tokens to the request context there.
>
>
>
> On Fri, Feb 24, 2012 at 7:49 AM, Mikhail Khludnev <
> mkhludnev@griddynamics.com> wrote:
>
>> Hello,
>>
>> I see that some sort of customization was expected
>> for SolrRequestParsers.
>> http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/servlet/SolrRequestParsers.java?view=markup
>>
>> line
>>  97 // I don't see a need to have this publicly configured just yet
>> and
>>  111 // TODO -- in the future, we could pick a different parser based on
>> the request
>>
>> I need to plug some code which will parse request and add additional
>> stuff iinto req.context. I'd be happy to contribute it, but want to know
>> what was an intention.
>>
>> Thanks in advance
>>
>> --
>> Sincerely yours
>> Mikhail Khludnev
>> Lucid Certified
>> Apache Lucene/Solr Developer
>> Grid Dynamics
>>
>>  <http://www.griddynamics.com>
>>  <mkhludnev@griddynamics.com>
>>
>>
>


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

<http://www.griddynamics.com>
 <mkhludnev@griddynamics.com>

Mime
View raw message