[Xapian-tickets] [Xapian] #439: Merge NumericRange code from matchspy branch to trun

Xapian nobody at xapian.org
Wed Feb 3 14:57:04 GMT 2010


#439: Merge NumericRange code from matchspy branch to trun
-------------------------+--------------------------------------------------
 Reporter:  richard      |       Owner:  richard  
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  1.2.x    
Component:  Library API  |     Version:  SVN trunk
 Severity:  normal       |   Blockedby:           
 Platform:  All          |    Blocking:           
-------------------------+--------------------------------------------------
 Issues to be addressed before doing this:

  * Is the standard scheme useful?
  * Should we be returning the ends of the buckets (so adjacent buckets
 meet up), or the maximum and minimum values in the buckets.  Or is
 returning both the most useful approach.
  * What's the best API for implementing different bucketing schemes.  The
 current API is to make a new subclass of NumericRanges to implement a new
 bucketing scheme, and all the work is done in the constructor: this seems
 poor.  Really, we should have some kind of factory methods to create the
 ranges.
  * We need support for logarithmic ranges, since they're very common.
  * We need to document properly what the current scheme does.

-- 
Ticket URL: <http://trac.xapian.org/ticket/439>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list