1. Thus, it may be worthwhile to convert your lat/lon values to radians during indexing instead of having to convert them over and over during search time.
因此在建立索引时将纬度/经度值转换成弧度是值得的,从而避免在每次搜索都执行转换。
2. You can see the embedded SQL statement CREATE TABLE, with a name places and the four fields id, lat, lon, and comment.
可以看到嵌入的SQL语句CREATETABLE,数据库表名为places,它有四个字段id、lat、lon和comment。
3. If specified, lat/lon must not be set.
如果指定了它,就不能设置lat/lon。
4. I am storing the lat/lon values as tdouble fields.
我将纬度/经度值存储为tdouble字段。
5. Numeric spatial information such as latitude and longitude (lat/lon for short) is where the more interesting representations come into play in terms of search with Lucene and Solr.
使用Lucene和Solr进行搜索时,纬度和经度(缩写为lat/lon)等数字空间信息的表示方式是最有趣的。
6. The lat and lon parameters, which specify geographical filters for search results
lat和lon参数,它们指定搜索结果的地理筛选条件
7. If a single field is desired, lat/lon can be encoded into a single String using the Geohash encoding (see Resources).
如果希望使用一个字段,那么可以使用Geohash编码方式将纬度/经度编码到一个String中(参见参考资料)。
8. To check for valid locations, log into the MySQL server and query the articles table yourself to see if the lat and lon fields are filled in appropriately.
要检查位置是否有效,请登录到MySQL服务器中,查询文章表来看看纬度和经度字段填写得是否合适。