[KinoSearch] Sorting numeric fields

Darian Anthony Patrick darian at criticode.com
Thu Apr 23 05:11:27 PDT 2009


Hello all,

I'm indexing a field containing prices, and I'm attempting to sort
results based on that price field.  It appears that KinoSearch is
sorting from the the leftmost digit to the right, instead of right to
left, ie. when sorting in descending order the results are ordered 995,
99000, 9900, 990, 99, 989, 985...2025, 2015, etc.  This is incorrect for
this particular field.

Do I need to specify a new FieldSpec for integer fields that I'd like to
sort on properly?

Many thanks in advance,

Darian

-- 
Darian Anthony Patrick, Criticode LLC
Office:     (215) 789-9956
Facsimile:  (866) 789-2992
Email/XMPP: darian at criticode.com
Web:        http://criticode.com
=================================================
BCF1 E7AD 15AD 8A99 F613 AF5F 2A9C C45C F580 E087
=================================================
* Signed and encrypted communications preferred.



More information about the kinosearch mailing list