lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbarani <bbar...@gmail.com>
Subject Is there a way to modify the request handler parameters dynamically?
Date Wed, 03 Sep 2014 19:11:22 GMT
Hi,

I need to change the components (inside a request handler) dynamically using
query parameters instead of creating multiple request handlers. Is it
possible to do this on the fly from the query?

For Ex:

change the highlight search component to use different search component
based on a query parameter

<requestHandler class="solr.StandardRequestHandler" name="/test">

 <arr name="components">
      <str>filterbyrole</str>
      <str>landingPage</str>
      <str>firstRulesComp</str>
      <str>query</str>
*      <str>highlight</str>
*      <str>facet</str>
      <str>spellcheck</str>
      <str>lastRulesComp</str>
      <str>debug</str>
      <str>elevator</str>
    </arr>
  </requestHandler>




--
View this message in context: http://lucene.472066.n3.nabble.com/Is-there-a-way-to-modify-the-request-handler-parameters-dynamically-tp4156697.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message