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...

9321: trunk/xapian-core/ trunk/xapian-core/include/xapian/ trunk/xapian-cor: msg#00113

search.xapian.cvs

Subject: 9321: 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: richard
Revision: 9321
Date: 2007-09-21 15:11:54 +0100 (Fri, 21 Sep 2007)

Log message (30 lines):
include/xapian/queryparser.h,queryparser/queryparser.cc: API
addition: Revert previous change to behaviour of
QueryParser::add_prefix and QueryParser::add_boolean_prefix
methods, to avoid API change within a release series. Add new
QueryParser::add_prefix() form which takes three parameters; the
third parameter is a value from a new "prefix_type" enum.
queryparser/queryparser.lemony,queryparser/queryparser_internal.h:
Internal changes to allow multiple filters to be set for a single
field:
- Remove the PrefixInfoList object again - instead add a list of
prefixes to PrefixInfo. We only aim to support one type of
prefix for a given field, so the extra flexibility given by
PrefixInfoList is a districation.
- Change filter_group_id to be based on a list of prefixes,
instead of a single prefix.
- Change Term objects to store a list of prefixes instead of a
single prefix. make_term() now takes a prefix argument and
makes a single term. Term::as_... methods iterate through the
prefix list and OR together the resulting terms.
- Change TermList object to store a list of Terms instead of
Queries, and also to keep track of whether the prefix lists
for those Terms are all the same. When they are the same,
generate separate phrases for each prefix, and OR them
togeher, instead of generating phrases of "OR" groups of
terms. Remove the unused "TermList::add_term()" method.
tests/queryparsertest.cc: Add simple tests of repeated inline
fields, phrases with multiple prefixed fields, tests of backwards
compatible behaviour of add_prefix(field, prefix), and
add_boolean_prefix(), and of the new add_prefix() form with
incompatible types.

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?9321
http://xapian.org/C?9321?trunk/xapian-core/ChangeLog
http://xapian.org/C?9321?trunk/xapian-core/include/xapian/queryparser.h
http://xapian.org/C?9321?trunk/xapian-core/queryparser/queryparser.cc
http://xapian.org/C?9321?trunk/xapian-core/queryparser/queryparser.lemony
http://xapian.org/C?9321?trunk/xapian-core/queryparser/queryparser_internal.h
http://xapian.org/C?9321?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