[Xapian-tickets] [Xapian] #452: Add support for sorting documents missing a value to end

Xapian nobody at xapian.org
Mon May 3 05:48:42 BST 2010


#452: Add support for sorting documents missing a value to end
-------------------------+--------------------------------------------------
 Reporter:  richard      |       Owner:  richard  
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  1.2.x    
Component:  Library API  |     Version:  SVN trunk
 Severity:  normal       |    Keywords:           
Blockedby:               |    Platform:  All      
 Blocking:               |  
-------------------------+--------------------------------------------------

Comment(by olly):

 The patch also changes the type in the vector in !MultiValueKeyMaker,
 which is an incompatible ABI change, and not so trivial to fix.

 Probably the best bet is what we did in an early 1.0.x release - put the
 new version in a "Foo" namespace and pull it into namespace Xapian with
 "using Foo::MultiValueKeyMaker;".  The old version gets removed from the
 external header, but is still present in the library (with public
 visibility) for dynamic linking of binaries built against 1.2.0-1.2.x just
 before this change.

 Care is also needed to stop SWIG exploding, so I'd copy how we did this in
 1.0.x as that should have the wrinkles sorted out already.

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



More information about the Xapian-tickets mailing list