neo4j 的用户地址模式

user address schema for neo4j

地址节点属性是否应该进一步划分为

city{name,postcode}
state{name,code}
coordinates {lat,long}

它会让 lat/long、州、国家/地区的搜索用户更快吗?

对地址的每个组成部分(例如,州)使用单独的 属性 将使按组成部分搜索更快,因为您不需要使用 regexp to search for the nodes with a specific component value (which is slow and difficult to program), and you can take advantage of indexing 来快速获取感兴趣的节点。