Re: Sorting with custom SortComparator

2007-04-27 Thread Theodan
tems in the > array are null, corresponding to those docs that are missing a value for > the "AssetType" field. > > Also, FYI, I am using ConstantScoreRangeQuery because the "AssetType" > field is sometimes missing from certain of

Sorting with custom SortComparator

2007-04-25 Thread Theodan
se the "AssetType" field is sometimes missing from certain of the docs, and if I don't use ConstantScoreRangeQuery then I get NullPointerException on SortComparator.java:37, as has been discussed before on this mailing list. Any help would be greatly appreciated. -Theo -- View this mess