logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

9476: trunk/xapian-core/ trunk/xapian-core/include/xapian/ trunk/xapian-cor: msg#00091

search.xapian.cvs

Subject: 9476: trunk/xapian-core/ trunk/xapian-core/include/xapian/ trunk/xapian-core/queryparser/ trunk/xapian-core/tests/

SVN root: svn://svn.xapian.org/xapian
Changes by: olly
Revision: 9476
Date: 2007-10-19 03:47:11 +0100 (Fri, 19 Oct 2007)

Log message (14 lines):
include/xapian/queryparser.h,queryparser/queryparser.cc,
queryparser/queryparser.lemony,queryparser/queryparser_internal.h,
tests/queryparsertest.cc: Since calling QueryParser::add_prefix()
or QueryParser::add_boolean_prefix() a second time with the same
field name was ignored before (rather than overriding as we had
thought) it seems reasonable to change this behaviour. This
also avoids the need to deprecate these methods which will force all
users to update their code. Change the semantics of default_prefix
- it's more useful if this overrides any default prefixes set with
add_prefix(), since this allows the same QueryParser object to
parse both a "general" search input which searches several fields
and also a "title" search input. Trying to set the same field
as probabilistic and boolean now throws InvalidOperationError
rather than UnimplementedError.

Modified files:
U trunk/xapian-core/ChangeLog
U trunk/xapian-core/include/xapian/queryparser.h
U trunk/xapian-core/queryparser/queryparser.cc
U trunk/xapian-core/queryparser/queryparser.lemony
U trunk/xapian-core/queryparser/queryparser_internal.h
U trunk/xapian-core/tests/queryparsertest.cc

Links:
http://xapian.org/C?9476
http://xapian.org/C?9476?trunk/xapian-core/ChangeLog
http://xapian.org/C?9476?trunk/xapian-core/include/xapian/queryparser.h
http://xapian.org/C?9476?trunk/xapian-core/queryparser/queryparser.cc
http://xapian.org/C?9476?trunk/xapian-core/queryparser/queryparser.lemony
http://xapian.org/C?9476?trunk/xapian-core/queryparser/queryparser_internal.h
http://xapian.org/C?9476?trunk/xapian-core/tests/queryparsertest.cc


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation