From 49912cc2dcaeabac60dfbca42ae73c1b525c1bd50c6dee120e236aaff1c1e56f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 15 Dec 2017 08:47:58 +0000 Subject: [PATCH] Accepting request 557120 from home:alarrosa:branches:server:search - Update to 1.4.5: * Add Database::get_total_length() method. Previously you had to calculate this from get_avlength() and get_doccount(), taking into account rounding issues. But even then you couldn't reliably get the exact value when total length is large since a double's mantissa has more limited precision than an unsigned long long. * Add Xapian::iterator_rewound() for bidirectional iterators, to test if the iterator is at the start (useful for testing whether we're done when iterating backwards). * DatabaseOpeningError exceptions now provide errno via get_error_string() rather than turning it into a string and including it in the exception message. * WritableDatabase::replace_document(): when passed a Document object which came from a database and has unmodified values, we used to always read those values into a memory structure. Now we only do this if the document is being replaced to the same document ID which it came from, which should make other cases a bit more efficient. * Enquire::get_eset(): When approximating term frequencies we now round to the nearest integer - previously we always rounded down. * See also https://xapian.org/docs/xapian-core-1.4.5/NEWS OBS-URL: https://build.opensuse.org/request/show/557120 OBS-URL: https://build.opensuse.org/package/show/server:search/xapian-core?expand=0&rev=78 --- xapian-core-1.4.4.tar.xz | 3 --- xapian-core-1.4.4.tar.xz.asc | 16 ---------------- xapian-core-1.4.5.tar.xz | 3 +++ xapian-core-1.4.5.tar.xz.asc | 16 ++++++++++++++++ xapian-core.changes | 24 ++++++++++++++++++++++++ xapian-core.spec | 5 ++--- 6 files changed, 45 insertions(+), 22 deletions(-) delete mode 100644 xapian-core-1.4.4.tar.xz delete mode 100644 xapian-core-1.4.4.tar.xz.asc create mode 100644 xapian-core-1.4.5.tar.xz create mode 100644 xapian-core-1.4.5.tar.xz.asc diff --git a/xapian-core-1.4.4.tar.xz b/xapian-core-1.4.4.tar.xz deleted file mode 100644 index fa374db..0000000 --- a/xapian-core-1.4.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a6a985a9841a452d75cf2169196b7ca6ebeef27da7c607078cd401ad041732d9 -size 2807952 diff --git a/xapian-core-1.4.4.tar.xz.asc b/xapian-core-1.4.4.tar.xz.asc deleted file mode 100644 index a19ea4a..0000000 --- a/xapian-core-1.4.4.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEECOJAD/f+j+3jrLUoGBR7BzutKwcFAlj9az0ACgkQGBR7Bzut -Kwd7yQ//YGxvbnjH86UfvqfQ4RNysO9x/CtQNWrCSIdDmr/E9AZEYXqtfxZMYVlj -1plwECRP4yCsDNbQXtmKNhgRzaFn6DUoRqstV++z/LbwNllJ+YqiqSL06yhYFoeb -EjkqGQOTrGoeAWsZ4sbvA+0iGC5HSsoGxxyTdtHXlpHmRpc+MbMhu84n/xd0lLNe -hEh6DQs3+J8w6sLwwZ08PZBhc1w+WyPLyZL2uSl4jBRvlg0AlM3AyQVx+HM3Fnfc -ka7Ms4Ktg9PXs3e3hXEi+dAB7mtTpDIvd3boZQBqX22P+Lf+9zCw3q7sexKP5b5N -3EnN2EWD3Cj55MY71AiZIdSXfbF7ixK0YwioscgvMoACp5W3o2FShCW1wZjuRP9P -o8ouxxc5shMA4aMwyd5slmZHyQR0u1iT3X8d+AGc7MiHn8roo5A0ybeMVOH36V/V -fonOv07EGqVq/yUf9fnmsuQwHFYxoNgzxlhTrQynJMZRWULmhYElSPG5c5bHRwRt -/FY8fxZlnSYEEvCcwkBksl8vyVS6hXyDkhdzU3DwE1p1nG+5P2G2wbErRwbT4V/9 -kRxnohuRODM0yLqlRbjrCJGd6A0NOueVESbDl5h1DKsmlnNrU6ii68qFmEfiVeHV -x0YfgNZuH8U8MTaPozkymiloW6BbZarLvlHcgTEjkNrRaSYXEJM= -=rCVo ------END PGP SIGNATURE----- diff --git a/xapian-core-1.4.5.tar.xz b/xapian-core-1.4.5.tar.xz new file mode 100644 index 0000000..bd9c8d7 --- /dev/null +++ b/xapian-core-1.4.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85b5f952de9df925fd13e00f6e82484162fd506d38745613a50b0a2064c6b02b +size 2810612 diff --git a/xapian-core-1.4.5.tar.xz.asc b/xapian-core-1.4.5.tar.xz.asc new file mode 100644 index 0000000..5c3f8c2 --- /dev/null +++ b/xapian-core-1.4.5.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEECOJAD/f+j+3jrLUoGBR7BzutKwcFAlnkJ3QACgkQGBR7Bzut +KwdE3A//T7iaoWWRfxfxQHmqO7BGTPJZ3UMTx9JYMblHztiXFm6JxU9WDuMz1KDg +rSHIiVRQsvMETeFlwTzD1IqiRdmF+wFYO0Csa/rLIZkrTE5bIRxVoenE89DhoG5T +K4+oE4rnXxCi1Ie+8Ik4xByPOHmzCCrZYcToHb0by51nQfGEaf4QqjsZH2FuL32j +JyV51wW5qDc91IGsJj8yMmvrqK27qGIMnOp43jvc0f9oByRCJO2bnyHABYkQySEy +nmtaYaNOUkgZbDGvVWB2kauf/N5npVWQAUVDa1QeqTDwf0YbgzhOCd3l6ZbLCoRC +IvL9Q9CLeZCL4IL7dysgcqRsw1wVErIfG93jC6uCgltSTUszHM4Z10TSdYMI3wlw +uSBetsd7aSOMXl2xbxiU5U945RE04jootZXCQGB8+3cA77uvi4XOBw5mfgWLS+uM +cfT4UBJLl7xTiPRjO+2LBRt0z5723T+sAhkmAKhpCClBiCKwN4oR9bE1GPsPuAzU +z5e/ldikoGSHoDYUcjzF4hXfZrf9CSSUAC6OaEOg3VAgSaUM2j+TPuLypcWmPqpm +1frmJ/WpjzPm+EmCG4NJSTEgfjd867U6nNJPEQnOKeKNrk2n9EeZWmTwxAonQMdK +I0zjtAL5HBnk4gN3a5wG3iortD1tiPRJq8gkLE4DJIjueY1pe1w= +=ROAB +-----END PGP SIGNATURE----- diff --git a/xapian-core.changes b/xapian-core.changes index 87e0eb9..f6eceb4 100644 --- a/xapian-core.changes +++ b/xapian-core.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Thu Dec 14 10:43:38 UTC 2017 - alarrosa@suse.com + +- Update to 1.4.5: + * Add Database::get_total_length() method. Previously you had to calculate + this from get_avlength() and get_doccount(), taking into account rounding + issues. But even then you couldn't reliably get the exact value when total + length is large since a double's mantissa has more limited precision than an + unsigned long long. + * Add Xapian::iterator_rewound() for bidirectional iterators, to test if the + iterator is at the start (useful for testing whether we're done when + iterating backwards). + * DatabaseOpeningError exceptions now provide errno via get_error_string() + rather than turning it into a string and including it in the exception + message. + * WritableDatabase::replace_document(): when passed a Document object which + came from a database and has unmodified values, we used to always read + those values into a memory structure. Now we only do this if the document + is being replaced to the same document ID which it came from, which should + make other cases a bit more efficient. + * Enquire::get_eset(): When approximating term frequencies we now round to the + nearest integer - previously we always rounded down. + * See also https://xapian.org/docs/xapian-core-1.4.5/NEWS + ------------------------------------------------------------------- Fri Jun 30 15:46:49 UTC 2017 - alarrosa@suse.com diff --git a/xapian-core.spec b/xapian-core.spec index bc37a1b..27d04e6 100644 --- a/xapian-core.spec +++ b/xapian-core.spec @@ -17,7 +17,7 @@ Name: xapian-core -Version: 1.4.4 +Version: 1.4.5 Release: 0 Summary: The Xapian Probabilistic Information Retrieval Library License: GPL-2.0 @@ -105,7 +105,7 @@ make DESTDIR=%{buildroot} docdatadir=%{_docdir}/%{name} install %{?_smp_mflags} rm -rf examples/{.libs,.deps,.dirstamp,*.o,quest,delve,simplesearch,simpleexpand,simpleindex,copydatabase,xapian-metadata} cp -vr examples %{buildroot}%{_docdir}/%{name}/ find . -name \*.spec -delete -install -m 644 AUTHORS COPYING ChangeLog INSTALL README NEWS HACKING PLATFORMS ChangeLog.examples %{buildroot}%{_docdir}/%{name} +install -m 644 AUTHORS COPYING ChangeLog README NEWS HACKING PLATFORMS ChangeLog.examples %{buildroot}%{_docdir}/%{name} %fdupes %{buildroot}%{_docdir}/%{name} %post -n libxapian30 -p /sbin/ldconfig @@ -119,7 +119,6 @@ install -m 644 AUTHORS COPYING ChangeLog INSTALL README NEWS HACKING PLATFORMS C %{_docdir}/%{name}/COPYING %{_docdir}/%{name}/ChangeLog %{_docdir}/%{name}/README -%{_docdir}/%{name}/INSTALL %{_docdir}/%{name}/NEWS %{_docdir}/%{name}/HACKING %{_docdir}/%{name}/PLATFORMS