Ok, so I installed tucky on Tomcat 6.0. I have the following configuration:
/solr-p <- the solr configuration /solr <- the tucky configuration I want to redirect request such as http://localhost:8080/solr/select/?q=Somename&... to a different address, and this is promptly done with rule: <rule> <!-- name is useful for debugging purpose --> <name>RuleAlessi</name> <from>^/select/\?q=[Aa]lessi&.*$</from> <to last="true" type="redirect" >/design/searchresult.asp/ene_m/4294950939/dept/design/</to> </rule> I have many of these rule and they works. If none of these rules are matched, I want to *forward* request http://localhost:8080/solr/select/?q=NonMatchedQuery&... to http://localhost:8080/solr-p/select/?q=NonMatchedQuery&... It works with the following rule: <rule> <name>LastRule</name> <from>/(.*)</from> <to type="redirect">/solr-p/$1</to> </rule> but it shows me on the browser's address bar the 'solr-p' thing, and this is not desired. If I change the rule to <rule> <name>LastRule</name> <from>/(.*)</from> <to context="solr-p">/$1</to> </rule> it seems that the forwarding is done correctly, but the answer to http://localhost:8080/solr/admin/ is HTTP Status 400 - Missing solr core name in path while if I access to http://localhost:8080/solr-p/admin/ it works as expected. According to Tomcat's log files, it seems that the forwarding is done correctly. Please, could anybody explain me what's going on there? Thanks ________________________________________ Inizio: Ranveer Kumar [ranveer.s...@gmail.com] Inviato: giovedì 6 ottobre 2011 10.21 Fine: solr-user@lucene.apache.org Oggetto: Re: URL Redirect Tucky can also help you if you are u Sing java.. On Oct 6, 2011 1:24 PM, "Finotti Simone" <tech...@yoox.com> wrote: > Hello, > > I have been assigned the task to migrate from Endeca to Solr. > > The former engine allowed me to set keyword triggers that, when matched exactly, caused the web client to redirect to a specified URL. > > Does that feature exist in Solr? If so, where can I get some info? > > Thank you