lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clemens Wyss DEV <clemens...@mysign.ch>
Subject LatLonPointSpatialField, sorting : sort param could not be parsed as a query, and is not a field that exists in the index
Date Wed, 01 Nov 2017 10:05:42 GMT
Context: solr 6.6.0

Im switching my schemas from derprecated solr.LatLonType to solr.LatLonPointSpatialField.
Now my sortquery (which used to work with solr.LatLonType):

sort=geodist(b4_location__geo_si,47.36667,8.55) asc

raises the error

"sort param could not be parsed as a query, and is not a field that exists in the index: geodist(b4_location__geo_si,47.36667,8.55)"

Invoking sort by 

sfield=b4_location__geo_si&pt=47.36667,8.55&sort=geodist() asc

works as expected though...

Why does "sort=geodict(fld,lat,ln)" no more work?

Thx for any hints advices
Clemens
Mime
View raw message