; Update Beers 2015 mapping to search analyzer standard
curl -XPUT -d '{"2015":{"properties":{"category-drugs":{"type":"string","analyzer":"autocomplete","search_analyzer":"standard"},"evidence":{"type":"string","analyzer":"autocomplete","search_analyzer":"standard"},"organ-system":{"type":"string","analyzer":"autocomplete","search_analyzer":"standard"},"quality-of-evidence":{"type":"string","analyzer":"autocomplete","search_analyzer":"standard"},"rationale":{"type":"string","analyzer":"autocomplete","search_analyzer":"standard"},"recommendation":{"type":"string","analyzer":"autocomplete","search_analyzer":"standard"},"strength-of-recommendation":{"type":"string","analyzer":"autocomplete","search_analyzer":"standard"}}}}' localhost:9200/beers/2015/_mapping

; Initialize Beers Index with 2015 type and its mappings
curl -XPUT -d '{"settings":{"number_of_shards":1,"analysis":{"filter":{"autocomplete_filter":{"type":"edge_ngram","min_gram":1,"max_gram":20}},"analyzer":{"autocomplete":{"type":"custom","tokenizer":"standard","filter":["lowercase","autocomplete_filter"]}}}}, "mappings":{"2015":{"properties":{"category-drugs":{"type":"string","analyzer":"autocomplete"},"evidence":{"type":"string","analyzer":"autocomplete"},"organ-system":{"type":"string","analyzer":"autocomplete"},"quality-of-evidence":{"type":"string","analyzer":"autocomplete"},"rationale":{"type":"string","analyzer":"autocomplete"},"recommendation":{"type":"string","analyzer":"autocomplete"},"strength-of-recommendation":{"type":"string","analyzer":"autocomplete"}}}}}' localhost:9200/beers

Add elasticsearch commands for working with indices
Add elasticsearch commands for working with indices
