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
ica 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 TermEnum is wrong for human consumption:
>
> Annales
> Cafè
> Zucche
> cafe
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
FieldNotTokenized".equals(terms.term().field())) {
System.out.println( " " + terms.term());
if (!terms.next()) break;
}
For example, instead to obtain this sort on TermEnum:
Annales
Cafè
Zucche
cafe
i need to obtain this :
Annales
cafe
Cafè
Zucche
Now in Lu
reader.terms(new Term("myFieldNotTokenized", ""));
> > while ("myFieldNotTokenized".equals(terms.term().field())) {
> >
> > System.out.println( " " + terms.term());
> > if (!terms.next()) break;
> > }
> >
> >
gt;> field is not-tokenized):
>> TermEnum terms = reader.terms(new Term("myFieldNotTokenized", ""));
>> while ("myFieldNotTokenized".equals(terms.term().field())) {
>>
>> System.out.println( " " + terms.term());
>>
erm().field())) {
>
> System.out.println( " " + terms.term());
> if (!terms.next()) break;
> }
>
> For example, instead to obtain this sort on TermEnum:
>
> Annales
> Cafè
> Zucche
> cafe
>
> i need to obtain this :
>
> Annales
> caf
quot;));
while ("myFieldNotTokenized".equals(terms.term().field())) {
System.out.println( " " + terms.term());
if (!terms.next()) break;
}
For example, instead to obtain this sort on TermEnum:
Annales
Cafè
Zucche
cafe
i need to obtain this :
Annales
ca