diff options
author | schmonz <schmonz> | 2009-07-18 22:28:00 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2009-07-18 22:28:00 +0000 |
commit | e2f52994e63c4dd48a6ab4eaa369aa7051d638ec (patch) | |
tree | 8f3c7321cd89eb67c8cb0f8af5f43e881b6cfe61 /textproc | |
parent | f429cec5b09b62e7f406124e0dda4838ec47f805 (diff) | |
download | pkgsrc-e2f52994e63c4dd48a6ab4eaa369aa7051d638ec.tar.gz |
Update to 1.0.13. From the changelog:
API:
* Xapian::Document no longer ever stores empty values explicitly. This
wasn't intentional behaviour, and how this case was handled wasn't
documented. The amended behaviour is consistent with how user metadata
is handled. This change isn't observable using Document::get_value(),
but can be noticed when iterating with Document::values_begin(), using
Document::values_count(), or trying to delete the value with
Document::remove_value().
matcher:
* If a query contains a MatchAll subquery, check for it before checking the
other terms so that the loop which checks how many terms match can exit
early if they all match.
* When an OR or ANY_MAYBE decayed to an AND, we were carefully swapping the
children for maximum efficiency, but the condition was reversed so we were
in fact making things worse. This was noticed because it was resulting in
the same query running faster when more results were asked for!
* Only build the termname to termfreq and weight map for the first subdatabase
instead of rebuilding it for each one. Also don't copy this map to return
it. This should speed up searches a little, especially those over multiple
databases.
* If a submatcher fails but ErrorHandler tells us to continue without it, we
just use a NULL pointer to stand in rather than allocating a special dummy
place-holder object.
* Remove AndPostList, in favour of MultiAndPostList. AndPostList was only used
as a decay product (by AndMaybePostList and OrPostList), and doesn't appear
to be any faster. Removing it reduces CPU cache pressure, and is less code
to maintain.
* Call check() instead of skip_to() on the optional branch of AND_MAYBE.
flint backend:
* Fix a bug in TermIterator::skip_to() over metadata keys.
remote backend:
* Fix xapian-tcpsrv --interface option to work on MacOS X (ticket#373).
* Fix typo which caused us to return the docid instead of the maximum weight
a document from a remote match could return! This could have led to wrong
results when searching multiple databases with the remote backend, but
probably usually didn't matter as with BM25 the weights are generally small
(often all < 1) while docids are inevitably >= 1.
inmemory backend:
* The inmemory backend doesn't support iterating over metadata keys. Trying
to do so used to give an empty iteration, but has now been fixed to throw
UnimplementedError (and this limitation has now been documented).
documentation:
* INSTALL: We no longer regularly test build with GCC 2.95.4 and we're raising
the minimum GCC version required to 3.1 for Xapian 1.1.x.
* Document what passing maxitems=0 to Enquire::get_mset() does.
* docs/queryparser.html: Add examples of using a prefix on a phrase or
subexpression.
* Correct doxygen comments for user metadata functions:
Database::get_metadata() throw UnimplementedError but
WritableDatabase::set_metadata() can.
* Document that Database::metadata_keys_begin() returns an end iterator if the
backend doesn't support metadata.
* HACKING: Update the list of Debian/Ubuntu packages needed for a development
environment.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/xapian/Makefile | 6 | ||||
-rw-r--r-- | textproc/xapian/distinfo | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/textproc/xapian/Makefile b/textproc/xapian/Makefile index a07e7775997..c8dbb906322 100644 --- a/textproc/xapian/Makefile +++ b/textproc/xapian/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.6 2009/07/07 21:12:53 joerg Exp $ +# $NetBSD: Makefile,v 1.7 2009/07/18 22:28:00 schmonz Exp $ # -DISTNAME= xapian-core-1.0.12 +DISTNAME= xapian-core-1.0.13 PKGNAME= ${DISTNAME:S/-core//} CATEGORIES= textproc -MASTER_SITES= http://oligarchy.co.uk/xapian/1.0.12/ +MASTER_SITES= http://oligarchy.co.uk/xapian/1.0.13/ MAINTAINER= schmonz@NetBSD.org HOMEPAGE= http://xapian.org/ diff --git a/textproc/xapian/distinfo b/textproc/xapian/distinfo index f2e4ac889d8..0a9ad1081c4 100644 --- a/textproc/xapian/distinfo +++ b/textproc/xapian/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.3 2009/04/20 22:25:12 schmonz Exp $ +$NetBSD: distinfo,v 1.4 2009/07/18 22:28:00 schmonz Exp $ -SHA1 (xapian-core-1.0.12.tar.gz) = 963011408a77897d73da3f28e7aaabe2525e016f -RMD160 (xapian-core-1.0.12.tar.gz) = 7d343805f477bdc040373b7257aab7164625d744 -Size (xapian-core-1.0.12.tar.gz) = 2991522 bytes +SHA1 (xapian-core-1.0.13.tar.gz) = c08eca16b8816e244cd30c35d2fe53d49f78cd77 +RMD160 (xapian-core-1.0.13.tar.gz) = e6b50a14cab72b4075a5893fe1911e1e06f1f4ea +Size (xapian-core-1.0.13.tar.gz) = 2989504 bytes |