我们如何让Solr 3.6.1返回地理空间搜索结果(按bbox过滤并按距离排序)?sort param could not be parsed as a query, and is not a field that exists in the index: geodist()
带有排序的查询:8080/solr/select?http://localhost8080/solr/
我有两个solr模式。一个用于items,另一个用于geolocation of items。我想按距离对项目进行排序,较近的项目优先。我的要求是显示距离用户cityId不到d公里的结果。我可以使用bbox filter从geolocation模式中获取d kms范围内的所有城市in,然后使用geodist()函数按距离排序,然后将此in列表作为筛选器查询传递给items模式。与字段类似: select * from