[Xapian-tickets] [Xapian] #311: set_sort_by_value has incorrect sense for 'ascending'
Xapian
nobody at xapian.org
Sun Nov 9 23:26:28 GMT 2008
#311: set_sort_by_value has incorrect sense for 'ascending'
---------------------------+------------------------------------------------
Reporter: tommortimer | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.1.0
Component: Documentation | Version: SVN HEAD
Severity: minor | Resolution:
Keywords: | Blockedby:
Platform: All | Blocking:
---------------------------+------------------------------------------------
Comment(by richard):
(I was surprised myself to find I hadn't made a bug report about this.)
Of the options discussed so far, I think just changing the parameter name
is the least intrusive in the short term, and I'd favour it.
Longer term, providing an overloaded form using the enum might be a good
plan, with the aim of deprecating the existing bool form, since it should
lead to more readable code. However, I'd be slightly concerned about
whether the overloading implementions for all the languages we provide
bindings for can distinguish between bool and int parameters successfully.
--
Ticket URL: <http://trac.xapian.org/ticket/311#comment:4>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list