xapian-core/xapian-core-1.4.19.tar.xz.asc

17 lines
833 B
Plaintext
Raw Normal View History

- update to 1.4.19: * New QueryParser::FLAG_NO_POSITIONS flag. With this flag enabled, any query operations which would use positional information are replaced by the nearest equivalent which doesn't (so phrase searches, NEAR and ADJ will result in OP_AND). This is intended to replace the automatic conversion of OP_PHRASE, etc to OP_AND when a database has no positional information, which will no longer happen in the release series after 1.4. * Give a compile error for code which adds a Database to WritableDatabase. Prior to 1.4.19, this compiled and effectively created a "black-hole" shard which quietly discarded any changes made to it. In 1.4.19 it's still possible to perform this operation by assigning the WritableDatabase to a Database first, which is harder to fix. This case throws an exception on git master where it's easier to address. * Fix TermIterator::skip_to() with sharded databases which sometimes was failing to advance all the way to the requested term. Uncovered while addressing warning from GCC's -Wduplicated-cond, reported by dcb in #816. * Clamp edit distance to one less than the length of the word we've been asked to correct, which makes the algorithm we use more efficient. We already require suggestion to have at least one character in common, so the only change to suggestions is we'll no longer suggest corrections which are twice as long or longer even if the edit distance would allow it, which seems like an improvement in itself. * Minor optimisation expanding wildcards. * PostingIterator::get_description(): For an all-docs iterator on a glass database, get_description() would call get_docid() which isn't valid to do once the iterator has reached the end. * Expand allterms test coverage. * Fetch wdf upper bound from postlist which avoids an extra postlist table cursor seek per weighted query term, and also means we now use a per-shard wdf upper bound for local shards which will in typically give a tighter OBS-URL: https://build.opensuse.org/package/show/server:search/xapian-core?expand=0&rev=98
2022-01-19 21:11:05 +00:00
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEECOJAD/f+j+3jrLUoGBR7BzutKwcFAmHPlwcACgkQGBR7Bzut
KwddQRAAhQOi5UJY1RBHjKAlxh8EJ3SIUpRE72I0H6clGBnVgz6003EacW0sgTfV
FatHfKVK3dzi0OkiZ2X+XqNp8ZSJgkgVOCPwvilj9mjFGlslxMsjZD7KwAr5T1Cw
+AP+pEgKnDCnfxCaTkw+wvn7su1HmCvHIYdizPGdKhY0auJJsL2jGepfnlGKIdVV
MR11QyGICNd5UwDw5e5wKPDI/UYM6qDDRE6vl3fr0M/jVguoMfWaard74mnldunl
bNLxsq5ONmb49b3H+yPspe4TfslfxOUTe5YDkX+57hIJxRwgHjxh9cjS+a5IF7U+
Q7zl+qieZI2+ZOhveIGizqTkoqlHmxfn04lLTYHU4piFaD1QRv0GmsmdHqXgN/Jb
D6dDiCZqEKFwHfjQeRpqG23RXkd+TlzZaB32MJtiQ1E4iY5YW1hNtfDFL3OFxDOp
wWDqTcFB3qRbPzqU4v59XMzY/gb+JdDTlf+lq/3eKYbvpZmK022wIGzBA1FrRi1g
un1hx7Pru/3N9N41B+SSXokApa0dzTvrhL8ewF1kvpj2DDr5RPhK/DJZpV/Daojz
T1/YcL0G5d0JoZgDSXQiTO9KCVqSwXAH55hCbhSFgTVO8sbgT2JxvlJSuBwJgVuy
sdvCs3oXUHbZucSO/2lNqKHW/4hBNg9x41cPvHoSnS+ocod1PJ8=
=DPVN
-----END PGP SIGNATURE-----