Hello,

Well, if you want documents similar to a specific document, then just make sure 
the query ("q") matches that one document.  You can do that by using the 
uniqueKey field in the query, e.g. q=id:123 .  Then you will get documents 
similar to that one document that matched your id:123 query.


Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: "jli...@gmail.com" <jli...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Sunday, April 26, 2009 5:49:26 AM
> Subject: Fwd: Question about MoreLikeThis
> 
> I think I understand it now. It means to return MoreLikeThis
> docs for every doc in the result.
> 
> ===8<==============Original message text===============
> Hi, I have a question about what MoreLikeThis means - I suppose
> it means "get more documents that are similar to _this_ document".
> So I expect the query always take a known document as argument.
> I wonder how I should interpret this query:
> 
> http://localhost:8983/solr/select?q=apache&mlt=true&mlt.fl=manu,cat&mlt.mindf=1&mlt.mintf=1&fl=id,score
> 
> It doesn't seem to specify a document. So what's the "This" in
> MoreLikeThis in this case? Or, "this" means something else, and
> not a document?

Reply via email to