Update to 1.4.17. From the changelog:

API:

* Database::get_average_length(): Add this as an alias for Database::get_avlen().
  In git master we've added this as a preferred new name - adding it to 1.4.x too
  will make it easier for users to update to using this.

* Database::get_spelling_suggestion(): Optimise edit distance initialisation
  loop to significantly reduce the cost of a typical edit distance calculation.

* Fix query expansion on sharded databases.  The mechanism for passing in which
  shard a TermList is from wasn't hooked up and as a result we'd always think
  it's from the first shard, meaning the statistics would be wrong and that our
  suggested terms may not have been as good as they should be in this
  situation.

* Enquire::get_eset(): Use string::compare() to avoid 1/3 of the string compares
  on average.

documentation:

* Update doxygen HTML headers and footers to resolve issues with some
  interactive features of the API docs not working.  Reported by Enrico Zini.

* Stop specifying obsolete doxygen settings PERL_PATH and MSCGEN_PATH.

* Clarify API docs for MSet::get_termfreq() to make it clear that this
  considers all documents in the database, not only those that matched the
  searched (it would sometimes be useful to be able to report the number of
  occurrences of a term in the matched documents, but it's not something we
  currently keep track of).  Reported by Tadeusz Sośnierz and Peter Salomonsen.
This commit is contained in:
schmonz 2020-08-21 20:43:06 +00:00
parent 9d3ad79cf5
commit 13139a8f21
3 changed files with 12 additions and 12 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.12 2020/06/10 17:54:29 schmonz Exp $ # $NetBSD: Makefile.common,v 1.13 2020/08/21 20:43:06 schmonz Exp $
# used by textproc/csharp-xapian/Makefile # used by textproc/csharp-xapian/Makefile
# used by textproc/lua-xapian/Makefile # used by textproc/lua-xapian/Makefile
# used by textproc/p5-Xapian/Makefile # used by textproc/p5-Xapian/Makefile
@ -9,7 +9,7 @@
# used by textproc/xapian/Makefile # used by textproc/xapian/Makefile
# used by textproc/xapian-omega/Makefile # used by textproc/xapian-omega/Makefile
VERSION= 1.4.16 VERSION= 1.4.17
CATEGORIES= textproc CATEGORIES= textproc
MASTER_SITES= http://oligarchy.co.uk/xapian/${VERSION}/ MASTER_SITES= http://oligarchy.co.uk/xapian/${VERSION}/
EXTRACT_SUFX= .tar.xz EXTRACT_SUFX= .tar.xz

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.40 2020/06/10 17:54:29 schmonz Exp $ $NetBSD: distinfo,v 1.41 2020/08/21 20:43:06 schmonz Exp $
SHA1 (xapian-core-1.4.16.tar.xz) = 9575ac9f208ae58b2a74d3417e2362873ba454f4 SHA1 (xapian-core-1.4.17.tar.xz) = 019179afdfdba9d2bfdb0711dc52b15bbc0d96f5
RMD160 (xapian-core-1.4.16.tar.xz) = e93160ce02c8ce50c2fb97709c907e56c595415c RMD160 (xapian-core-1.4.17.tar.xz) = 6f40fed418405d11782d81f84536ca257fd8cc1f
SHA512 (xapian-core-1.4.16.tar.xz) = 3d319ab672485e840019ee28b54b1c59bbd535c1802874f58593fb999681c19bff3e776dc19ab5d5bd97734bf01f1408f36ae49e21ca9706ca187db49f8a18a6 SHA512 (xapian-core-1.4.17.tar.xz) = 3eaf45d31eb9318e292fa052b32b1d9e1035651bdd3c366a0134f4b39d03d987083c19426a3d4b10f60078190fc3388f05b332cba958263bab1abf236c7a3ca7
Size (xapian-core-1.4.16.tar.xz) = 3041132 bytes Size (xapian-core-1.4.17.tar.xz) = 2997700 bytes
SHA1 (patch-common_errno__to__string.cc) = 222b640aa1cdacb6f9ada78671ef414b4ca11e26 SHA1 (patch-common_errno__to__string.cc) = 222b640aa1cdacb6f9ada78671ef414b4ca11e26
SHA1 (patch-common_safesyssocket.h) = 032d441853914d510bc285bb682a98c4ee264d52 SHA1 (patch-common_safesyssocket.h) = 032d441853914d510bc285bb682a98c4ee264d52
SHA1 (patch-xapian-config.in) = 470d1de7f04b8b8817abbcf56b5b71a36948de97 SHA1 (patch-xapian-config.in) = 470d1de7f04b8b8817abbcf56b5b71a36948de97

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo-bindings,v 1.18 2020/06/10 17:54:29 schmonz Exp $ $NetBSD: distinfo-bindings,v 1.19 2020/08/21 20:43:06 schmonz Exp $
SHA1 (xapian-bindings-1.4.16.tar.xz) = 3c20815f65cc8dc4e3c8a17bd7d3941502e07a95 SHA1 (xapian-bindings-1.4.17.tar.xz) = 366dd7bbbbd9a4cb0253de974cb19f52e0877ca5
RMD160 (xapian-bindings-1.4.16.tar.xz) = a79bec38150bdce4af306f4290aad077a7986364 RMD160 (xapian-bindings-1.4.17.tar.xz) = b9efdfd51eb2836fd942c10396f3afafe820e336
SHA512 (xapian-bindings-1.4.16.tar.xz) = afdc4379c8dc8381813eefcaf761ea560a23ba6718a54c61874c0d29786b9f49dd548ed3854fee38689c273acebb4637833b8cf5c75d0c2ed05df83384e59113 SHA512 (xapian-bindings-1.4.17.tar.xz) = 9cfd9809b8b13d47a7b50950c19b821d4ae902611eed3972d93cccda82d07d5858e37989bb9de31ede082c2574487e0bcd8c1e5f30f1479d47f4c28200ff76e7
Size (xapian-bindings-1.4.16.tar.xz) = 1133900 bytes Size (xapian-bindings-1.4.17.tar.xz) = 1135100 bytes
SHA1 (patch-configure) = d1c3edf1efcd105aef23bf9245650971f8df6ced SHA1 (patch-configure) = d1c3edf1efcd105aef23bf9245650971f8df6ced
SHA1 (patch-lua_Makefile.in) = 7f1c5077f0d46dfdf33c2b65f144bb08d5031330 SHA1 (patch-lua_Makefile.in) = 7f1c5077f0d46dfdf33c2b65f144bb08d5031330
SHA1 (patch-perl_Makefile.in) = 993b137b319d7d28c2b3a70d2e46e1a38d380578 SHA1 (patch-perl_Makefile.in) = 993b137b319d7d28c2b3a70d2e46e1a38d380578