You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Paige Cook <pa...@gmail.com> on 2010/11/10 19:40:34 UTC
Custom Request Handler
I was reading the in Solr Wiki about creating request handlers -
http://wiki.apache.org/solr/SolrRequestHandler and saw that there are two
different ways to create a handler:
1. Define as <requestHandler name="/baz"
class="my.package.AnotherCustomRequestHandler"> and call via
http://localhost:8983/baz/?..
2. Define as <requestHandler name="baz"
class="my.package.AnotherCustomRequestHandler"> and call via
http://localhost:8983/select/?qt=baz...
So I was wondering one way is preferred over the other?
Thanks,
Paige Cook