Advertisement
Guest User

Elasticsearch index info

a guest
Jan 30th, 2016
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.57 KB | None | 0 0
  1.     {
  2.       "football" : {
  3.         "aliases" : { },
  4.         "mappings" : {
  5.           "player" : {
  6.             "properties" : {
  7.               "first name" : {
  8.                 "type" : "string"
  9.               },
  10.               "full name" : {
  11.                 "type" : "string",
  12.                 "analyzer" : "autocomplete"
  13.               },
  14.               "last name" : {
  15.                 "type" : "string"
  16.               },
  17.               "league id" : {
  18.                 "type" : "long"
  19.               },
  20.               "player id" : {
  21.                 "type" : "long"
  22.               },
  23.               "team id" : {
  24.                 "type" : "long"
  25.               }
  26.             }
  27.           }
  28.         },
  29.         "settings" : {
  30.           "index" : {
  31.             "creation_date" : "1454145052355",
  32.             "uuid" : "qctC3U1TQte-zyOObMmQWw",
  33.             "analysis" : {
  34.               "filter" : {
  35.                 "autocomplete_filter" : {
  36.                   "type" : "edge_ngram",
  37.                   "min_gram" : "2",
  38.                   "max_gram" : "20"
  39.                 }
  40.               },
  41.               "analyzer" : {
  42.                 "autocomplete" : {
  43.                   "type" : "custom",
  44.                   "filter" : [ "lowercase", "autocomplete_filter" ],
  45.                   "tokenizer" : "standard"
  46.                 }
  47.               }
  48.             },
  49.             "number_of_replicas" : "0",
  50.             "number_of_shards" : "1",
  51.             "version" : {
  52.               "created" : "2010199"
  53.             }
  54.           }
  55.         },
  56.         "warmers" : { }
  57.       }
  58.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement