|
|
Choosing A Webhost: |
9492: trunk/xapian-core/ trunk/xapian-core/queryparser/: msg#00109search.xapian.cvs
SVN root: svn://svn.xapian.org/xapian Changes by: olly Revision: 9492 Date: 2007-10-23 19:18:53 +0100 (Tue, 23 Oct 2007) Log message (10 lines): queryparser/queryparser.lemony: Some as_XXX() methods delete the object they are called on, while others don't, so rename the ones which don't to get_XXX() to make the code clearer, and make them all return Query rather than Query *. Eliminate Term::as_query() completely - when we actually want a new object we can just call new in the caller. op_window_query() now takes the difference between the number of terms and the total window size, and we now use a std::vector to store the generated Query objects rather than a std::list, since we know how many there will be and can reserve the required size in advance. Modified files: U trunk/xapian-core/ChangeLog U trunk/xapian-core/queryparser/queryparser.lemony Links: http://xapian.org/C?9492 http://xapian.org/C?9492?trunk/xapian-core/ChangeLog http://xapian.org/C?9492?trunk/xapian-core/queryparser/queryparser.lemony
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | 9491: trunk/xapian-core/ trunk/xapian-core/queryparser/, olly |
|---|---|
| Next by Date: | 9493: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/queryparser/ trunk/xapian-core/tests/, olly |
| Previous by Thread: | 9491: trunk/xapian-core/ trunk/xapian-core/queryparser/, olly |
| Next by Thread: | 9493: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/queryparser/ trunk/xapian-core/tests/, 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 |