RE: NPE when sorting on a field that is missing from a doc

2006-08-13 Thread Oliver Hutchison
> i havne't seen it mentioned before ... i'm guessing it is > specific to the "explicit Locale" String comparator. I've created an issue (LUCENE-650) with patch to fix this. Thanks, Oliver - To unsubscribe, e-mail: [EMAIL PR

Re: NPE when sorting on a field that is missing from a doc

2006-08-11 Thread Chris Hostetter
: we have recently noticed that doing a locale sensitive sort on a field that : is missing from some docs causes an NPE inside the call to Collator#compare : at FieldSortedHitQueue line 320 (Lucene 2.0 src): : >From looking at the standard String, float and int sorting and reading : LUCENE-406 I

NPE when sorting on a field that is missing from a doc

2006-08-10 Thread Oliver Hutchison
Hi all, we have recently noticed that doing a locale sensitive sort on a field that is missing from some docs causes an NPE inside the call to Collator#compare at FieldSortedHitQueue line 320 (Lucene 2.0 src): static ScoreDocComparator comparatorStringLocale (final IndexReader reader, final Stri