(11/11/11 23:16), Michael Herchel wrote:
Thanks Koji!
Using the elevate request handler worked.
Is there a way to use the QueryElevationComponent in the default search handler?
I added the following:
<bool name="enableElevation">true</bool>
<bool name="forceElevation">true</bool>
to<requestHandler name="standard" class="solr.SearchHandler">, so the result
looked like
<requestHandler name="standard" class="solr.SearchHandler">
<!-- default values for query parameters -->
<lst name="defaults">
<str name="echoParams">explicit</str>
<bool name="omitHeader">true</bool>
<bool name="enableElevation">true</bool>
<bool name="forceElevation">true</bool>
<!--
<int name="rows">10</int>
<str name="fl">*</str>
<str name="version">2.1</str>
-->
</lst>
</requestHandler>
But, this didn't work when doing a default search
http://localhost:8983/solr/select/?q=thanks+giving
Is there a method to make this default? Thank you!
Hi Michael,
You missed "elevator" component in your "standard" request handler.
Add the following snippet to your request handler:
> <arr name="last-components">
> <str>elevator</str>
> </arr>
koji
--
Check out "Query Log Visualizer" for Apache Solr
http://www.rondhuit-demo.com/loganalyzer/loganalyzer.html
http://www.rondhuit.com/en/