yes, I think you're right - there should be a way to specify the Locale in the SortField somehow.
What about something like: public SortField (String field, Locale locale, boolean reverse); Where the given field contains Strings in the given Locale. This, then, would propagate down to the StringSortedHitQueue, etc. ? Tim > -----Original Message----- > From: Rasik Pandey [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 04, 2004 12:15 PM > To: 'Lucene Developers List' > Subject: New Sorting Classes > > Hello, > > I quickly had a look in the new sorting classes and didn't > find any information regarding field sorting for "String" > values based on a Locale. Should StringSortedHitQueue.java > accept a Locale such that its > ScoreDocLookupComparator.compare() method could sort the > values properly for the Locale language. Or, did I overlook something? > > > Thanks, > RBP > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
