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 Shalin Shekhar Mangar <sh...@gmail.com> on 2009/08/16 07:44:44 UTC

Re: switching between requestHandler

On Sun, Aug 16, 2009 at 5:46 AM, Jonathan Vanasco <jv...@2xlp.com> wrote:

> I'm assuming this is simple, and I'm just completely not finding the answer
> in the docs...
>
> I have two request handlers based on dismax
>
>  <requestHandler name="site_search_main" class="solr.SearchHandler" >
>  </requestHandler>
>  <requestHandler name="site_search_main_extended_fields"
> class="solr.SearchHandler" >
>  </requestHandler>
>
> How can i support both ?
>
> I've only figured out how to have one active, and its killing me.
>

Use the qt parameter and specify the name of the handler.

e.g. qt=site_search_main

-- 
Regards,
Shalin Shekhar Mangar.

Re: switching between requestHandler

Posted by Jonathan Vanasco <jv...@2xlp.com>.
On Aug 16, 2009, at 1:44 AM, Shalin Shekhar Mangar wrote:

> Use the qt parameter and specify the name of the handler.
>
> e.g. qt=site_search_main

Thanks!

I totally overlooked forgot about that!