help improving relevance of snippets displayed by Omega
Olly Betts
olly at survex.com
Mon Sep 21 23:25:41 BST 2020
On Mon, Sep 21, 2020 at 09:30:52AM +0100, Matthew Somerville wrote:
> Whoops, forgot to say, as Olly said, much of that could probably now be
> simplified with Xapian's snippet() function, which I can only assume did
> not exist back when all this was written! :)
Yes, MSet::snippet() is new in 1.4.x, so has been in a stable release
for about 4 years, whereas the TheyWorkForYou code must have originally
been written over a decade ago now.
Cheers,
Olly
More information about the Xapian-discuss
mailing list