[Xapian-discuss] Best way of showing what matched the search

Agustín agustinf at avature.net
Wed Aug 20 05:04:19 BST 2008


Hi,

But I still need to identify which "smaller documents" match the search.
That's the reason I added the documents twice: all together and
separatly.

Also, I would love to know which terms matched the documents I searched
(to avoid having to search again inside the document).

Is there any way to get which terms from that query matched a returned
document efficiently?

Thanks!

. A .

On Wed, 2008-08-20 at 00:18 +0100, Olly Betts wrote:
> On Mon, Aug 18, 2008 at 09:15:17PM -0300, Agustín wrote:
> > 4. I probably should have used "collapse keys" but I think that they are
> > essentially filters and don't really achieve what I want (which would be
> > to logically consider all the terms or some documents as being part of
> > one virtual bigger document).
> 
> Then just use that "virtual bigger document" as your "Xapian document".
> 
> Cheers,
>     Olly




More information about the Xapian-discuss mailing list