Re: Numbertools and efficient sorting

2006-06-11 Thread Chris Hostetter
: > : I want to use INT sorting instead, but these strings can not be parsed : > : back into integers by Java's built in parsing functions, which is : > : > 1) Take a look at FieldCache.IntParser and : > FieldCache.getInts(IndexReader,String,IntParser) .. you can use it in your : > own custom Sort

Re: Numbertools and efficient sorting

2006-06-10 Thread Benjamin Stein
On 6/9/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: : I have an integer field that I've indexed after converting to a string : using NumberTools.longToString(). : Now I want to sort my results using this field. Everything works when : treating the field as a string, but is very slow and memor

Re: Numbertools and efficient sorting

2006-06-09 Thread Chris Hostetter
: I have an integer field that I've indexed after converting to a string : using NumberTools.longToString(). : Now I want to sort my results using this field. Everything works when : treating the field as a string, but is very slow and memory intensive. : : I want to use INT sorting instead, but

Numbertools and efficient sorting

2006-06-09 Thread Benjamin Stein
I have an integer field that I've indexed after converting to a string using NumberTools.longToString(). Now I want to sort my results using this field. Everything works when treating the field as a string, but is very slow and memory intensive. I want to use INT sorting instead, but these strin