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 Jonathan Vanasco <jv...@2xlp.com> on 2009/08/16 02:16:32 UTC

switching between requestHandler

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.

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!

Re: switching between requestHandler

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
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.