some more elasticsearch work, including index mapping and analyzer

This commit is contained in:
aldacron
2017-05-15 11:14:01 -07:00
parent 32b9170a81
commit c2c547e786
5 changed files with 97 additions and 24 deletions

3
create_es.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
curl -v -XPUT 'localhost:9200/nyaav2?pretty' -H"Content-Type: application/yaml" --data-binary @es_mapping.yml