[Xapian-tickets] [Xapian] #256: Bug when i switch from a sorting mode to an other in python

Xapian nobody at xapian.org
Wed Apr 30 11:31:14 BST 2008


#256: Bug when i switch from a sorting mode to an other in python
-----------------------------+----------------------------------------------
 Reporter:  versmisse        |        Owner:  olly    
     Type:  defect           |       Status:  assigned
 Priority:  normal           |    Milestone:  1.0.7   
Component:  Xapian-bindings  |      Version:  1.0.6   
 Severity:  normal           |   Resolution:          
 Keywords:  Enquire python   |    Blockedby:          
 Platform:  All              |     Blocking:          
-----------------------------+----------------------------------------------
Changes (by olly):

  * status:  new => assigned
  * milestone:  => 1.0.7


Comment:

 Actually, I believe you've nailed this one.  Thanks!

 I don't think there are any other variables to set.  In a less strongly
 typed language, sort_key and sorter would be a single member variable, but
 in C++ that isn't possible so sort_key is ignored unless sorter is NULL.

 I'll commit fixes for 1.1.0 and 1.0.7 when I get a chance, but meanwhile,
 adding
 internal->sorter = NULL to set_sort_by*value*() by hand should resolve
 this for you.

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



More information about the Xapian-tickets mailing list