[Xapian-tickets] [Xapian] #432: valuestreams not used by OP_VALUE_RANGE (was: valuestream document not used by OP_VALUE_RANGE)

Xapian nobody at xapian.org
Sat Jan 30 07:38:23 GMT 2010


#432: valuestreams not used by OP_VALUE_RANGE
-------------------------+--------------------------------------------------
 Reporter:  richard      |       Owner:  olly     
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  1.2.x    
Component:  Matcher      |     Version:  SVN trunk
 Severity:  normal       |    Keywords:           
Blockedby:               |    Platform:  All      
 Blocking:               |  
-------------------------+--------------------------------------------------
Changes (by olly):

  * type:  defect => enhancement


Comment:

 !ValueStreamDocument is only required because we need to be able to pass a
 Document object to user subclassable functors.  OP_VALUE_RANGE only needs
 to read values from a single document slot, so should just use a
 valuestream iterator directly.

 If we're worried about sharing a valuestream between filtering and
 sorting, etc then we should push the sharing mechanism into a separate
 place which just returns a shared valuestream iterator which we can use
 here, rather than forcing access through a Document proxy (which adds
 needless overhead) to achieve this.

 Marking as an enhancement, since this isn't buggy, just slower than it
 could be.

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



More information about the Xapian-tickets mailing list