Displaying 1 result from an estimated 1 matches for "qunserial".
2007 Mar 29
1
"Bad serialised query" error
...= 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 "compound" quer...