Re: Help with a fieldcomparator!

2015-01-17 Thread Erick Erickson
Ah, OK. H.L. Mencken wrote something like: "For every complex problem there is a solution that is simple, elegant, and wrong". I specialize in these... I don't have a good answer for your question then. How is what you're trying failing? Best, Erick On Fri, Jan 16, 2015 at 4:59 PM, Victor Podber

Re: Help with a fieldcomparator!

2015-01-17 Thread Victor Podberezski
Erick: (sorry, I misspelled your name in my last email ) I tried a bunch of solutions none worked as I expected. Basically none of them sorts the documents using the pattern as I expect. This is my simplified code: public class PatternFieldComparatorSource extends FieldComparatorSource {