2017-02-08 3 views
0

Hinweis: Dies ist Cross-Posted im elasticsearch-Forum (https://discuss.elastic.co/t/store-size-1-000-times-the-document-byte-size/74258/4).Elasticsearch Store-Größe 1000-mal das Dokument Byte-Größe

Ich habe eine ca. 1000-fache Erhöhung der store.size über die Dokumentbytegröße. Ich habe eine sehr einfache Zuordnung mit sehr kleinen Dokumenten (weniger als 1kb) und ich habe meine Zuordnung mit der internen Zuordnung von Elasticsearch verglichen und sie sind die gleichen, so dass keine dynamische Zuordnung stattfindet.

Bis jetzt habe ich 60.437 Dokumente aufgenommen und habe eine store.size von 19.6Gb (Durchschnitt von 300kb pro Dokument), aber die durchschnittliche Byte-Größe (String.getBytes(). Länge) des JSON ist 300-400 Bytes pro Dokument. In einem anderen Durchlauf lagen die Dokumente durchschnittlich bei 1 bis 3 MB pro Dokument.

Ich verwende Elasticsearch 5.2 auf einer M4.2xlarge EC2-Instanz. Elasticsearch wurde mit fast allen Standardeinstellungen installiert, außer was ich tun musste, um die Boostrap-Prüfungen zu bestehen und an eine nicht-lokale IP zu binden. Ich habe Elasticsearch 16 GB (die Hälfte meines physischen Speichers) zugewiesen.

Ich habe Elasticsearch 2.x ausgeführt und war FAR mehr Felder und viel größere Dokumente als nur diese Handvoll Felder und erfuhr nur etwa 20k/Dokument, die noch erheblich war, obwohl überschaubar.

Wenn jemand auf etwas hinweisen kann, das das beheben würde, würde ich es begrüßen. Oder gibt es eine ES 5.x-Konfiguration, die ich nicht gesehen habe, die das beheben wird?

Unten ist meine Zuordnung.

{ 
    "settings": { 
     "index.query.default_field": "tweetText" 
    }, 
    "mappings": { 
     "tweet": { 
      "_all": { 
       "enabled": false 
      }, 
      "properties": { 
       "tweetDate": { 
        "type": "date", 
        "format": "EEE MMM dd HH:mm:ss Z YYYY||strict_date_optional_time||epoch_millis" 
       }, 
       "userId": { 
        "type": "text", 
        "index": "not_analyzed" 
       }, 
       "screenName": { 
        "type": "text", 
        "index": "not_analyzed" 
       }, 
       "tweetText": { 
        "type": "text" 
       }, 
       "cleanedText": { 
        "type": "text" 
       }, 
       "tweetId": { 
        "type": "text", 
        "index": "not_analyzed" 
       }, 
       "location": { 
        "type": "geo_point", 
        "ignore_malformed": true 
       }, 
       "placeName": { 
        "type": "keyword", 
        "doc_values": true, 
        "eager_global_ordinals": false 
       }, 
       "placeCountry": { 
        "type": "keyword", 
        "doc_values": true, 
        "eager_global_ordinals": true 
       }, 
       "placeCountryCode": { 
        "type": "keyword", 
        "doc_values": false, 
        "eager_global_ordinals": false, 
        "index": false 
       }, 
       "placeBoundingBox": { 
        "type": "geo_shape", 
        "tree": "quadtree", 
        "precision": "1m" 
       }, 
       "resolvedUrls": { 
        "type": "text", 
        "index": "not_analyzed" 
       }, 
       "hashtags": { 
        "type": "text" 
       }, 
       "mentions": { 
        "type": "text" 
       }, 
       "geoInferences": { 
        "properties": { 
         "matchedName": { 
          "type": "text" 
         }, 
         "asciiName": { 
          "type": "keyword", 
          "doc_values": true, 
          "eager_global_ordinals": false 
         }, 
         "country": { 
          "type": "keyword", 
          "doc_values": true, 
          "eager_global_ordinals": true 
         }, 
         "county": { 
          "type": "text" 
         }, 
         "countryCode": { 
          "type": "keyword", 
          "doc_values": false, 
          "eager_global_ordinals": false, 
          "index": false 
         }, 
         "city": { 
          "type": "text" 
         }, 
         "admin1Code": { 
          "type": "keyword", 
          "doc_values": false, 
          "eager_global_ordinals": false, 
          "index": false 
         }, 
         "admin2Code": { 
          "type": "keyword", 
          "doc_values": false, 
          "eager_global_ordinals": false, 
          "index": false 
         }, 
         "admin3Code": { 
          "type": "keyword", 
          "doc_values": false, 
          "eager_global_ordinals": false, 
          "index": false 
         }, 
         "admin4Code": { 
          "type": "keyword", 
          "doc_values": false, 
          "eager_global_ordinals": false, 
          "index": false 
         }, 
         "confidence": { 
          "type": "float", 
          "doc_values": false, 
          "ignore_malformed": false, 
          "index": false 
         }, 
         "coordinates": { 
          "type": "geo_point", 
          "ignore_malformed": true 
         } 
        } 
       }, 
       "temporalInferences": { 
        "type": "date", 
        "ignore_malformed": true 
       } 
      } 
     } 
    } 
} 

ein Beispieldokument:

{ 
    "_index": "twitter", 
    "_type": "tweet", 
    "_id": "AVoZivLca9LOhnR10_ll", 
    "_score": null, 
    "_source": { 
    "tweetDate": 1486487211000, 
    "userId": "123456789", 
    "screenName": "removed", 
    "tweetText": "RT @wef: America’s dominance is over. By 2030, we'll have a handful of global powers https://www.weforum.org/agenda/2016/11/america-s-dominance-is-over/?utm_content=buffer73cd5&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer #wef17 https://twitter.com/wef/status/828994745200435200/photo/1", 
    "cleanedText": "RT @wef: America s dominance is over. By 2030, we'll have a handful of global powers https://www.weforum.org/agenda/2016/11/america-s-dominance-is-over/?utm_content=buffer73cd5&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer #wef17 https://twitter.com/wef/status/828994745200435200/photo/1", 
    "tweetId": "829013568288796672", 
    "resolvedUrls": [ 
     "https://www.weforum.org/agenda/2016/11/america-s-dominance-is-over/?utm_content=buffer73cd5&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer" 
    ], 
    "hashtags": [ 
     "wef17" 
    ], 
    "mentions": [ 
     "wef" 
    ], 
    "geoInferences": [ 
     { 
     "matchedName": "America", 
     "asciiName": "United States", 
     "country": "United States", 
     "countryCode": "US", 
     "coordinates": [ 
      -98.5, 
      39.76 
     ], 
     "admin1Code": "00", 
     "admin2Code": "", 
     "admin3Code": "", 
     "admin4Code": "", 
     "confidence": 1 
     } 
    ], 
    "temporalInferences": [ 
     1893474000000 
    ] 
    }, 
    "fields": { 
    "temporalInferences": [ 
     1893474000000 
    ], 
    "tweetDate": [ 
     1486487211000 
    ] 
    }, 
    "sort": [ 
    1486487211000 
    ] 
} 

Die Ausgabe von

GET /_cat/indices/twitter?pri&v&h=health,index,pri,rep,docs.count,mt,pri,rep,docs.count,store.size,pri.store.size 

health | index | pri | rep | docs.count | mt | pri.mt | store.size | pri.store.size | pri.store.size 
yellow | twitter | 5 | 1 | 26860 | 74 | 74 | 10.1gb | 10.1gb | 10.1gb 

Die Ausgabe aus:

GET /twitter/_stats 

{ 
    "_shards": { 
    "total": 10, 
    "successful": 5, 
    "failed": 0 
    }, 
    "_all": { 
    "primaries": { 
     "docs": { 
     "count": 26860, 
     "deleted": 0 
     }, 
     "store": { 
     "size_in_bytes": 11027965678, 
     "throttle_time_in_millis": 0 
     }, 
     "indexing": { 
     "index_total": 27397, 
     "index_time_in_millis": 3568991, 
     "index_current": 1, 
     "index_failed": 0, 
     "delete_total": 0, 
     "delete_time_in_millis": 0, 
     "delete_current": 0, 
     "noop_update_total": 0, 
     "is_throttled": false, 
     "throttle_time_in_millis": 195961 
     }, 
     "get": { 
     "total": 0, 
     "time_in_millis": 0, 
     "exists_total": 0, 
     "exists_time_in_millis": 0, 
     "missing_total": 0, 
     "missing_time_in_millis": 0, 
     "current": 0 
     }, 
     "search": { 
     "open_contexts": 0, 
     "query_total": 55, 
     "query_time_in_millis": 294, 
     "query_current": 0, 
     "fetch_total": 36, 
     "fetch_time_in_millis": 3209, 
     "fetch_current": 0, 
     "scroll_total": 0, 
     "scroll_time_in_millis": 0, 
     "scroll_current": 0, 
     "suggest_total": 0, 
     "suggest_time_in_millis": 0, 
     "suggest_current": 0 
     }, 
     "merges": { 
     "current": 0, 
     "current_docs": 0, 
     "current_size_in_bytes": 0, 
     "total": 76, 
     "total_time_in_millis": 350987, 
     "total_docs": 45409, 
     "total_size_in_bytes": 4027595474, 
     "total_stopped_time_in_millis": 0, 
     "total_throttled_time_in_millis": 48633, 
     "total_auto_throttle_in_bytes": 82233108 
     }, 
     "refresh": { 
     "total": 857, 
     "total_time_in_millis": 2994887, 
     "listeners": 0 
     }, 
     "flush": { 
     "total": 15, 
     "total_time_in_millis": 291939 
     }, 
     "warmer": { 
     "current": 0, 
     "total": 876, 
     "total_time_in_millis": 534 
     }, 
     "query_cache": { 
     "memory_size_in_bytes": 0, 
     "total_count": 0, 
     "hit_count": 0, 
     "miss_count": 0, 
     "cache_size": 0, 
     "cache_count": 0, 
     "evictions": 0 
     }, 
     "fielddata": { 
     "memory_size_in_bytes": 24808, 
     "evictions": 0 
     }, 
     "completion": { 
     "size_in_bytes": 0 
     }, 
     "segments": { 
     "count": 139, 
     "memory_in_bytes": 186032131, 
     "terms_memory_in_bytes": 185758725, 
     "stored_fields_memory_in_bytes": 43976, 
     "term_vectors_memory_in_bytes": 0, 
     "norms_memory_in_bytes": 77888, 
     "points_memory_in_bytes": 714, 
     "doc_values_memory_in_bytes": 150828, 
     "index_writer_memory_in_bytes": 1316180948, 
     "version_map_memory_in_bytes": 42250, 
     "fixed_bit_set_memory_in_bytes": 0, 
     "max_unsafe_auto_id_timestamp": -1, 
     "file_sizes": { 

     } 
     }, 
     "translog": { 
     "operations": 11997, 
     "size_in_bytes": 5555179 
     }, 
     "request_cache": { 
     "memory_size_in_bytes": 0, 
     "evictions": 0, 
     "hit_count": 195, 
     "miss_count": 195 
     }, 
     "recovery": { 
     "current_as_source": 0, 
     "current_as_target": 0, 
     "throttle_time_in_millis": 0 
     } 
    }, 
    "total": { 
     "docs": { 
     "count": 26860, 
     "deleted": 0 
     }, 
     "store": { 
     "size_in_bytes": 11027965678, 
     "throttle_time_in_millis": 0 
     }, 
     "indexing": { 
     "index_total": 27397, 
     "index_time_in_millis": 3568991, 
     "index_current": 1, 
     "index_failed": 0, 
     "delete_total": 0, 
     "delete_time_in_millis": 0, 
     "delete_current": 0, 
     "noop_update_total": 0, 
     "is_throttled": false, 
     "throttle_time_in_millis": 195961 
     }, 
     "get": { 
     "total": 0, 
     "time_in_millis": 0, 
     "exists_total": 0, 
     "exists_time_in_millis": 0, 
     "missing_total": 0, 
     "missing_time_in_millis": 0, 
     "current": 0 
     }, 
     "search": { 
     "open_contexts": 0, 
     "query_total": 55, 
     "query_time_in_millis": 294, 
     "query_current": 0, 
     "fetch_total": 36, 
     "fetch_time_in_millis": 3209, 
     "fetch_current": 0, 
     "scroll_total": 0, 
     "scroll_time_in_millis": 0, 
     "scroll_current": 0, 
     "suggest_total": 0, 
     "suggest_time_in_millis": 0, 
     "suggest_current": 0 
     }, 
     "merges": { 
     "current": 0, 
     "current_docs": 0, 
     "current_size_in_bytes": 0, 
     "total": 76, 
     "total_time_in_millis": 350987, 
     "total_docs": 45409, 
     "total_size_in_bytes": 4027595474, 
     "total_stopped_time_in_millis": 0, 
     "total_throttled_time_in_millis": 48633, 
     "total_auto_throttle_in_bytes": 82233108 
     }, 
     "refresh": { 
     "total": 857, 
     "total_time_in_millis": 2994887, 
     "listeners": 0 
     }, 
     "flush": { 
     "total": 15, 
     "total_time_in_millis": 291939 
     }, 
     "warmer": { 
     "current": 0, 
     "total": 876, 
     "total_time_in_millis": 534 
     }, 
     "query_cache": { 
     "memory_size_in_bytes": 0, 
     "total_count": 0, 
     "hit_count": 0, 
     "miss_count": 0, 
     "cache_size": 0, 
     "cache_count": 0, 
     "evictions": 0 
     }, 
     "fielddata": { 
     "memory_size_in_bytes": 24808, 
     "evictions": 0 
     }, 
     "completion": { 
     "size_in_bytes": 0 
     }, 
     "segments": { 
     "count": 139, 
     "memory_in_bytes": 186032131, 
     "terms_memory_in_bytes": 185758725, 
     "stored_fields_memory_in_bytes": 43976, 
     "term_vectors_memory_in_bytes": 0, 
     "norms_memory_in_bytes": 77888, 
     "points_memory_in_bytes": 714, 
     "doc_values_memory_in_bytes": 150828, 
     "index_writer_memory_in_bytes": 1316180948, 
     "version_map_memory_in_bytes": 42250, 
     "fixed_bit_set_memory_in_bytes": 0, 
     "max_unsafe_auto_id_timestamp": -1, 
     "file_sizes": { 

     } 
     }, 
     "translog": { 
     "operations": 11997, 
     "size_in_bytes": 5555179 
     }, 
     "request_cache": { 
     "memory_size_in_bytes": 0, 
     "evictions": 0, 
     "hit_count": 195, 
     "miss_count": 195 
     }, 
     "recovery": { 
     "current_as_source": 0, 
     "current_as_target": 0, 
     "throttle_time_in_millis": 0 
     } 
    } 
    }, 
    "indices": { 
    "twitter": { 
     "primaries": { 
     "docs": { 
      "count": 26860, 
      "deleted": 0 
     }, 
     "store": { 
      "size_in_bytes": 11027965678, 
      "throttle_time_in_millis": 0 
     }, 
     "indexing": { 
      "index_total": 27397, 
      "index_time_in_millis": 3568991, 
      "index_current": 1, 
      "index_failed": 0, 
      "delete_total": 0, 
      "delete_time_in_millis": 0, 
      "delete_current": 0, 
      "noop_update_total": 0, 
      "is_throttled": false, 
      "throttle_time_in_millis": 195961 
     }, 
     "get": { 
      "total": 0, 
      "time_in_millis": 0, 
      "exists_total": 0, 
      "exists_time_in_millis": 0, 
      "missing_total": 0, 
      "missing_time_in_millis": 0, 
      "current": 0 
     }, 
     "search": { 
      "open_contexts": 0, 
      "query_total": 55, 
      "query_time_in_millis": 294, 
      "query_current": 0, 
      "fetch_total": 36, 
      "fetch_time_in_millis": 3209, 
      "fetch_current": 0, 
      "scroll_total": 0, 
      "scroll_time_in_millis": 0, 
      "scroll_current": 0, 
      "suggest_total": 0, 
      "suggest_time_in_millis": 0, 
      "suggest_current": 0 
     }, 
     "merges": { 
      "current": 0, 
      "current_docs": 0, 
      "current_size_in_bytes": 0, 
      "total": 76, 
      "total_time_in_millis": 350987, 
      "total_docs": 45409, 
      "total_size_in_bytes": 4027595474, 
      "total_stopped_time_in_millis": 0, 
      "total_throttled_time_in_millis": 48633, 
      "total_auto_throttle_in_bytes": 82233108 
     }, 
     "refresh": { 
      "total": 857, 
      "total_time_in_millis": 2994887, 
      "listeners": 0 
     }, 
     "flush": { 
      "total": 15, 
      "total_time_in_millis": 291939 
     }, 
     "warmer": { 
      "current": 0, 
      "total": 876, 
      "total_time_in_millis": 534 
     }, 
     "query_cache": { 
      "memory_size_in_bytes": 0, 
      "total_count": 0, 
      "hit_count": 0, 
      "miss_count": 0, 
      "cache_size": 0, 
      "cache_count": 0, 
      "evictions": 0 
     }, 
     "fielddata": { 
      "memory_size_in_bytes": 24808, 
      "evictions": 0 
     }, 
     "completion": { 
      "size_in_bytes": 0 
     }, 
     "segments": { 
      "count": 139, 
      "memory_in_bytes": 186032131, 
      "terms_memory_in_bytes": 185758725, 
      "stored_fields_memory_in_bytes": 43976, 
      "term_vectors_memory_in_bytes": 0, 
      "norms_memory_in_bytes": 77888, 
      "points_memory_in_bytes": 714, 
      "doc_values_memory_in_bytes": 150828, 
      "index_writer_memory_in_bytes": 1316180948, 
      "version_map_memory_in_bytes": 42250, 
      "fixed_bit_set_memory_in_bytes": 0, 
      "max_unsafe_auto_id_timestamp": -1, 
      "file_sizes": { 

      } 
     }, 
     "translog": { 
      "operations": 11997, 
      "size_in_bytes": 5555179 
     }, 
     "request_cache": { 
      "memory_size_in_bytes": 0, 
      "evictions": 0, 
      "hit_count": 195, 
      "miss_count": 195 
     }, 
     "recovery": { 
      "current_as_source": 0, 
      "current_as_target": 0, 
      "throttle_time_in_millis": 0 
     } 
     }, 
     "total": { 
     "docs": { 
      "count": 26860, 
      "deleted": 0 
     }, 
     "store": { 
      "size_in_bytes": 11027965678, 
      "throttle_time_in_millis": 0 
     }, 
     "indexing": { 
      "index_total": 27397, 
      "index_time_in_millis": 3568991, 
      "index_current": 1, 
      "index_failed": 0, 
      "delete_total": 0, 
      "delete_time_in_millis": 0, 
      "delete_current": 0, 
      "noop_update_total": 0, 
      "is_throttled": false, 
      "throttle_time_in_millis": 195961 
     }, 
     "get": { 
      "total": 0, 
      "time_in_millis": 0, 
      "exists_total": 0, 
      "exists_time_in_millis": 0, 
      "missing_total": 0, 
      "missing_time_in_millis": 0, 
      "current": 0 
     }, 
     "search": { 
      "open_contexts": 0, 
      "query_total": 55, 
      "query_time_in_millis": 294, 
      "query_current": 0, 
      "fetch_total": 36, 
      "fetch_time_in_millis": 3209, 
      "fetch_current": 0, 
      "scroll_total": 0, 
      "scroll_time_in_millis": 0, 
      "scroll_current": 0, 
      "suggest_total": 0, 
      "suggest_time_in_millis": 0, 
      "suggest_current": 0 
     }, 
     "merges": { 
      "current": 0, 
      "current_docs": 0, 
      "current_size_in_bytes": 0, 
      "total": 76, 
      "total_time_in_millis": 350987, 
      "total_docs": 45409, 
      "total_size_in_bytes": 4027595474, 
      "total_stopped_time_in_millis": 0, 
      "total_throttled_time_in_millis": 48633, 
      "total_auto_throttle_in_bytes": 82233108 
     }, 
     "refresh": { 
      "total": 857, 
      "total_time_in_millis": 2994887, 
      "listeners": 0 
     }, 
     "flush": { 
      "total": 15, 
      "total_time_in_millis": 291939 
     }, 
     "warmer": { 
      "current": 0, 
      "total": 876, 
      "total_time_in_millis": 534 
     }, 
     "query_cache": { 
      "memory_size_in_bytes": 0, 
      "total_count": 0, 
      "hit_count": 0, 
      "miss_count": 0, 
      "cache_size": 0, 
      "cache_count": 0, 
      "evictions": 0 
     }, 
     "fielddata": { 
      "memory_size_in_bytes": 24808, 
      "evictions": 0 
     }, 
     "completion": { 
      "size_in_bytes": 0 
     }, 
     "segments": { 
      "count": 139, 
      "memory_in_bytes": 186032131, 
      "terms_memory_in_bytes": 185758725, 
      "stored_fields_memory_in_bytes": 43976, 
      "term_vectors_memory_in_bytes": 0, 
      "norms_memory_in_bytes": 77888, 
      "points_memory_in_bytes": 714, 
      "doc_values_memory_in_bytes": 150828, 
      "index_writer_memory_in_bytes": 1316180948, 
      "version_map_memory_in_bytes": 42250, 
      "fixed_bit_set_memory_in_bytes": 0, 
      "max_unsafe_auto_id_timestamp": -1, 
      "file_sizes": { 

      } 
     }, 
     "translog": { 
      "operations": 11997, 
      "size_in_bytes": 5555179 
     }, 
     "request_cache": { 
      "memory_size_in_bytes": 0, 
      "evictions": 0, 
      "hit_count": 195, 
      "miss_count": 195 
     }, 
     "recovery": { 
      "current_as_source": 0, 
      "current_as_target": 0, 
      "throttle_time_in_millis": 0 
     } 
     } 
    } 
    } 
} 

EDIT 1 Ich habe die Ursache dieses Problems gefunden. Es scheint, dass die Bounding Box schuld ist, obwohl ich keine Ahnung habe warum.

Sobald ich die Bounding-Box aus den aufgenommenen Daten entfernen, hat der Index eine normale Größe (600 Dokumente -> 550kb), aber sobald ich die Bounding Box wieder hinzufügen (mit einem brandneuen Index), die Größe shroockets (3.593 Dokumente -> 1.6GB) mit nur 84 Dokumenten, die eine Bounding-Box enthalten.

Unten ist die JSON des Begrenzungsrahmens:

"placeBoundingBox": { 
    "type": "polygon", 
    "coordinates": [ 
     [ 
     [ 
      -71.191421, 
      42.227797 
     ], 
     [ 
      -71.191421, 
      42.399542 
     ], 
     [ 
      -70.986004, 
      42.399542 
     ], 
     [ 
      -70.986004, 
      42.227797 
     ], 
     [ 
      -71.191421, 
      42.227797 
     ] 
     ] 
    ] 
    } 

Die Abbildung mit dem Begrenzungsrahmen zugeordnet (von GET/INDEX_NAME Aufruf):

"placeBoundingBox": { 
    "type": "geo_shape", 
    "tree": "quadtree", 
    "precision": "1.0m" 
    } 

zu zeigen, dass die Abbildung InFact funktionierts und erstellt eine richtige geo_shape (obwohl Kibana es nicht als geo_shape erkennt), habe ich die folgende Abfrage ausgeführt und einen erfolgreichen Treffer erhalten:

GET /_search 
{ 
    "query": { 
    "bool": { 
     "must": { 
     "match_all": { 

     } 
     }, 
     "filter": { 
     "geo_shape": { 
      "placeBoundingBox": { 
      "shape": { 
       "type": "polygon", 
       "coordinates": [ 
       [ 
        [ 
        -71.191421, 
        42.227797 
        ], 
        [ 
        -71.191421, 
        42.399542 
        ], 
        [ 
        -70.986004, 
        42.399542 
        ], 
        [ 
        -70.986004, 
        42.227797 
        ], 
        [ 
        -71.191421, 
        42.227797 
        ] 
       ] 
       ] 
      }, 
      "relation": "within" 
      } 
     } 
     } 
    } 
    } 
} 

Ich möchte die Bounding Box behalten, stimmt etwas mit dem Mapping oder den Daten nicht? Ist 1.0m zu feinkörnig?

+0

einige Fragen, was ist mit Shards/Replikaten für den vorherigen Anwendungsfall? Denn jetzt hast du 5 Splitter und 5 Repliken (wenn ich mich nicht irre), vielleicht ist das der Grund, dass du Größe als große Figur siehst. – Mysterion

+0

Ich habe das Replikatfeld zum Mapping hinzugefügt und setze es auf 1 und keine Änderung. – Brooks

+0

könnten Sie es auf 0 setzen? Wird es Größe ändern? – Mysterion

Antwort

0

Das Problem war die Genauigkeit in der Zuordnung, die einfach ein Tippfehler war (Unser Index für Elasticsearch 2.x hatte die Genauigkeit als 1km). Ein winziger Brief machte den Unterschied ...

A 1 Meter ("1m") Präzision einen extrem aufgebläht Index erstellt.

Wenn Sie das "precision" -Feld komplett aus dem Mapping entfernen, wird standardmäßig auf 50m und einen großen Index gesetzt.

Verwandte Themen