Marvin,

> Int32Type is already `sortable`, and since RangeQuery needs sortable field
> types, ranges should work now.
>

When I do a range query on a sortable Int32Type I get an error:
 "term is a Lucy::Object::CharBuf, and not comparable to a 
Lucy::Object::Integer32"

I use the range in the same way as in the example:
http://search.cpan.org/~creamyg/Lucy-0.3.3/lib/Lucy/Search/RangeQuery.pod


> A lot of times people have been able to simulate numeric fields by hacking in
> leading zeroes.  

Do you know if there is a speed difference between sorting on Int32Type fields 
and text
fields with leading zero's ?


Thomas den Braber





Reply via email to