Hi Koji Thanks for clarifying my understanding about MoreLikeThis.
After your response and reading from Solr Wiki, I am now successfully using MoreLikeThis as follows - - Using StandardRequestHandler. Removed MoreLikeThisHandler in solrconfig.xml. - Modified the query to be - http://localhost:8983/solr/select?q=BBT&mlt=true&mlt.fl=*channel_name_t* &mlt.mindf=1&mlt.mintf=1<http://localhost:8983/solr/select?q=BBT&mlt=true&mlt.fl=channel_name&mlt.mindf=1&mlt.mintf=1> - as I am using Acts_as_solr for talking to Solr which generates dynamic fields and hence mlt.fl=channel_name_t Thanks again for guiding Neeti On Mon, Jul 7, 2008 at 8:40 PM, Koji Sekiguchi <[EMAIL PROTECTED]> wrote: > Neeti, > > Do you know: > > There are two ways to access MoreLikeThis from solr: from the > MoreLikeThisHandler > or with the StandardRequestHandler. > http://wiki.apache.org/solr/MoreLikeThis > > You set MoreLikeThisHandler in your 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> > > but you were using StandardRequestHandler in your request: > > > > http://localhost:8983/solr/select?q=BBT&mlt=true&mlt.fl=channel_name&mlt.mindf=1&mlt.mintf=1 > > If you want to use MoreLikeThisHandler you set in your solrconfig.xml, > specify /mlt > instead of /select in your request url. > > Koji > > >