Re: Error sorting random field with Solr 1.4

2010-04-08 Thread SandeepTagore
Commented the following line in org.apache.lucene.search.SortField return comparatorSource.newComparator(field, numHits, sortPos, reverse); and added the following line temporarily. return new FieldComparator.DoubleComparator(numHits, field, parser); Changed geo_distance type to double from sdoub

Re: Error sorting random field with Solr 1.4

2010-04-08 Thread SandeepTagore
I get the same error when I try to sort the result by geo_distance. I am using Solr 1.4 (Nov 2009 release), lucene 2.9.1 and localsolr 2.0. Thank you very much for your support. Here is the stacktrace... SEVERE: java.lang.NullPointerException at org.apache.lucene.search.SortField.getCompa