开发者

solr: multivalued geospatial search - returning closest point

开发者 https://www.devze.com 2023-04-07 03:50 出处:网络
Is there a way in Solr to have a document that: contains multiple lat/long pairs ask to return the closest point to a given (user-supplied) lat/long pair

Is there a way in Solr to have a document that:

  • contains multiple lat/long pairs
  • ask to return the closest point to a given (user-supplied) lat/long pair
  • sort/filter based on that 'closest point'.

I was lo开发者_如何学运维oking at:

  • http://wiki.apache.org/solr/SpatialSearchDev
  • https://issues.apache.org/jira/browse/SOLR-2155 (which talks about multivalued points)

But not sure if that would give me what I want.

Thanks for any pointers.


For future ref:

Use experimental Lucene Spatial Playground, For detailed use-case and solution see: https://issues.apache.org/jira/browse/SOLR-2155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114703#comment-13114703

0

精彩评论

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