开发者

Storing LatLonType in solr : how to insert them via solrj

开发者 https://www.devze.com 2023-03-05 05:09 出处:网络
I am going to index a lot of document using GeoSpatial from solr3.1. I can\'t find a way t开发者_如何学Goo add document with solrj passing latitude and longitude. Querying seems to be working.

I am going to index a lot of document using GeoSpatial from solr3.1. I can't find a way t开发者_如何学Goo add document with solrj passing latitude and longitude. Querying seems to be working.

How can I insert on a LatLonType from solrj ?

Thanks for you time.


doc.addField("latlon", "19.2579,72.9862");

0

精彩评论

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

关注公众号