18285: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/matcher/

olly <[email protected]> Fri, 17 Oct 2014 01:34:37 +0100
Newsgroups gmane.comp.search.xapian.cvs
Message-ID <[email protected]>
SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       18285
Date:           2014-10-17 01:34:37 +0100 (Fri, 17 Oct 2014)

Log message (3 lines):
api/queryinternal.cc,matcher/exactphrasepostlist.cc: We never try to
build an ExactPhrasePostList over 0 or 1 terms, so simply assert we
don't, rather than having an explicit check for it in the code.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/api/queryinternal.cc
U   trunk/xapian-core/matcher/exactphrasepostlist.cc

Links:
http://xapian.org/C?18285
http://xapian.org/C?18285?trunk/xapian-core/ChangeLog
http://xapian.org/C?18285?trunk/xapian-core/api/queryinternal.cc
http://xapian.org/C?18285?trunk/xapian-core/matcher/exactphrasepostlist.cc