[Xapian-tickets] [Xapian] #254: Setting QueryParser default_op to OP_NEAR doesn't set an explicit window size (was: Boolean operator NEAR does not accept more than 2 params)
Xapian
nobody at xapian.org
Tue Jul 15 14:52:11 BST 2008
#254: Setting QueryParser default_op to OP_NEAR doesn't set an explicit window
size
-------------------------+--------------------------------------------------
Reporter: kevinduraj | Owner: olly
Type: defect | Status: assigned
Priority: normal | Milestone: 1.0.8
Component: QueryParser | Version: 1.0.7
Severity: normal | Resolution:
Keywords: | Blockedby:
Platform: All | Blocking:
-------------------------+--------------------------------------------------
Changes (by olly):
* keywords: NEAR =>
* status: new => assigned
* version: 1.0.6 => 1.0.7
* milestone: 1.0.7 => 1.0.8
Comment:
This will work in 1.0.7 for multiple terms as well as it does for just two
terms in 1.0.6.
But that's not actually very well - the window size for the OP_NEAR isn't
set explicitly, so
the default of the number of terms is used. I think it would make more
sense to default_op of
OP_NEAR to work much like an explicit a NEAR b NEAR c. So I'm going to
keep this bug open
for this remaining issue, but retitle appropriately.
--
Ticket URL: <http://trac.xapian.org/ticket/254#comment:4>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list