Re: Probelm sort on TermEnum

2009-04-08 Thread Federica Falini Data Management S.p.A
Hi Steve, in fact the list of terms returned is for user consumption. From every term is possible with a link to activate a search on the term itself and access to document. Annales cafe Cafè zucche Thanks Federica Steven A Rowe ha scritto: On 4/7/2009 at 1:19 PM, Michael McCandless wr

RE: Probelm sort on TermEnum

2009-04-07 Thread Steven A Rowe
On 4/7/2009 at 1:19 PM, Michael McCandless wrote: > I think the new contrib/collation package may address this use case? > It converts each term to its CollationKey, outside of Lucene. Since AFAIK CollationKey creation is a one-way process, CollationKeyFilter may not be useful for Federica. Fede

Re: Probelm sort on TermEnum

2009-04-07 Thread Michael McCandless
Though, this is not yet released: it's on trunk (will be included in 2.9). Mike On Tue, Apr 7, 2009 at 1:19 PM, Michael McCandless wrote: > I think the new contrib/collation package may address this use case? > It converts each term to its CollationKey, outside of Lucene. > > Mike > > On Tue, Ap

Re: Probelm sort on TermEnum

2009-04-07 Thread Michael McCandless
I think the new contrib/collation package may address this use case? It converts each term to its CollationKey, outside of Lucene. Mike On Tue, Apr 7, 2009 at 7:36 AM, Federica Falini Data Management S.p.A wrote: > Good morning, > In Lucene 2.2 i have made modification to Term.java, TermBuffer.j

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