[Xapian-commits] 13075: branches/matchspy/xapian-core/ branches/matchspy/xapian-core/api/ branches/matchspy/xapian-core/include/xapian/ branches/matchspy/xapian-core/tests/

richard xapian-commits at lists.xapian.org
Fri Jul 17 15:17:26 BST 2009


SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       13075
Date:           2009-07-17 15:17:26 +0100 (Fri, 17 Jul 2009)

Log message (7 lines):
api/matchspy.cc,include/xapian/matchspy.h,tests/api_matchspy.cc:
MatchSpy::merge_results() is no longer const, since it blatantly
shouldn't be.  Change ValueCountMatchSpy to work only on a single
slot, rather than a set of them.  This avoids having to do lots
of lookups in a map each time operator() is called, and is more
convenient for users now that Enquire takes multiple match spies
implicitly.

Modified files:
U   branches/matchspy/xapian-core/ChangeLog
U   branches/matchspy/xapian-core/api/matchspy.cc
U   branches/matchspy/xapian-core/include/xapian/matchspy.h
U   branches/matchspy/xapian-core/tests/api_matchspy.cc

Links:
http://xapian.org/C?13075
http://xapian.org/C?13075?branches/matchspy/xapian-core/ChangeLog
http://xapian.org/C?13075?branches/matchspy/xapian-core/api/matchspy.cc
http://xapian.org/C?13075?branches/matchspy/xapian-core/include/xapian/matchspy.h
http://xapian.org/C?13075?branches/matchspy/xapian-core/tests/api_matchspy.cc



More information about the Xapian-commits mailing list