From 581df8f2aff2eec0ea7919d1975a2c7908bca3fa172b641571d9ad1d4e94e566 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 19 Jul 2022 10:41:14 +0000 Subject: [PATCH] Accepting request 989717 from home:dirkmueller:Factory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - update to 1.4.20: * Throw DatabaseNotFoundError when the database directory doesn't exist or when it doesn't contain a Xapian database. Patch from Germán Méndez Bravo in https://github.com/xapian/xapian/pull/258 * Improve exception message for attempting to remove an empty term (the exception type is still InvalidArgumentError). Reported by David Bremner. * Optimise when a value range is a superset of the slot bounds but the value slot frequency is not equal to the document count by replacing the lower bound with an empty string to make the bounds check very cheap. * Avoid creating a PostList tree for an empty shard. This avoids pointless work in an uncommon case, but also by handling this up front the code in PostList subclasses for query operators can assume the shard isn't empty which simplifies the code in several places. * Remove lingering handling for database backends without slot bounds since all backends have been required to support these since 1.4.11. * Fix collection frequency estimates for positional operators. This affects the weighting of positional operators in subqueries of OP_SYNONYM with weighting schemes which use the collection frequency. * xapian-check: Test decompress data in the spelling and synonym tables. We don't have structure checking for these tables, but we can at least fetch each entry and check for decompression problems. * Improve error if a block is detected as overwritten in WritableDatabase. Drop "are there multiple writers?" as it's rarely a useful question to ask since we started using fcntl() locking as it's now very hard to get multiple concurrent writers on a database. Instead suggest running xapian-check, which is probably the best next step for a user who hits this problem. OBS-URL: https://build.opensuse.org/request/show/989717 OBS-URL: https://build.opensuse.org/package/show/server:search/xapian-core?expand=0&rev=99 --- xapian-core-1.4.19.tar.xz | 3 --- xapian-core-1.4.19.tar.xz.asc | 16 ---------------- xapian-core-1.4.20.tar.xz | 3 +++ xapian-core-1.4.20.tar.xz.asc | 16 ++++++++++++++++ xapian-core.changes | 30 ++++++++++++++++++++++++++++++ xapian-core.spec | 2 +- 6 files changed, 50 insertions(+), 20 deletions(-) delete mode 100644 xapian-core-1.4.19.tar.xz delete mode 100644 xapian-core-1.4.19.tar.xz.asc create mode 100644 xapian-core-1.4.20.tar.xz create mode 100644 xapian-core-1.4.20.tar.xz.asc diff --git a/xapian-core-1.4.19.tar.xz b/xapian-core-1.4.19.tar.xz deleted file mode 100644 index f6af2ee..0000000 --- a/xapian-core-1.4.19.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1fca48fca6cc3526cc4ba93dd194fe9c1326857b78edcfb37e68d086d714a9c3 -size 2994860 diff --git a/xapian-core-1.4.19.tar.xz.asc b/xapian-core-1.4.19.tar.xz.asc deleted file mode 100644 index 45dad21..0000000 --- a/xapian-core-1.4.19.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------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----- diff --git a/xapian-core-1.4.20.tar.xz b/xapian-core-1.4.20.tar.xz new file mode 100644 index 0000000..d59e497 --- /dev/null +++ b/xapian-core-1.4.20.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce2be5eff72075c8106c0340e70b1093dbcebe2ab42dc1c1be08dd3ad419442d +size 3003788 diff --git a/xapian-core-1.4.20.tar.xz.asc b/xapian-core-1.4.20.tar.xz.asc new file mode 100644 index 0000000..13272c3 --- /dev/null +++ b/xapian-core-1.4.20.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEECOJAD/f+j+3jrLUoGBR7BzutKwcFAmLCjFwACgkQGBR7Bzut +KwedaQ//dciesHe8zV64xznUNuqbwx+CwaPxt8upfChXZaYO+GLkmIWq2z5s44co +YtsQsJFmJtqRzbwxbD+RBZvFyYefnPHGqu/k9KyzFM/XGxwi1XCb3ByxA4blgxE1 +SrE7PbGSayvhfvHPmz3gmdyr0E2mWKM7bBCC7CvfE9FnEFaWuTVFx4M6Y9yVqOua +yp9ul9j0DdKOJ6kyToxfbulsG/gr5Dns3Gnt1SVt9vUHlKbZRQdScaR1i9aBiCw5 +uhO7l9usJyw3iGioocmrSFoQUd2V1iToehpaYybMp/W8deWD4greZ8s9IWxSHtKF +4BX4Vs3vHNP3ujB+xn2HL+ERqqlc6YFP+e7HU10FECU3hXFo6UXrhZ9B/NtqVLQx +ZndcSYmzqca+lkrTL6jWrJ/GAtOWIoxvoeoB1TKjfOOvg1lR5Q/Ed9aImLl5HfIL +UoTuzwHjDCU8UuthaoYsyLMP8sPpP1FtYF7eVAhlB0ORwlQV5nYQxM1ctKuPkchn +k3UtiNYt10UfCqutkuR8ZylBvTP/s6XKBRqKL+4iBw4w+BIkUvIhIh6Abtizbo0R +oRgvqvN2hmw78VPiWzb+fRi+UkxrVEH7kn2eICA5ZMTCjC90wqCD6XNQSfp29mUO +LgCpa55OXfV2UgkOhPjWDkKG+ouQTtyIuQgLvBejNj1RSAlioT0= +=ovOy +-----END PGP SIGNATURE----- diff --git a/xapian-core.changes b/xapian-core.changes index ff6da10..1d7b2d3 100644 --- a/xapian-core.changes +++ b/xapian-core.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Sun Jul 17 15:40:00 UTC 2022 - Dirk Müller + +- update to 1.4.20: + * Throw DatabaseNotFoundError when the database directory doesn't exist or + when it doesn't contain a Xapian database. Patch from Germán Méndez Bravo + in https://github.com/xapian/xapian/pull/258 + * Improve exception message for attempting to remove an empty term (the + exception type is still InvalidArgumentError). Reported by David Bremner. + * Optimise when a value range is a superset of the slot bounds but the value + slot frequency is not equal to the document count by replacing the lower + bound with an empty string to make the bounds check very cheap. + * Avoid creating a PostList tree for an empty shard. This avoids pointless + work in an uncommon case, but also by handling this up front the code in + PostList subclasses for query operators can assume the shard isn't empty + which simplifies the code in several places. + * Remove lingering handling for database backends without slot bounds since + all backends have been required to support these since 1.4.11. + * Fix collection frequency estimates for positional operators. This affects + the weighting of positional operators in subqueries of OP_SYNONYM with + weighting schemes which use the collection frequency. + * xapian-check: Test decompress data in the spelling and synonym tables. + We don't have structure checking for these tables, but we can at least fetch + each entry and check for decompression problems. + * Improve error if a block is detected as overwritten in WritableDatabase. + Drop "are there multiple writers?" as it's rarely a useful question to ask + since we started using fcntl() locking as it's now very hard to get multiple + concurrent writers on a database. Instead suggest running xapian-check, + which is probably the best next step for a user who hits this problem. + ------------------------------------------------------------------- Wed Jan 19 21:10:03 UTC 2022 - Dirk Müller diff --git a/xapian-core.spec b/xapian-core.spec index c40aa67..275bb87 100644 --- a/xapian-core.spec +++ b/xapian-core.spec @@ -17,7 +17,7 @@ Name: xapian-core -Version: 1.4.19 +Version: 1.4.20 Release: 0 Summary: The Xapian Probabilistic Information Retrieval Library License: GPL-2.0-only