Skip to content

Instantly share code, notes, and snippets.

Created November 1, 2016 19:36
Show Gist options
  • Save anonymous/0609b1d110d91dceb9a90faa76d1d5d4 to your computer and use it in GitHub Desktop.
Save anonymous/0609b1d110d91dceb9a90faa76d1d5d4 to your computer and use it in GitHub Desktop.
{
"state": "open",
"settings": {
"index": {
"creation_date": "1475019797350",
"analysis": {
"char_filter": {
"ignore_selected_chars": {
"type": "pattern_replace",
"pattern": "'",
"replacement": ""
}
},
"analyzer": {
"ignore_special_chars": {
"filter": [
"lowercase"
],
"char_filter": [
"ignore_selected_chars"
],
"tokenizer": "whitespace"
}
}
},
"number_of_shards": "5",
"uuid": "kuGvchDcS29kTuNoyx9998FA",
"version": {
"created": "1070599"
},
"number_of_replicas": "1"
}
},
"mappings": {
"movie": {
"properties": {
"timezone": {
"index": "no",
"type": "string"
},
"rating": {
"type": "integer"
},
"launched_at": {
"format": "dateOptionalTime",
"type": "date"
},
"description": {
"type": "string"
},
"showing_times": {
"type": "nested",
"properties": {
"intervals": {
"type": "nested",
"properties": {
"start": {
"format": "date_optional_time",
"type": "date"
},
"end": {
"format": "date_optional_time",
"type": "date"
}
}
},
"theater_id": {
"type": "integer"
}
}
},
"search_terms": {
"type": "string"
},
"cast": {
"type": "nested",
"properties": {
"production_name": {
"type": "string"
},
"id": {
"type": "long"
},
"actors": {
"type": "nested",
"properties": {
"actor_type": {
"type": "string"
},
"actor_name": {
"type": "string"
},
"id": {
"type": "long"
}
}
}
}
},
"is_active": {
"type": "boolean"
},
"tags": {
"type": "string"
},
"name": {
"analyzer": "ignore_special_chars",
"type": "string"
},
"showing_rate_per_region": {
"type": "nested",
"properties": {
"money": {
"type": "integer"
},
"region_id": {
"type": "integer"
}
}
}
}
}
},
"aliases": [
"movie_index"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment