Hi,

I want to be able to filter on different cities and also sort the results
based on geoproximity. But sorting doesn’t work:

admin_directory_search_geolocation?q=david&fq=({!geofilt+sfield=adminLatLon+pt=33.0198431,-96.6988856+d=80+sort=min(geodist(33.0198431,-96.6988856))})+OR+({!geofilt+sfield=adminLatLon+pt=50.2171726,8.265894+d=80+sort=min(geodist(50.2171726,8.265894))})

Sorting works fine if I add ‘&’ in geofilt condition like :
q=david&fq={!geofilt&sfield=adminLatLon&pt=33.0198431,-96.6988856&d=80&sort=geodist(33.0198431,-96.6988856)}

But when I combine the two FQs then sorting doesn’t work.

Please help.




--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to