|
|
Choosing A Webhost: |
9309: trunk/xapian-bindings/ trunk/xapian-bindings/python/: msg#00101search.xapian.cvs
SVN root: svn://svn.xapian.org/xapian Changes by: richard Revision: 9309 Date: 2007-09-18 19:47:51 +0100 (Tue, 18 Sep 2007) Log message (14 lines): python/util.i,python/extra.i: Add support for ValueRangeProcessor.operator(); this is messy because we need to make special argout typemaps, and the parameter names (begin and end) are used for arguments of type "std::string&" elsewhere - therefore, we have to extend ValueRangeProcessor with a new __call() method with uniquely named arguments, and then override the original __call__ method with this (in the python code). ValueRangeProcessor.__call__() now returns a 3-tuple, (slotnum, begin, end) - previously, it always failed with a type error, so this won't break existing code. Fixes bug #193 for Python. python/smoketest.py: Add test for DateValueRangeProcessor() when used in a query parser, a regression test for bug #193 (using a NumberValueRangeProcessor), and some other regression tests from the PHP test file. Modified files: U trunk/xapian-bindings/ChangeLog U trunk/xapian-bindings/python/extra.i U trunk/xapian-bindings/python/smoketest.py U trunk/xapian-bindings/python/util.i Links: http://xapian.org/C?9309 http://xapian.org/C?9309?trunk/xapian-bindings/ChangeLog http://xapian.org/C?9309?trunk/xapian-bindings/python/extra.i http://xapian.org/C?9309?trunk/xapian-bindings/python/smoketest.py http://xapian.org/C?9309?trunk/xapian-bindings/python/util.i
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | 9308: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/include/xapian/, olly |
|---|---|
| Next by Date: | 9310: trunk/xapian-bindings/ trunk/xapian-bindings/python/docs/, richard |
| Previous by Thread: | 9308: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/include/xapian/, olly |
| Next by Thread: | 9310: trunk/xapian-bindings/ trunk/xapian-bindings/python/docs/, richard |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |