Chris Hostetter <hossman_lucene <at> fucit.org> writes: > > So why couldn't a user specified NumberFormat object be used to > convert that string into an Integer? Allowing people to format > their numbers in a way that sorts lexigraphically for Range Filters, > but still get the good Numeric Sotr efficiency? > > I can see in FieldDocSortedHitQueue where the case statement deals with > the various types of SortField, but at that point it's comparing FieldDoc > objects whose fields[i] is expected to allready be an "Integer" object. > where is that "Integer" object parsed from the String value of the field? >
Surely, by using the number -> string algorithm I showed earlier this would not be a problem. Did I miss something? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]