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
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
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
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