Hi! On Wed, Jul 18, 2007 at 09:36:32AM +0200, Sinnyn Lee wrote: > As far as i know about the RangeQuery is that it need fixed-length > number in query options such as RangeQuery.new(:count, :>= => '00', :<= > => '99'). > But is there a mechanism to use a fixnum in the options instead of > filling the left with 0?
No, you have to use strings. You could write a wrapper around RangeQuery that accepts Fixnums and does the left padding to the width of your largest field value of course. cheers, Jens -- Jens Krämer http://www.jkraemer.net/ - Blog http://www.omdb.org/ - The new free film database _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

