[Xapian-tickets] [Xapian] #359: MultiValueSorter::add() and Enquire::set_sort_by_value() inconsistency

Xapian nobody at xapian.org
Fri Jul 17 16:37:25 BST 2009


#359: MultiValueSorter::add() and Enquire::set_sort_by_value() inconsistency
-------------------------+--------------------------------------------------
 Reporter:  olly         |       Owner:  olly    
     Type:  defect       |      Status:  assigned
 Priority:  highest      |   Milestone:  1.1.3   
Component:  Library API  |     Version:  1.1.0   
 Severity:  normal       |    Keywords:          
Blockedby:               |    Platform:  All     
 Blocking:               |  
-------------------------+--------------------------------------------------

Comment(by olly):

 A related thought - aside from the name, Sorter could be used to allow
 building collapse keys dynamically.  !MultiValueSorter is perhaps less
 useful for that purpose - while being able to collapse if all of N values
 match, there's no useful meaning of the "direction" flag.  So perhaps
 Sorter would be better named more generically (!KeyMaker?)  Or perhaps we
 should just have a separate base class for building collapse keys.

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



More information about the Xapian-tickets mailing list