[Xapian-tickets] [Xapian] #311: set_sort_by_value has incorrect sense for 'ascending'

Xapian nobody at xapian.org
Thu Apr 23 14:46:54 BST 2009


#311: set_sort_by_value has incorrect sense for 'ascending'
-------------------------+--------------------------------------------------
 Reporter:  tommortimer  |        Owner:  olly     
     Type:  defect       |       Status:  closed   
 Priority:  normal       |    Milestone:  1.0.11   
Component:  Library API  |      Version:  SVN trunk
 Severity:  minor        |   Resolution:  fixed    
 Keywords:               |    Blockedby:           
 Platform:  All          |     Blocking:           
-------------------------+--------------------------------------------------

Comment(by Daniel.Menard):

 Just a note to point out that the logic seems to be the opposite for
 MultiValueSorter:

 MultiValueSorter::add(Xapian::valueno valno, bool forward=true);
 Enquire::set_sort_by_key (Xapian::Sorter *sorter, bool reverse=true);

 (Sorry to comment on a closed ticket, it was not worth a new issue)

-- 
Ticket URL: <http://trac.xapian.org/ticket/311#comment:15>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list