|
|
Choosing A Webhost: |
7505: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/backends/: msg#00123search.xapian.cvs
SVN root: svn://svn.xapian.org/xapian Changes by: olly Revision: 7505 Date: 2006-11-13 04:03:34 +0000 (Mon, 13 Nov 2006) Log message (25 lines): common/database.h,api/omdatabase.cc, backends/inmemory/inmemory_database.cc, backends/inmemory/inmemory_database.h, backends/quartz/Makefile.am,backends/quartz/quartz_database.cc, backends/quartz/quartz_alldocspostlist.h, backends/quartz/quartz_alldocspostlist.cc, backends/flint/Makefile.am,backends/flint/flint_database.cc, backends/flint/flint_alldocspostlist.cc, backends/flint/flint_alldocspostlist.h: Implement posting lists which return a list of all documents in the database. Such a posting list is obtained by calling Xapian::Database::postlist_begin() with an empty term (ie, ""). Also, all Xapian::Database methods which take a termname now accept an empty term, and return appropriate values (ie, get_termfreq("") and get_collection_freq("") return the number of documents in the database, and term_exists("") returns true unless the database is empty). docs/quartzdesign.html: Document the inefficiency of all-document postlists for Quartz. tests/api_anydb.cc,tests/api_db.cc,tests/api_wrdb.cc: Add tests for all-document postlists, and for passing an empty term to all the applicable database methods. This defines the new tests allpostlist1, allpostlist2, emptyterm1, and emptyterm2. These tests currently skip for the remote backend where postlist_begin() isn't yet implemented. Modified files: U trunk/xapian-core/ChangeLog U trunk/xapian-core/api/omdatabase.cc U trunk/xapian-core/backends/flint/Makefile.am A trunk/xapian-core/backends/flint/flint_alldocspostlist.cc A trunk/xapian-core/backends/flint/flint_alldocspostlist.h U trunk/xapian-core/backends/flint/flint_database.cc U trunk/xapian-core/backends/inmemory/inmemory_database.cc U trunk/xapian-core/backends/inmemory/inmemory_database.h U trunk/xapian-core/backends/quartz/Makefile.am A trunk/xapian-core/backends/quartz/quartz_alldocspostlist.cc A trunk/xapian-core/backends/quartz/quartz_alldocspostlist.h U trunk/xapian-core/backends/quartz/quartz_database.cc U trunk/xapian-core/common/database.h U trunk/xapian-core/docs/quartzdesign.html U trunk/xapian-core/include/xapian/database.h U trunk/xapian-core/tests/api_anydb.cc U trunk/xapian-core/tests/api_db.cc U trunk/xapian-core/tests/api_wrdb.cc Links: http://xapian.org/C?7505 http://xapian.org/C?7505?trunk/xapian-core/ChangeLog http://xapian.org/C?7505?trunk/xapian-core/api/omdatabase.cc http://xapian.org/C?7505?trunk/xapian-core/backends/flint/Makefile.am http://xapian.org/C?7505?trunk/xapian-core/backends/flint/flint_alldocspostlist.cc?A http://xapian.org/C?7505?trunk/xapian-core/backends/flint/flint_alldocspostlist.h?A http://xapian.org/C?7505?trunk/xapian-core/backends/flint/flint_database.cc http://xapian.org/C?7505?trunk/xapian-core/backends/inmemory/inmemory_database.cc http://xapian.org/C?7505?trunk/xapian-core/backends/inmemory/inmemory_database.h http://xapian.org/C?7505?trunk/xapian-core/backends/quartz/Makefile.am http://xapian.org/C?7505?trunk/xapian-core/backends/quartz/quartz_alldocspostlist.cc?A http://xapian.org/C?7505?trunk/xapian-core/backends/quartz/quartz_alldocspostlist.h?A http://xapian.org/C?7505?trunk/xapian-core/backends/quartz/quartz_database.cc http://xapian.org/C?7505?trunk/xapian-core/common/database.h http://xapian.org/C?7505?trunk/xapian-core/docs/quartzdesign.html http://xapian.org/C?7505?trunk/xapian-core/include/xapian/database.h http://xapian.org/C?7505?trunk/xapian-core/tests/api_anydb.cc http://xapian.org/C?7505?trunk/xapian-core/tests/api_db.cc http://xapian.org/C?7505?trunk/xapian-core/tests/api_wrdb.cc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | 7504: trunk/xapian-applications/omega/, olly |
|---|---|
| Next by Date: | 7506: trunk/xapian-core/, olly |
| Previous by Thread: | 7504: trunk/xapian-applications/omega/, olly |
| Next by Thread: | 7506: trunk/xapian-core/, olly |
| 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 |