开发者

Storing LatLonType in solr : how to insert them via solrj

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜