[Xapian-tickets] [Xapian] #235: store the sort specification in the option map instead of separate variables

Xapian nobody at xapian.org
Tue Apr 22 14:13:40 BST 2008


#235: store the sort specification in the option map instead of separate
variables
---------------------------+------------------------------------------------
 Reporter:  tv+xapian.org  |        Owner:  olly    
     Type:  enhancement    |       Status:  assigned
 Priority:  normal         |    Milestone:  1.1.0   
Component:  Omega          |      Version:  SVN HEAD
 Severity:  minor          |   Resolution:          
 Keywords:                 |    Blockedby:          
 Platform:  All            |     Blocking:          
---------------------------+------------------------------------------------
Changes (by olly):

  * milestone:  => 1.1.0


Old description:

> Hi,
>
> the patch at
> http://people.debian.org/~tviehmann/list-
> search/xapian_omega_make_sortstuff_options.diff
> moves the sort specification into the option map and removes the sort_*
> variables in omega.h.
> This makes the sort specification better accessible from omegascript.
> Quite possibly, it could be improved by doing the same to docid_order.
>
> The goal immediately at hand is to reduce the amount of changes to omega
> in the
> gmane/Debian list search patches, here to move the sort handling into the
> query
> templates.
>
> Kind regards
>
> Thomas
>
> URL: http://people.debian.org/~tviehmann/list-
> search/xapian_omega_make_sortstuff_options.diff

New description:

 Hi,

 the patch at
 http://people.debian.org/~tviehmann/list-
 search/xapian_omega_make_sortstuff_options.diff
 moves the sort specification into the option map and removes the sort_*
 variables in omega.h.
 This makes the sort specification better accessible from omegascript.
 Quite possibly, it could be improved by doing the same to docid_order.

 The goal immediately at hand is to reduce the amount of changes to omega
 in the
 gmane/Debian list search patches, here to move the sort handling into the
 query
 templates.

 Kind regards

 Thomas

 URL: http://people.debian.org/~tviehmann/list-
 search/xapian_omega_make_sortstuff_options.diff

--

Comment:

 Thomas: Would you mind updating this to do the same with docid_order?

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



More information about the Xapian-tickets mailing list