|
|
Choosing A Webhost: |
9184: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/include/x: msg#00093search.xapian.cvs
SVN root: svn://svn.xapian.org/xapian Changes by: richard Revision: 9184 Date: 2007-07-14 00:22:50 +0100 (Sat, 14 Jul 2007) Log message (11 lines): api/matchspy.cc,include/xapian/matchspy.h: Get rid of the TopValueMatchSpy in favour of a new function "get_most_frequent_items", which processes the output of a ValueCountMatchSpy. Add a TermCountMatchSpy which counts the occurrences of terms with a given prefix, and gives output in the same form as ValueCountMatchSpy. Add convenience methods ValueCountMatchSpy::get_top_values() and TermCountMatchSpy::get_top_terms() which use this to return the most frequent items seen by the matchspy. tests/api_wrdb.cc: Test the ValueCountMatchSpy, and the get_most_frequent_items() function. Modified files: U trunk/xapian-core/ChangeLog U trunk/xapian-core/api/matchspy.cc U trunk/xapian-core/include/xapian/matchspy.h U trunk/xapian-core/tests/api_wrdb.cc Links: http://xapian.org/C?9184 http://xapian.org/C?9184?trunk/xapian-core/ChangeLog http://xapian.org/C?9184?trunk/xapian-core/api/matchspy.cc http://xapian.org/C?9184?trunk/xapian-core/include/xapian/matchspy.h http://xapian.org/C?9184?trunk/xapian-core/tests/api_wrdb.cc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | 9183: trunk/xapian-core/ trunk/xapian-core/matcher/ trunk/xapian-core/tests/, richard |
|---|---|
| Next by Date: | 9185: trunk/xapian-bindings/ trunk/xapian-bindings/python/, richard |
| Previous by Thread: | 9183: trunk/xapian-core/ trunk/xapian-core/matcher/ trunk/xapian-core/tests/, richard |
| Next by Thread: | 9185: trunk/xapian-bindings/ trunk/xapian-bindings/python/, 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 |