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

Xapian nobody at xapian.org
Mon Apr 28 14:05:27 BST 2008


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

Comment(by versmisse):

 Replying to [ticket:256 versmisse]:

 I looked at the code (omenquire.cc in particular), i think that the
 functions set_sort_by_* can operate only once with a single instance of
 Enquire.
 For example:
 internal->sorter = NULL; added to
 Enquire::set_sort_by_value_then_relevance resolves my problem, but it is
 not very clean, there are surely some other variables to set.

 Thanks you in advance for your answer,

 Best regards,
 David Versmisse.

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



More information about the Xapian-tickets mailing list