Re: Using DocValues with CollationKeyAnalyzer

2012-11-06 Thread Robert Muir
Hi Christoph: in my opinion, (ICU)Collation should actually be implemented as DocValues just as you propose: e.g. we'd deprecate the Analyzer and just offer a (ICU)CollationFields that provide an easy way to do this, so you would just add one of these to your Lucene Document. I started a prototype

Using DocValues with CollationKeyAnalyzer

2012-11-06 Thread Christoph Kaser
Hi all, for best performance, I use a SortedBytesDocValuesField to sort results. I would like to use a ICUCollationKeyAnalyzer for this field, so sorting occurs in a "natural" order. However, it seems as if the SortedBytesDocValuesField does not use an analyzers, but expects a ByteRef which is