SHA256
1
0
forked from pool/xapian-core

Accepting request 210976 from home:sumski:KDE:Unstable:SC

update to 1.2.16

OBS-URL: https://build.opensuse.org/request/show/210976
OBS-URL: https://build.opensuse.org/package/show/server:search/xapian-core?expand=0&rev=49
This commit is contained in:
Raymond Wooninck 2013-12-16 09:17:14 +00:00 committed by Git OBS Bridge
parent fd69aefd1b
commit 13930e92d8
4 changed files with 86 additions and 18 deletions

View File

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

View File

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

View File

@ -1,39 +1,106 @@
-------------------------------------------------------------------
Sun Dec 15 20:24:21 UTC 2013 - hrvoje.senjan@gmail.com
- Update to 1.2.16
- API:
* PositionIterator,PostingIterator,TermIterator,ValueIterator:
Don't segfault if skip_to() or check() is called on an iterator
which is already at_end().
* ValueCountMatchSpy: get_description() on a default-constructed
ValueCountMatchSpy object no longer fails when xapian-core is
built with --enable-log.
* ValueCountMatchSpy: get_total() on a default-constructed
ValueCountMatchSpy object now returns 0 rather than segfaulting.
- brass backend:
* When moving a cursor on a read-only table, check if the block we
want is in the internal cursor. We already do this for a
writable table, as it is necessary for correctness, but it's a
cheap check and may avoid asking the OS for a block we actually
already have.
* Correctly report the database as closed rather than
'Bad file descriptor' in certain cases.
* Reuse a cursor for reading values from valuestreams rather than
creating a new one each time. This can dramatically reduce the
number of blocks redundantly reread when sorting by value.
The rereads will generally get served from VM cache, but there's
still an overhead to that.
- chert backend:
* When moving a cursor on a read-only table, check if the block
we want is in the internal cursor. We already do this for a
writable table, as it is necessary for correctness, but it's
a cheap check and may avoid asking the OS for a block we actually
already have.
* Correctly report the database as closed rather than
'Bad file descriptor' in certain cases.
* Reuse a cursor for reading values from valuestreams rather than
creating a new one each time. This can dramatically reduce the
number of blocks redundantly reread when sorting by value.
The rereads will generally get served from VM cache, but there's
still an overhead to that.
- flint backend:
* When moving a cursor on a read-only table, check if the block we
want is in the internal cursor. We already do this for a writable
table, as it is necessary for correctness, but it's a cheap check
and may avoid asking the OS for a block we actually already have.
* Correctly report the database as closed rather than
'Bad file descriptor' in certain cases.
- tools:
* xapian-chert-update: Fix -b to work rather than always
segfaulting (reported in http://bugs.debian.org/716484).
* xapian-chert-update: The documented alias --blocksize for -b has
never actually been supported, so just drop mentions of it
from --help and the man page.
- xapian-check:
* Fix chert database check that first docid in each doclength
chunk is more than the last docid in the previous chunk
- previously this didn't actually work.
* Fix database check not to falsely report "position table: Junk
after position data" whenever there are 7 unused bits (7 is OK,
*more* than 7 isn't).
* Fix to report block numbers correctly for links within the B-tree.
* If the METAINFO key is missing, only report it once per table.
* Fix database consistency checking to always open all the tables
at the same revision - not doing this could lead to false errors
being reported after a commit interrupted by the process being
killed or the machine crashing.
- Change tarball to xz. Added xz BuildRequires: xz for that purpose
-------------------------------------------------------------------
Thu May 30 17:36:39 UTC 2013 - tittiatcoke@gmail.com
- Update to version 1.2.15
* See http://svn.xapian.org/*checkout*/tags/1.2.15/xapian-core/NEWS
* See http://svn.xapian.org/*checkout*/tags/1.2.15/xapian-core/NEWS
-------------------------------------------------------------------
Fri Dec 21 10:22:07 UTC 2012 - mlin@suse.com
- Update to version 1.2.12
* 1.2.11 had its library version information incorrectly set.
This resulted in the shared library having an incorrect SONAME.
* 1.2.11 had its library version information incorrectly set.
This resulted in the shared library having an incorrect SONAME.
This release has been made to fix this problem.
* Fix issue with running AND, OR and XOR queries against a
* Fix issue with running AND, OR and XOR queries against a
database with no documents in it - this was leading to a divide
by zero, which led to MSet::get_matches_estimated() reporting
by zero, which led to MSet::get_matches_estimated() reporting
2147483648 on i386.
* Don't count unweighted subqueries of MultiAndPostList in
* Don't count unweighted subqueries of MultiAndPostList in
percentage calculations, as OP_FILTER maps to MultiAndPostList
now. (ticket#590)
* When compacting, if the output database is empty, don't write
out a metainfo tag. Take care not to divide by zero when
computing the percentage size change for a table.
computing the percentage size change for a table.
(brass and chert backend)
* Add new QueryParser::STEM_ALL_Z stemming strategy, which
* Add new QueryParser::STEM_ALL_Z stemming strategy, which
stems all terms and adds a Z prefix.
* Add TermGenerator::set_stemming_strategy() method, with
* Add TermGenerator::set_stemming_strategy() method, with
strategies which correspond to those of QueryParser.
* Correct "BM25Weight" to "TradWeight" in exception message
* Correct "BM25Weight" to "TradWeight" in exception message
from TradWeight.
* We were failing to call init() for user-defined Weight objects
providing the term-independent weight. These now get called
providing the term-independent weight. These now get called
with init(0.0).
* Xapian::Auto::open_stub() now throws a Xapian::DatabaseOpeningError
exception if the stub file can't be opened. Previously we
failed to check for this condition, which resulted in us
exception if the stub file can't be opened. Previously we
failed to check for this condition, which resulted in us
treating the file as empty.
* See http://svn.xapian.org/*checkout*/tags/1.2.12/xapian-core/NEWS
* http://svn.xapian.org/*checkout*/tags/1.2.11/xapian-core/NEWS

View File

@ -17,17 +17,18 @@
Name: xapian-core
Version: 1.2.15
Version: 1.2.16
Release: 0
Summary: The Xapian Probabilistic Information Retrieval Library
License: GPL-2.0
Group: Productivity/Databases/Servers
Url: http://www.xapian.org/
Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.xz
BuildRequires: automake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libuuid-devel
BuildRequires: xz
BuildRequires: zlib-devel
Requires: libxapian22 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build