Re: help improving relevance of snippets displayed by Omega
Olly Betts <[email protected]> Mon, 21 Sep 2020 23:25:41 +0100
| Newsgroups | gmane.comp.search.xapian.general |
|---|---|
| Message-ID | <[email protected]> |
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