[Xapian-tickets] [Xapian] #674: Remote Database Sorting Incorrectly

Xapian nobody at xapian.org
Mon May 4 12:42:31 BST 2015


#674: Remote Database Sorting Incorrectly
----------------------------+-----------------------------
 Reporter:  dylang          |             Owner:  olly
     Type:  defect          |            Status:  assigned
 Priority:  normal          |         Milestone:  1.2.21
Component:  Backend-Remote  |           Version:
 Severity:  normal          |        Resolution:
 Keywords:  remote          |        Blocked By:
 Blocking:                  |  Operating System:  All
----------------------------+-----------------------------
Changes (by olly):

 * milestone:  1.3.3 => 1.2.21


Comment:

 Fixed in master by [1d5304340bbd86e6a55d12bab4240d618ed644a6].

 For 1.2.x, I think the answer is to bump the minor protocol version, and
 add a variant of `MSG_QUERY` (e.g. `MSG_QUERYSORTVALUE`) which will get a
 new variant of `REPLY_RESULTS` (e.g. `REPLY_RESULTSSORTVALUE`) which
 includes the sort key.  A 1.2.20 (or older) client will sent `MSG_QUERY`
 and still get `REPLY_RESULTS` back.  A 1.2.21 client won't work with a
 1.2.20 server, but that isn't something we promise will work.

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



More information about the Xapian-tickets mailing list