URL Redirect
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
R: URL Redirect
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: RuleAlessi ^/select/\?q=[Aa]lessi&.*$ /design/searchresult.asp/ene_m/4294950939/dept/design/ 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: LastRule /(.*) /solr-p/$1 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 LastRule /(.*) /$1 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" 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
R: URL Redirect
Hi, for those who may be interested, I resolved it (with a little help from urlrewrite user group :-) ) by using type="proxy" rule. S ____ Inizio: Finotti Simone [tech...@yoox.com] Inviato: venerdì 7 ottobre 2011 11.38 Fine: solr-user@lucene.apache.org Oggetto: R: URL Redirect 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: RuleAlessi ^/select/\?q=[Aa]lessi&.*$ /design/searchresult.asp/ene_m/4294950939/dept/design/ 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: LastRule /(.*) /solr-p/$1 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 LastRule /(.*) /$1 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" 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