[Xapian-discuss] Patch to enable numeric sorting in Omega using scriptindex

Kevin Duraj kevin.softdev at gmail.com
Mon Apr 28 14:23:36 BST 2008


How about performance ? Will the numeric sorting be faster then string sorting?
-- 
Kevin Duraj
http://myhealthcare.com

On Sun, Apr 27, 2008 at 6:09 PM, Olly Betts <olly at survex.com> wrote:
> On Sun, Apr 27, 2008 at 06:34:29PM -0500, Yevgeny Binder wrote:
> > Here is a quick patch to perform numeric sorting instead of the
> > default string sort in Omega 1.0.6. This must be decided at index
> > time, and is specified by replacing VALUE= with NUMERIC= in the
> > database spec file (this patch is for scriptindex only). A slightly
> > better approach, other than redesigning Omega (or Xapian?) to allow
> > setting the sort method at search time, would be to use NUMERIC as a
> > flag that modifies the VALUE= action, but I was just looking for an
> > easy hack. I hope to see this patch, or something like it, added to
> > the next release.
>
> The 1.0 branch is supposed to now be "bug fixes only", but something
> like this can certainly go in 1.1.0.
>
> Could you regenerate the patch with "diff -u" and attach it to a new
> ticket in trac?
>
> Cheers,
>    Olly
>
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
>



More information about the Xapian-discuss mailing list