lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack L <>
Subject How to do a fuzzy query
Date Sun, 24 Jun 2007 03:24:37 GMT
Hello solr-user,

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?

Best regards,

View raw message