Or write your own query component mapping /solr/* in the web.xml, exposing the 
request by a thread-local through a filter, and reading this setting the 
appropriate query parameters...

Performance-wise, this seems quite reasonable I think.

paul


Le 26 avr. 2012 à 16:58, Paul Libbrecht a écrit :

> Have you tried using mod_rewrite for this?
> 
> paul
> 
> 
> Le 26 avr. 2012 à 15:16, Björn Zapadlo a écrit :
> 
>> Hello,
>> 
>> I'm thinking about using a Solr index for routing a webapp.
>> 
>> I have pregenerated base urls in my index. E.g.
>> /foo/bar1
>> /foo/bar2
>> /foo/bar3
>> /foo/bar4
>> /bar/foo1
>> /bar/foo2
>> /bar/foo3
>> 
>> I try to find a way to match /foo/bar3/parameter1/value1/parameter2/value2 
>> without knowing that parameter and value are not part of the base url. In 
>> fact I need the best hit from the beginng.
>> Is that possible and are there any performance issues?
>> 
>> I hope my problem is understandable!
>> 
>> Thanks in advance and best regards,
>> Bjoern
> 

Reply via email to