Ticket #235 (assigned enhancement)

Opened 11 months ago

Last modified 3 weeks ago

store the sort specification in the option map instead of separate variables

Reported by: tv+xapian.org Owned by: olly
Priority: normal Milestone: 1.1.1
Component: Omega Version: SVN trunk
Severity: minor Keywords:
Cc: Blocked By:
Operating System: All Blocking:

Description (last modified by olly) (diff)

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

Attachments

xapian_omega_make_sortstuff_options.diff (3.5 kB) - added by tv+xapian.org 11 months ago.
patch as described

Change History

Changed 11 months ago by tv+xapian.org

patch as described

Changed 11 months ago by olly

  • owner changed from newbugs to olly
  • rep_platform changed from PC to All
  • op_sys changed from Linux to All

Changed 11 months ago by olly

  • status changed from new to assigned

Changed 11 months ago by olly

  • summary changed from store the sort specifation in the option map instead of seperate variables to store the sort specification in the option map instead of separate variables

Yes, I think docid_order should be too.

Changed 11 months ago by trac

  • platform set to All

Changed 9 months ago by olly

  • description modified (diff)
  • milestone set to 1.1.0

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

Changed 3 weeks ago by olly

  • milestone changed from 1.1.0 to 1.1.1

This isn't an incompatible change, so bumping to 1.1.1.

Note: See TracTickets for help on using tickets.