SHA256
1
0
forked from pool/xapian-core

Accepting request 989717 from home:dirkmueller:Factory

- 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
This commit is contained in:
Dirk Mueller 2022-07-19 10:41:14 +00:00 committed by Git OBS Bridge
parent 65525ea2aa
commit 581df8f2af
6 changed files with 50 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1fca48fca6cc3526cc4ba93dd194fe9c1326857b78edcfb37e68d086d714a9c3
size 2994860

View File

@ -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-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce2be5eff72075c8106c0340e70b1093dbcebe2ab42dc1c1be08dd3ad419442d
size 3003788

View File

@ -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-----

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Sun Jul 17 15:40:00 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>

View File

@ -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