[Xapian-discuss] Different query parsing in v0.9.9 and v1.0.5
Lars Kruse
lists at sumpfralle.de
Fri Apr 18 06:06:59 BST 2008
Hi,
I am using the python bindings for xapian in a debian system (python 2.4).
I just noticed, that the following returns different queries for different
versions of xapian:
xapian.QueryParser().parse_query("field_2").get_description()
The result for xapian v0.9.9:
'Xapian::Query((field:(pos=1) PHRASE 2 2:(pos=2)))'
(the query string is splitted into tokens)
The result for xapian v1.0.5:
'Xapian::Query(field_2:(pos=1))'
(the query string stays the same)
Was there a change of default settings, that caused this change of behaviour?
I would like to implement a wrapper around v0.9 to mimick the behaviour of v1.0
for this specific kind of query.
Could anybody give me a hint, where to start?
(Debian stable (Etch) still ships v0.9.9 - thus I would like to keep
backward-compatibility for the small feature set, that I am using.)
thanks for your time!
Lars
More information about the Xapian-discuss
mailing list