[Xapian-tickets] [Xapian] #432: valuestream document not used by OP_VALUE_RANGE

Xapian nobody at xapian.org
Fri Jan 29 16:23:16 GMT 2010


#432: valuestream document not used by OP_VALUE_RANGE
---------------------+------------------------------------------------------
 Reporter:  richard  |       Owner:  olly     
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  1.2.x    
Component:  Matcher  |     Version:  SVN trunk
 Severity:  normal   |   Blockedby:           
 Platform:  All      |    Blocking:           
---------------------+------------------------------------------------------
 The valuestream documents are not currently being used by OP_VALUE_RANGE
 (and also OP_VALUE_GE, etc) as far as I can tell.  My main evidence for
 this is some profiling traces of a pure VALUE_RANGE search which doesn't
 call any ValueStreamDocument methods, but I also can't see any code which
 would allow a ValueStreamDocument to be used.

 I'd expected ValueStreamDocument to be used for these, since it should
 reduce the amount of seeking around they need to do, and speed them up
 considerably.  I think the ValueStreamDocument would need to become a
 member of MultiMatch, be created in the constructor, and passed to
 LocalSubMatch, and on to the query optimiser, to allow it to be used.

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



More information about the Xapian-tickets mailing list