开发者

SOLR hsin parse error

开发者 https://www.devze.com 2023-01-20 20:57 出处:网络
I am getting the following error when using the hsin function: org.apache.lucene.queryParser.ParseException: Cannot parse \'(: AND val:\"recip(hsin(12.9365,77.5447,lat,long,3963.20开发者_StackOverflow

I am getting the following error when using the hsin function: org.apache.lucene.queryParser.ParseException: Cannot parse '(: AND val:"recip(hsin(12.9365,77.5447,lat,long,3963.20开发者_StackOverflow5,true), 1, 1, 0)")': Unknown function hsin in FunctionQuery('recip(hsin(12.9365,77.5447,lat,long,3963.205,true), 1, 1, 0)', pos=11)

Has anyone faced this issue? Any ideas how I can solve this? I am using solr version 1.4 and have not tried upgrading yet.

Thanks, Sapna


hsin and other spatial functions are not available in Solr 1.4.x. Check the Solr wiki.

If you want this feature right now you could use a nightly build directly from the build server.

0

精彩评论

暂无评论...
验证码 换一张
取 消