lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SergeyG <sgoldb...@mail.ru>
Subject MoreLikeThis query
Date Wed, 03 Jun 2009 18:15:58 GMT

Hi,

I'm adding the "MoreLikeThis" functionality to my search.

1. Do I understand it right that the query:
q=id:1&mlt=true&mlt.fl=content
will bring back documents in which the most important terms of the content
field are partly the same as those of the content field of the doc with
id=1?

2. Also, the full request url for the above mentioned query would be:
solr_base_url/select?q=id:1&mlt=true&mlt.fl=content
which is equivalent to the query:
solr_base_url/mlt?q=id:1&mlt.fl=content
But while the former query would be handled by the StandardRequestHandler
and executed by calling server.query(query), the latter query is handled by
the MoreLikeThisRequestHandler and there is no specific method to execute
it. Is this right? 
And if this is the case, how can the latter query be triggered?

Thanks,
Sergey
-- 
View this message in context: http://www.nabble.com/MoreLikeThis-query-tp23856526p23856526.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message