Elasticsearch - tlam/Wiki GitHub Wiki

  1. View index settings at http://localhost:9200/index_name?pretty

  2. Calculate index creation date from http://localhost:9200/index_name?pretty

     "settings": {
       "index": {
         "creation_date": "1473791401764"
    

Calculate the timestamp by removing the last 3 digits:

    >>> from datetime import datetime
    >>> datetime.fromtimestamp(1473791401)
    >>> datetime.datetime(2016, 9, 13, 14, 30, 1)
  1. Fold words with accents:

     "settings": {
       "index": {
         "analysis": {
           "analyzer": {
             "word_analyzer": {
               "filter": ["asciifolding", "lowercase"],
               "tokenizer": "keyword"
             }