[Xapian-tickets] [Xapian] #515: Query parser crash with NEAR and default op of AND_MAYBE
Xapian
nobody at xapian.org
Sat Oct 30 15:03:01 BST 2010
#515: Query parser crash with NEAR and default op of AND_MAYBE
-------------------------+--------------------------------------------------
Reporter: richard | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.2.4
Component: QueryParser | Version: 1.2.3
Severity: normal | Keywords:
Blockedby: | Platform: All
Blocking: |
-------------------------+--------------------------------------------------
As reported at
http://thread.gmane.org/gmane.comp.search.xapian.general/8562
the queryparser crashes when default op is set to OP_AND_MAYBE and the
following query is parsed {{{
x-y NEAR test NEAR test
}}}
According to the reporter, this is not a problem with 1.0.18::
With xapian-core 1.0.18, the same code yields an error: "Exception:
Exception: Xapian::Query: AND_MAYBE requires a minimum of 2 and a maximum
of 2 sub queries, had 4"
(I have not verified this.)
--
Ticket URL: <http://trac.xapian.org/ticket/515>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list