lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Herman Kiefus <herm...@angieslist.com>
Subject RE: Getting MoreLikeThisHandler operational.
Date Thu, 01 Sep 2011 19:00:07 GMT
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>

-----Original Message-----
From: Koji Sekiguchi [mailto:koji@r.email.ne.jp] 
Sent: Thursday, September 01, 2011 11:06 AM
To: solr-user@lucene.apache.org
Subject: Re: Getting MoreLikeThisHandler operational.

(11/09/01 23:24), Herman Kiefus wrote:
> <requestHandler name="/mlt" class="org.apache.solr.handler.component.MoreLikeThisComponent">
>         <arr name="components">
>                <str>mlt</str>
> </arr>
> </requestHandler>
>
> but ends up returning a 500 error on a core reload.  What is an appropriate configuration
entry for the MLT handler?

Why you got 500 error because MLTComponent was set for requestHandler class.
Set class="solr.SearchHandler" for it.

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