SHA256
1
0
forked from pool/xapian-core

Accepting request 453942 from home:alarrosa:branches:server:search

- Update to 1.4.3:
 * MSet::snippet(): Favour candidate snippets which contain more of a diversity
   of matching terms by discounting the relevance of repeated terms using an
   exponential decay.  A snippet which contains more terms from the query is
   likely to be better than one which contains the same term or terms multiple
   times, but a repeated term is still interesting, just less with each
   additional appearance.  Diversity issue highlighted by Robert Stepanek's
   patch in https://github.com/xapian/xapian/pull/117 - testcases taken from his
   patch.
 * MSet::snippet(): New flag SNIPPET_EMPTY_WITHOUT_MATCH to get an empty snippet
   if there are no matches in the text passed in.  Implemented by Robert
   Stepanek.
 * Round MSet::get_matches_estimated() to an appropriate number of significant
   figures.  The algorithm used looks at the lower and upper bound and where the
   estimate sits between them, and then picks an appropriate number of
   significant figures.  Thanks to Sébastien Le Callonnec for help sorting out a
   portability issue on OS X.
 * Add Database::locked() method - where possible this non-invasively checks if
   the database is currently open for writing, which can be useful for
   dashboards and other status reporting tools.
 * See also https://xapian.org/docs/xapian-core-1.4.3/NEWS
- Update to 1.4.2:
 * Add XAPIAN_AT_LEAST(A,B,C) macro.
 
 * MSet::snippet(): Optimise snippet generation - it's now ~46% faster in a
   simple test.
 
 * Add Xapian::DOC_ASSUME_VALID flag which tells Database::get_document() that
   it doesn't need to check that the passed docid is valid.  Fixes #739,
   reported by Germán M. Bravo.

OBS-URL: https://build.opensuse.org/request/show/453942
OBS-URL: https://build.opensuse.org/package/show/server:search/xapian-core?expand=0&rev=74
This commit is contained in:
Dirk Mueller 2017-02-03 15:49:25 +00:00 committed by Git OBS Bridge
parent f15e2a2119
commit 9eeef9fada
6 changed files with 89 additions and 21 deletions

View File

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

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIcBAABCAAGBQJYCbILAAoJEBgUewc7rSsHLQUQALq9t+U+yarnIH4Nd/sjbfus
3ek1tgxXsIMcp9AXTUhBJTEu/GkIXg+ABGnPIGq+kT2XnNcLZpVcchxrsTTtYGgh
M0Dq9ol2QBhgNsex26udKmD+diiUCY/ueUwiuBsKDHZClYR5sdmLwIhgki47ouQB
JU4NYF97Apo/rSkOSD93xtodOd8vjsREaDIPp+kPzvxE+uW2CSbOTFTEcPD6/BM5
DpkQ18BZvcxtSwOMY7NfSrvTYHhj7pqf0c7IZnXEBSDncFVxCbmQHYbBGJrw5oa1
etN3Nzg0hM/w2pLYFhnLPkrwj9Oxk0e0me9YnbUlCuQharnqT9Bn32pg3N6K95OZ
Y0oKRwxN3aDwPD7j4T6h/bu0yR4x8kg5j8a9aTq2sBDous56wmL7TiFgz4Qww6l9
4Ik/BUNqNBKbGR5GDQLM/O2gzRKO/W5jnXq31lMkmftPqFT4t+mVuXutp8RWYlA+
0TwE0EVTkIr+5xJWKRNmRoJgxbsLq1XET9oSNwhLfnGggkSXaklp3RNM7UmptYTW
3EpOQuGeyCZrQ1SXHaVw8oSqBzdflhpVwbA8QOvQxuaBh02z5z6l7HwMVNpVNM9G
cOWoJPpJ/qjcYK/wWqbefbPNJJn75LBkVFBp1Qj8oXGhzh11/nEKmhkwJOpSNLec
JETe8DkBjuGZlnlALv/n
=vAo5
-----END PGP SIGNATURE-----

3
xapian-core-1.4.3.tar.xz Normal file
View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEECOJAD/f+j+3jrLUoGBR7BzutKwcFAliH/ToACgkQGBR7Bzut
Kwdalg/+L7WNN/FxxDv+DI7geNbBFwt3fgYZV8ruVBhxoZ67xDE2CwLBYz54OLRo
Hhtkx4tZOr1H+kTF8yvkBmJJ1QWWuRIPvfdCXiBVeOpdRfbr8ZTtZDJ56/OIOPwA
ona7c73lw2RrBHGYknY0l5ogkVPJ7+MH3sC0C7KEYDvAckBsY7JliKMRZPGOlXD1
vNtF4J3XTjzlPbn0W0jrc4AFwaxEIfiAeHcQ4sfYIj/4frGbys78JQaOm5UlB4Tg
i5bOS0qi68WefuKNeFZxeTL4wyR5l/iO45ZGfkH9WN++tt2LdeECexrOqeh7dd1J
H6XOddCxGk/r9uCFaNhgqk+DVE4EdnE7fXzU/l0VonVFlfNCBQ+SgZAJXK2WynSM
fTxXpMPzKYoc3C3hzv/soHt3+ahZRXPZTo4BIMEahHwHwZNZwyfDawr5YBX93N8c
dO2Oqiakzc9LsfeyaqkTcMzp7FK0J0lETznixYslUnYJglVB7matFHsa73Wd5KD9
lsk8C7muJoQ7lw2EME5CTssp+JzqgdAgOJDd2AuFpXuuNOIfgj7Gw5aS8qWL4beG
CjFAOVOyJoqlSvKshK2h6iaksbRUxUuJmszRnXK395WRTEGh3Xmn13lTurwH0AL/
x1DPwnrEpfuTiE0D8mvxuTAHOi8yQqGm36cPWgcasAAO7HDABeA=
=MVK8
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,71 @@
-------------------------------------------------------------------
Wed Feb 1 09:40:00 UTC 2017 - alarrosa@suse.com
- Update to 1.4.3:
* MSet::snippet(): Favour candidate snippets which contain more of a diversity
of matching terms by discounting the relevance of repeated terms using an
exponential decay. A snippet which contains more terms from the query is
likely to be better than one which contains the same term or terms multiple
times, but a repeated term is still interesting, just less with each
additional appearance. Diversity issue highlighted by Robert Stepanek's
patch in https://github.com/xapian/xapian/pull/117 - testcases taken from his
patch.
* MSet::snippet(): New flag SNIPPET_EMPTY_WITHOUT_MATCH to get an empty snippet
if there are no matches in the text passed in. Implemented by Robert
Stepanek.
* Round MSet::get_matches_estimated() to an appropriate number of significant
figures. The algorithm used looks at the lower and upper bound and where the
estimate sits between them, and then picks an appropriate number of
significant figures. Thanks to Sébastien Le Callonnec for help sorting out a
portability issue on OS X.
* Add Database::locked() method - where possible this non-invasively checks if
the database is currently open for writing, which can be useful for
dashboards and other status reporting tools.
* See also https://xapian.org/docs/xapian-core-1.4.3/NEWS
- Update to 1.4.2:
* Add XAPIAN_AT_LEAST(A,B,C) macro.
* MSet::snippet(): Optimise snippet generation - it's now ~46% faster in a
simple test.
* Add Xapian::DOC_ASSUME_VALID flag which tells Database::get_document() that
it doesn't need to check that the passed docid is valid. Fixes #739,
reported by Germán M. Bravo.
* TfIdfWeight: Add support for the L wdf normalisation. Patch from Vivek Pal.
* BB2Weight: Fix weights when database has just one document. Our existing
attempt to clamp N to be at least 2 was ineffective due to computing
N - 2 < 0 in an unsigned type.
* DPHWeight: Fix reversed sign in quadratic formula, making the upper bound a
tiny amount higher.
* DLHWeight: Correct upper bound which was a bit too low, due to flawed logic
in its derivation. The new bound is slightly less tight (by a few percent).
* DLHWeight,DPHWeight: Avoid calculating log(0) when wdf is equal to the
document length.
* TermGenerator: Handle stemmer returning empty string - the Arabic stemmer
can currently do this (e.g. for a single tatweel) and user stemmers can too.
Fixes #741, reported by Emmanuel Engelhart.
* Database::check(): Fix check that the first docid in each doclength chunk is
more than the last docid in the previous chunk - this code was in the wrong
place so didn't actually work.
* Database::get_unique_terms(): Clamp returned value to be <= document length.
Ideally get_unique_terms() ought to only count terms with wdf > 0, but that's
expensive to calculate on demand.
* See also https://xapian.org/docs/xapian-core-1.4.2/NEWS
-------------------------------------------------------------------
Fri Nov 11 10:02:34 UTC 2016 - alarrosa@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package xapian-core
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: xapian-core
Version: 1.4.1
Version: 1.4.3
Release: 0
Summary: The Xapian Probabilistic Information Retrieval Library
License: GPL-2.0