pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/xapian Update to 1.0.13. From the changelog:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a04d55429d70
branches:  trunk
changeset: 396131:a04d55429d70
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Jul 18 22:28:00 2009 +0000

description:
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:

 textproc/xapian/Makefile |  6 +++---
 textproc/xapian/distinfo |  8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (30 lines):

diff -r 670cfdcaef69 -r a04d55429d70 textproc/xapian/Makefile
--- a/textproc/xapian/Makefile  Sat Jul 18 22:14:00 2009 +0000
+++ b/textproc/xapian/Makefile  Sat Jul 18 22:28:00 2009 +0000
@@ -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@localhost
 HOMEPAGE=      http://xapian.org/
diff -r 670cfdcaef69 -r a04d55429d70 textproc/xapian/distinfo
--- a/textproc/xapian/distinfo  Sat Jul 18 22:14:00 2009 +0000
+++ b/textproc/xapian/distinfo  Sat Jul 18 22:28:00 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index