Re: Treating values of numeric fields as numbers

2007-09-14 Thread Ivan Vasilev
Hi Eric, Yes they help for particularly this problem - they shrik all avilable Longs to 14 character strings. So they free me from the limitation that I wrote about (1970 - 2280 years). So now the advantage that I have with treating fields representing UTC dates as numbers (but not as strings)

Re: Treating values of numeric fields as numbers

2007-09-13 Thread Erik Hatcher
Ivan - have you considered using NumberUtils? I'm curious if those utility methods solve the same problem you're working on. Erik On Sep 13, 2007, at 1:19 PM, I

Treating values of numeric fields as numbers

2007-09-13 Thread Ivan Vasilev
Hi All, I have made some changes in my Lucene source, so that values of numeric fields to be treated as numbers but not as Strings. After testing everything seems to work correctly, but I still would like to know your opinion about this. So my approach is the following: 1. As during the inde