lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
Subject Re: Getting MoreLikeThisHandler operational.
Date Thu, 01 Sep 2011 22:05:37 GMT
(11/09/02 4:00), Herman Kiefus wrote:
> Thank you very much.
>
> <requestHandler name="/mlt" class="solr.MoreLikeThisHandler">
> 	<lst name="defaults">
> 		<str name="mlt.fl">Name</str>
> 	</lst>
> 	<arr name="components">
> 		<str>mlt</str>
> 	</arr>
> </requestHandler>

This is not what I was suggesting. MLT*Handler* is a request handler but not SearchComponent-aware
handler. That said, it ignores <arr name="components">...</arr> part. If MLTHandler
is what you
wanted, just set <requestHandler name="/mlt" class="solr.MoreLikeThisHandler"> with
appropriate defaults.

koji
-- 
Check out "Query Log Visualizer" for Apache Solr
http://www.rondhuit-demo.com/loganalyzer/loganalyzer.html
http://www.rondhuit.com/en/

Mime
View raw message