A GUI for creating Elasticsearch data type mappings.
{
"name": "Foo",
"id": 1234,
"flag": true,
"location": {
"lat": 1234,
"lon": 1234
},
"place": {
"country": "india",
"city": "ahmedabad",
"pincode": 380055
}
}
{
"properties": {
"age": {
"type": "long"
},
"flag": {
"type": "boolean"
},
"id": {
"type": "integer"
},
"location": {
"type": "geo_point"
},
"location1": {
"type": "geo_point",
"fields": {
"sample": {
"type": "integer"
},
"sample2": {
"type": "string",
"index": "not_analyzed"
}
},
"geohash": true,
"geohash_prefix": true,
"geohash_precision": 10
},
"name": {
"type": "string"
},
"place": {
"properties": {
"city": {
"type": "string"
},
"country": {
"type": "string"
},
"pincode": {
"type": "integer"
}
}
}
}
}
{
"filter": {
"nGram_filter": {
"type": "edge_ngram",
"min_gram": 1,
"max_gram": 20,
"token_chars": [
"letter",
"digit",
"punctuation",
"symbol"
]
}
},
"analyzer": {
"nGram_analyzer": {
"type": "custom",
"tokenizer": "whitespace",
"filter": [
"lowercase",
"asciifolding",
"nGram_filter"
]
},
"body_analyzer": {
"type": "custom",
"tokenizer": "standard",
"filter": [
"lowercase",
"asciifolding",
"stop",
"snowball",
"word_delimiter"
]
},
"standard_analyzer": {
"type": "custom",
"tokenizer": "standard",
"filter": [
"lowercase",
"asciifolding"
]
},
"whitespace_analyzer": {
"type": "whitespace",
"tokenizer": "whitespace",
"filter": [
"lowercase",
"asciifolding"
]
}
}
}