Solr / Velocity url rewrite
Hi all, Today i'm using solritas as front-end for the solr search engine. But i would like to do url rewriting to deliver urls more compliant with SEO. First the end user types that kind of url : http://host.com/query/myquery So this url should be rewriten internally (kind of reverse proxy) in http://localhost:8983/query?q=myquery. This internal url should not be displayed to the end user and in return when the result page is displayed all the links in the page should be rewritten with a SEO compliant url. I tried to perform some tests with an apache front end by using mod_proxy but i didn't succeed to pass url parameters. Does someone ever tried to do SEO with solr search engine (solritas front)? Thanks for your help.
Re: Solr / Velocity url rewrite
Velocity/Solaritas was never intended to be a user-facing app. How are you locking things down so a user can't enter, or instance, q=deletequery*:*/query/deletecommit=true? I'd really recommend a proper middleware layer unless you have a trusted user base... FWIW, Erick On Tue, Nov 6, 2012 at 4:20 AM, Sébastien Dartigues sebastien.dartig...@gmail.com wrote: Hi all, Today i'm using solritas as front-end for the solr search engine. But i would like to do url rewriting to deliver urls more compliant with SEO. First the end user types that kind of url : http://host.com/query/myquery So this url should be rewriten internally (kind of reverse proxy) in http://localhost:8983/query?q=myquery. This internal url should not be displayed to the end user and in return when the result page is displayed all the links in the page should be rewritten with a SEO compliant url. I tried to perform some tests with an apache front end by using mod_proxy but i didn't succeed to pass url parameters. Does someone ever tried to do SEO with solr search engine (solritas front)? Thanks for your help.
Re: Solr / Velocity url rewrite
Hi Erick, Thanks for your help. OK except the php client delivered as a sample, do you have a preference for an out of the box front end easly deployable? My main use case is to be compliant with SEO, or at least to give nice (url) entry point. Thanks. 2012/11/6 Erick Erickson erickerick...@gmail.com Velocity/Solaritas was never intended to be a user-facing app. How are you locking things down so a user can't enter, or instance, q=deletequery*:*/query/deletecommit=true? I'd really recommend a proper middleware layer unless you have a trusted user base... FWIW, Erick On Tue, Nov 6, 2012 at 4:20 AM, Sébastien Dartigues sebastien.dartig...@gmail.com wrote: Hi all, Today i'm using solritas as front-end for the solr search engine. But i would like to do url rewriting to deliver urls more compliant with SEO. First the end user types that kind of url : http://host.com/query/myquery So this url should be rewriten internally (kind of reverse proxy) in http://localhost:8983/query?q=myquery. This internal url should not be displayed to the end user and in return when the result page is displayed all the links in the page should be rewritten with a SEO compliant url. I tried to perform some tests with an apache front end by using mod_proxy but i didn't succeed to pass url parameters. Does someone ever tried to do SEO with solr search engine (solritas front)? Thanks for your help.
Re: Solr / Velocity url rewrite
Not really. Mostly it's whatever you are most comfortable with. Since the app - solr connection is just HTTP, the front-end is wide open. FWIW, Erick On Tue, Nov 6, 2012 at 8:30 AM, Sébastien Dartigues sebastien.dartig...@gmail.com wrote: Hi Erick, Thanks for your help. OK except the php client delivered as a sample, do you have a preference for an out of the box front end easly deployable? My main use case is to be compliant with SEO, or at least to give nice (url) entry point. Thanks. 2012/11/6 Erick Erickson erickerick...@gmail.com Velocity/Solaritas was never intended to be a user-facing app. How are you locking things down so a user can't enter, or instance, q=deletequery*:*/query/deletecommit=true? I'd really recommend a proper middleware layer unless you have a trusted user base... FWIW, Erick On Tue, Nov 6, 2012 at 4:20 AM, Sébastien Dartigues sebastien.dartig...@gmail.com wrote: Hi all, Today i'm using solritas as front-end for the solr search engine. But i would like to do url rewriting to deliver urls more compliant with SEO. First the end user types that kind of url : http://host.com/query/myquery So this url should be rewriten internally (kind of reverse proxy) in http://localhost:8983/query?q=myquery. This internal url should not be displayed to the end user and in return when the result page is displayed all the links in the page should be rewritten with a SEO compliant url. I tried to perform some tests with an apache front end by using mod_proxy but i didn't succeed to pass url parameters. Does someone ever tried to do SEO with solr search engine (solritas front)? Thanks for your help.