I am having the same issue as well and not sure how to correct this. Can I
not use Int32Type when indexing integers that I want to do a range query on
later?

Can you give me an example of the leading zeros because I think I tried that
also but I may be miss understanding what you mean by leading zeros? I tried
adding zeros like so 

my $range_query = Lucy::Search::RangeQuery->new(
         field      => 'time_sec',
         lower_term => '00014',
     ); 

I am storing the seconds in a day into an Int32Type so it's range will be
from 0-86400. If I storing in a Int32Type is impossible to use on RangeQuery
then how should I store this value and have it sorted the correct way (ex.
1111 is not smaller than 21 just because "1111" begins with "1" and "21"
begins with "2") ???

Thanks in advance,

Nicholas Dwyer



--
View this message in context: 
http://lucene.472066.n3.nabble.com/lucy-user-Indexing-Lucy-Plan-Int32Type-tp4103497p4106414.html
Sent from the lucy-user mailing list archive at Nabble.com.

Reply via email to