• <1> 每一个经纬度lat/lon)组合现在只需要4个字节,而不是16个。
    1. PUT /attractions
    2. {
    3. "mappings": {
    4. "properties": {
    5. "name": {
    6. },
    7. "location": {
    8. "doc_values": true <1>
    9. }
    10. }
    11. }
    12. }
    • <1> 地理坐标点现在不会被加载到内存,而是保存在磁盘中。