[Xapian-discuss] Filter similar results

James Aylett james-xapian at tartarus.org
Wed Sep 13 08:58:05 BST 2006


On Tue, Sep 12, 2006 at 02:35:42PM -0500, Robby Walker wrote:

> Specifically, what I have are a number of sets of documents, and I'd
> like to get the best documents from *each* set.  So, making up some
> relevance scores, say I have documents from set A with scores 10,9,8,7
> and from set B with score 6,5.  If I am only to return 3 documents to
> the user I'd like to return 10,9, and 6.  i.e. I'd like to filter out
> the similar documents 8 and 7 from A.

How are you choosing the numbers to return from each set? I can think
of a variety of approaches which would result in that match set, but I
can't be sure which one you mean :-)

James

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list