[Xapian-commits] 11835: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/include/xapian/ trunk/xapian-core/tests/

richard xapian-commits at lists.xapian.org
Fri Feb 13 19:34:59 GMT 2009


SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       11835
Date:           2009-02-13 19:34:59 +0000 (Fri, 13 Feb 2009)

Log message (8 lines):
api/postingsource.cc,include/xapian/postingsource.h: Add
ValuePostingSource, which is a base class for implementing
posting sources based on reading from a value slot.  Convert
ValueWeightPostingSource to be a subclass of this, and add
ValueMapPostingSource, which is a posting source which uses a map
to convert values to weights.
tests/api_db.cc: Add valuemapsource1, testing the
ValueMapPostingSource.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/api/postingsource.cc
U   trunk/xapian-core/include/xapian/postingsource.h
U   trunk/xapian-core/tests/api_db.cc

Links:
http://xapian.org/C?11835
http://xapian.org/C?11835?trunk/xapian-core/ChangeLog
http://xapian.org/C?11835?trunk/xapian-core/api/postingsource.cc
http://xapian.org/C?11835?trunk/xapian-core/include/xapian/postingsource.h
http://xapian.org/C?11835?trunk/xapian-core/tests/api_db.cc



More information about the Xapian-commits mailing list