Hello Erik,

MoreLikeThis is interesting. So in order to use it through the
MoreLikeThisHandler, I should use the unique field in
the "q" param to uniquely identify the "this" document? Or, does
it also support a more common query and works as "More Like These"
just like using this feature through the StandardRequestHandler?

-- 
Best regards,
Jack

Sunday, June 24, 2007, 3:04:26 AM, you wrote:


> On Jun 23, 2007, at 11:24 PM, Jack L wrote:
>> I have some documents, each has a number of tags. I'd like to
>> have a query to return "similar" documents which share largest
>> number of tags with a given document. For example, if I have
>> doc that has 4 tags, and I'd like to return docs that also
>> have these 4 tags. And if this doesn't make up a number of records,
>> say, 10 records, I'd like to have some more docs that share 3
>> of the tags. And if this is still not enough, those sharing 2
>> tags... I wonder if there is a way to construct a solr query
>> to do this?

> The MoreLikeThis handler may get you close enough to what you're after:

>       <http://wiki.apache.org/solr/MoreLikeThis>

> It's in the trunk codebase, so try out a recent nightly build.

>       Erik


Reply via email to