search for: omqueryintern

Displaying 4 results from an estimated 4 matches for "omqueryintern".

Did you mean: omqueryinternal
2006 Dec 06
1
Bug and patch for +terms with wildcards
..."+foo* bar", where no terms in the database match the + wildcard "foo*", but bar does exist in the database. Previously, + such queries would be equivalent to "bar". Now, they will match + no documents. + * include/xapian/query.h,api/omqueryinternal.cc,api/omquery.cc: Add + an OM_MATCH_NOTHING query operator, and add a constructor for + nullary query operators (ie, queries with no subqueries). A + query with this operator represents a query which matches no + documents (such as a wildcard query which expa...
2007 Mar 29
1
"Bad serialised query" error
...alhost', 8100) qp = xapian.QueryParser() qp.set_database(db) query = qp.parse_query('test') enq = xapian.Enquire(db) enq.set_query(query) enq.get_mset(0, 10) This script fails with: xapian.InvalidArgumentError: REMOTE:Bad serialised query I've tracked it down to api/omqueryinternal.cc, in QUnserial::readquery(), and is the 2nd occurance of that error message in that function (ie, inside the "case '['" block). It appears that the check for: if (p == end) throw Xapian::InvalidArgumentError("Bad serialised query"); works fine when a "...
2006 Nov 15
1
Composition of NEAR and OR
...::Query("one"), Xapian::Query("two")); Xapian::Query or2(Xapian::Query::OP_OR, Xapian::Query("three"), Xapian::Query("four")); Xapian::Query near(Xapian::Query::OP_NEAR, or1, or2); I can't decide by looking at the code in omqueryinternal.cc if this is intentional or not. In debug mode, it does trigger the NEAR or PHRASE assertion at the top of flatten_subqs(), which gets called at some point for the query: ((one NEAR 2 three) OR (one NEAR 2 four)) which does not seem right or needed, Is this "(x or y) near (z or t)&q...
2006 Apr 06
2
build error : xapian-core-0.9.4_svn6707
.../snowball_french.o .libs/libxapian.lax/liblanguages.a/snowball_lovins.o .libs/libxapian.lax/liblanguages.a/snowball_spanish.o .libs/libxapian.lax/liblanguages.a/snowball_danish.o .libs/libxapian.lax/libapi.a/omenquire.o .libs/libxapian.lax/libapi.a/ompostlistiterator.o .libs/libxapian.lax/libapi.a/omqueryinternal.o .libs/libxapian.lax/libapi.a/ompositionlistiterator.o .libs/libxapian.lax/libapi.a/omtermlistiterator.o .libs/libxapian.lax/libapi.a/omerror.o .libs/libxapian.lax/libapi.a/omvalueiterator.o .libs/libxapian.lax/libapi.a/omstem.o .libs/libxapian.lax/libapi.a/version.o .libs/libxapian.lax/libapi.a...