[Xapian-discuss] Searching for document-groups

James Aylett james-xapian at tartarus.org
Wed Nov 8 11:26:06 GMT 2006


On Tue, Nov 07, 2006 at 07:58:39PM +0000, Olly Betts wrote:

> If you add a value to each document (using Xapian::Document::add_value())
> containing some sort of unique id for the root-post of the thread that
> the current article is in, you can collapse matches with the same
> root-post leaving just the highest ranking one.  You do this using
> Xapian::Enquire::set_collapse_key() with the value number that holds the
> root post unique id.

How does collapse key interact with sort key? Someone was asking last
night. (Well, they weren't. But they were asking something equivalent.)

J

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



More information about the Xapian-discuss mailing list