小区周边配套(facilities)切换高德POI数据源并优化性能
- searchNearbyPoi改查ES高德POI(didata_map_poi_2024),按secondary_type中类过滤 - POI类型映射兼容高德分类:small_type精确匹配+secondary_type中类兜底 - 新增排除集合AROUND_EXCLUDE_TYPES:过滤ATM/培训机构/诊所/泛中餐厅/快餐厅等噪音类型 - 高德GCJ-02坐标转百度BD-09输出,经纬度保留6位小数 - 性能优化:批量12小区ES查询并行化、ES结果加缓存(MIDDLE)、ES客户端连接池单例复用、geo_distance只放filter - BaiduPlacePoi实现Serializable支持缓存序列化 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.fangjia.dal.mongo.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
@@ -12,7 +13,7 @@ import com.fangjia.dal.MongoEntity;
|
||||
|
||||
@Entity
|
||||
@Table(name = "fangjia_base.baidu_place_poi")
|
||||
public class BaiduPlacePoi implements MongoEntity {
|
||||
public class BaiduPlacePoi implements MongoEntity, Serializable {
|
||||
private static final long serialVersionUID = 1840436549012703563L;
|
||||
private String id;
|
||||
private String city;//城市
|
||||
|
||||
Reference in New Issue
Block a user