18282: trunk/xapian-core/ trunk/xapian-core/matcher/ trunk/xapian-core/tests/

olly <[email protected]> Tue, 14 Oct 2014 03:48:36 +0100
Newsgroups gmane.comp.search.xapian.cvs
Message-ID <[email protected]>
SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       18282
Date:           2014-10-14 03:48:36 +0100 (Tue, 14 Oct 2014)

Log message (4 lines):
matcher/phrasepostlist.cc,tests/api_backend.cc: If the anchor term
for a phrase is the first or last, set the min or max to its
position respectively.  Fixes the testcase in #657, but may not be
a complete fix.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/matcher/phrasepostlist.cc
U   trunk/xapian-core/tests/api_backend.cc

Links:
http://xapian.org/C?18282
http://xapian.org/C?18282?trunk/xapian-core/ChangeLog
http://xapian.org/C?18282?trunk/xapian-core/matcher/phrasepostlist.cc
http://xapian.org/C?18282?trunk/xapian-core/tests/api_backend.cc