richard | 1 Jul 11:15 2007

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

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       9095
Date:           2007-07-01 10:15:35 +0100 (Sun, 01 Jul 2007)

Log message (16 lines):
matcher/localmatch.cc: When registering a term, check if it's
empty, and if so use the document count as the term frequency,
rather than calling the database to get the term frequency of an
empty term (most database backends have an assertion that the
term is not empty, and an empty term isn't a valid parameter to
pass to get_termfreq() anyway).
matcher/multimatch.cc: For MatchAll queries, the "" term will not
be found in the termlist of the top document, so check if a ""
term is present in the query, and use it to increase the
percent_scale if so.  This fixes an Assertion which checked that
percent_scale was not 0.
tests/api_db.cc: Add test_matchall1() which tests running a query
with a MatchAll query.
tests/api_nodb.cc: Rename test_emptyquery1 and test_emptyquery2
to test_emptyquery2 and test_emptyquery3, respectively.  There
was already a (different) test_emptyquery1 in api_anydb.cc.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/matcher/localmatch.cc
U   trunk/xapian-core/matcher/multimatch.cc
U   trunk/xapian-core/tests/api_db.cc
U   trunk/xapian-core/tests/api_nodb.cc

(Continue reading)

olly | 1 Jul 16:41 2007

9096: trunk/xapian-core/ trunk/xapian-core/include/xapian/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       9096
Date:           2007-07-01 15:41:28 +0100 (Sun, 01 Jul 2007)

Log message (6 lines):
include/xapian/queryparser.h: Clearer description of
NumberValueRangeProcessor.  Don't document the number format in
terms of strtod() - that's a bug, not a feature we want to be tied
to.
include/xapian/query.h,include/xapian/queryparser.h: Use " <at> a" not
"\a" for consistency with existing usage.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/include/xapian/query.h
U   trunk/xapian-core/include/xapian/queryparser.h

Links:
http://xapian.org/C?9096
http://xapian.org/C?9096?trunk/xapian-core/ChangeLog
http://xapian.org/C?9096?trunk/xapian-core/include/xapian/query.h
http://xapian.org/C?9096?trunk/xapian-core/include/xapian/queryparser.h
olly | 2 Jul 15:10 2007

9097: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/include/xapian/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       9097
Date:           2007-07-02 14:10:54 +0100 (Mon, 02 Jul 2007)

Log message (6 lines):
api/Makefile.mk,api/valuerangeproccompat.cc,
include/xapian/queryparser.h: Put the new NumberValueRangeProcessor
in a sub-namespace which we then import it from.  Restore the old
NumberValueRangeProcessor implementation inside the library so that
it is available to code linked against 1.0.0 or 1.0.1 to keep ABI
compatibility.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/api/Makefile.mk
A   trunk/xapian-core/api/valuerangeproccompat.cc
U   trunk/xapian-core/include/xapian/queryparser.h

Links:
http://xapian.org/C?9097
http://xapian.org/C?9097?trunk/xapian-core/ChangeLog
http://xapian.org/C?9097?trunk/xapian-core/api/Makefile.mk
http://xapian.org/C?9097?trunk/xapian-core/api/valuerangeproccompat.cc?A
http://xapian.org/C?9097?trunk/xapian-core/include/xapian/queryparser.h
richard | 2 Jul 15:55 2007

9098: trunk/xapian-core/ trunk/xapian-core/queryparser/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       9098
Date:           2007-07-02 14:55:02 +0100 (Mon, 02 Jul 2007)

Log message (2 lines):
queryparser/termgenerator_internal.h: Fix for gcc-2.95
compilation.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/queryparser/termgenerator_internal.h

Links:
http://xapian.org/C?9098
http://xapian.org/C?9098?trunk/xapian-core/ChangeLog
http://xapian.org/C?9098?trunk/xapian-core/queryparser/termgenerator_internal.h
richard | 2 Jul 15:57 2007

9099: trunk/xapian-core/ trunk/xapian-core/bin/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       9099
Date:           2007-07-02 14:57:14 +0100 (Mon, 02 Jul 2007)

Log message (2 lines):
bin/xapian-inspect.cc: Add missing #include of <stdio.h> - fixes
gcc-2.95 compilation.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/bin/xapian-inspect.cc

Links:
http://xapian.org/C?9099
http://xapian.org/C?9099?trunk/xapian-core/ChangeLog
http://xapian.org/C?9099?trunk/xapian-core/bin/xapian-inspect.cc
richard | 2 Jul 17:38 2007

9100: trunk/xapian-core/ trunk/xapian-core/common/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       9100
Date:           2007-07-02 16:38:45 +0100 (Mon, 02 Jul 2007)

Log message (3 lines):
common/omassert.h: Fix to avoid warning in gcc-snapshot; use
do{}while(0) to protect assertions, and remove the old "if (a) {}
else {fail}" constructions which tried to do the same job.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/common/omassert.h

Links:
http://xapian.org/C?9100
http://xapian.org/C?9100?trunk/xapian-core/ChangeLog
http://xapian.org/C?9100?trunk/xapian-core/common/omassert.h
richard | 2 Jul 17:42 2007

9101: trunk/xapian-applications/omega/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       9101
Date:           2007-07-02 16:42:28 +0100 (Mon, 02 Jul 2007)

Log message (2 lines):
htmlparsetest.cc,md5test.cc: Add #include <stdlib.h>, to get a
defintion for exit().  Fixes compilation with gcc-snapshot.

Modified files:
U   trunk/xapian-applications/omega/ChangeLog
U   trunk/xapian-applications/omega/htmlparsetest.cc
U   trunk/xapian-applications/omega/md5test.cc

Links:
http://xapian.org/C?9101
http://xapian.org/C?9101?trunk/xapian-applications/omega/ChangeLog
http://xapian.org/C?9101?trunk/xapian-applications/omega/htmlparsetest.cc
http://xapian.org/C?9101?trunk/xapian-applications/omega/md5test.cc
olly | 2 Jul 18:35 2007

9102: trunk/xapian-core/ trunk/xapian-core/tests/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       9102
Date:           2007-07-02 17:35:20 +0100 (Mon, 02 Jul 2007)

Log message (3 lines):
tests/api_db.cc: Enhance matchfunctor1 to test that the functor
returns ALL matching documents, not just that all documents returned
match.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/tests/api_db.cc

Links:
http://xapian.org/C?9102
http://xapian.org/C?9102?trunk/xapian-core/ChangeLog
http://xapian.org/C?9102?trunk/xapian-core/tests/api_db.cc
olly | 2 Jul 18:56 2007

9103: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/common/ trunk/xapian-core/include/xapian/ trunk/xapian-core/matcher/ trunk/xapian-core/net/ trunk/xapian-core/tests/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       9103
Date:           2007-07-02 17:56:08 +0100 (Mon, 02 Jul 2007)

Log message (5 lines):
api/omenquire.cc,common/multimatch.h,common/omenquireinternal.h,
include/xapian/enquire.h,matcher/multimatch.cc,net/remoteserver.cc,
tests/api_db.cc: Add support for a "matchspy" - a MatchDecider which
is documented to be tested on ever candidate document.  We plan to
optimise the current matchdecider to be used as little as possible.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/api/omenquire.cc
U   trunk/xapian-core/common/multimatch.h
U   trunk/xapian-core/common/omenquireinternal.h
U   trunk/xapian-core/include/xapian/enquire.h
U   trunk/xapian-core/matcher/multimatch.cc
U   trunk/xapian-core/net/remoteserver.cc
U   trunk/xapian-core/tests/api_db.cc

Links:
http://xapian.org/C?9103
http://xapian.org/C?9103?trunk/xapian-core/ChangeLog
http://xapian.org/C?9103?trunk/xapian-core/api/omenquire.cc
http://xapian.org/C?9103?trunk/xapian-core/common/multimatch.h
http://xapian.org/C?9103?trunk/xapian-core/common/omenquireinternal.h
http://xapian.org/C?9103?trunk/xapian-core/include/xapian/enquire.h
http://xapian.org/C?9103?trunk/xapian-core/matcher/multimatch.cc
(Continue reading)

olly | 2 Jul 19:15 2007

9104: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/include/xapian/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       9104
Date:           2007-07-02 18:15:44 +0100 (Mon, 02 Jul 2007)

Log message (2 lines):
api/omenquire.cc,include/xapian/enquire.h: Fix last chance to
preserve ABI compatibility.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/api/omenquire.cc
U   trunk/xapian-core/include/xapian/enquire.h

Links:
http://xapian.org/C?9104
http://xapian.org/C?9104?trunk/xapian-core/ChangeLog
http://xapian.org/C?9104?trunk/xapian-core/api/omenquire.cc
http://xapian.org/C?9104?trunk/xapian-core/include/xapian/enquire.h

Gmane