Re: Sort on TermEnum

2009-05-08 Thread Federica Falini Data Management S.p.A
more flexibility and also don't kill performance outright. On Fri, May 8, 2009 at 11:58, Federica Falini Data Management S.p.A wrote: Hi, in Lucene 2.4.1 (as such in Lucene 2.2) the term enumeration is sorted case-sensitive: first capital and then small; For example,  this sort on T

Sort on TermEnum

2009-05-08 Thread Federica Falini Data Management S.p.A
Hi,  in Lucene 2.4.1 (as such in Lucene 2.2) the term enumeration is sorted case-sensitive: first capital and then small; For example,  this sort on TermEnum is wrong for human consumption: Annales Cafè Zucche cafe this is the correct sort in this case : Annales cafe Cafè Zucche In Lucene

Re: Probelm sort on TermEnum

2009-04-08 Thread Federica Falini Data Management S.p.A
the terms returned by reader.terms()? I ask because the new CollationKeyFilter would produce terms that would not be suitable for human consumption, but might be useful for other purposes. Steve On Tue, Apr 7, 2009 at 7:36 AM, Federica Falini Data Management S.p.A wrote

Probelm sort on TermEnum

2009-04-07 Thread Federica Falini Data Management S.p.A
Title: Firma Good morning, In Lucene 2.2 i have made modification to Term.java, TermBuffer.java (see below)  in order to have  Term enumerations sorted case-insensitive (when a field is not-tokenized): TermEnum terms = reader.terms(new Term("myFieldNotTokenized", ""));   while ("myFieldNotT