Hi All

Being new to Solr, I am having difficulty trying to figure out how to
use *MoreLikeThis
*feature from my* ruby project*.

I have made the following changes to enable mlt but have been unsuccessful
so far-

 >*Using Solr nightly build dated 1 July 2008*

*SolrConfig.xml*

   <requestHandler name="/mlt" class="solr.MoreLikeThisHandler">
     <lst name="defaults">
       <str name="mlt.fl">channel_name</str>
       <int name="mlt.mindf">1</int>
     </lst>
   </requestHandler>

*schema.xml*
   <!--Added for Morelikethis -->
   <field name="channel_name" type="text" indexed="true" stored="true"
omitNorms="true" termVectors="true" />

*Here is my query for mlt -

*
http://localhost:8983/solr/select?q=BBT&mlt=true&mlt.fl=channel_name&mlt.mindf=1&mlt.mintf=1

*- Response xml has no records in moreLikeThis section and 2 records in
results.

Any help on implementing MLT in ruby would be highly appreciated...

Thanks
Neeti
*

Reply via email to