Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

http://172.17.2.91:9200/workflow/_search?pretty&size=100&q=status:(NOT DENIED)

Load a Template

If you extend your elasticSearch with new content type you have to add a "mapping template". This is a JSON file, that discribes the content of your index. For example to load the mapping template for workflow index: 

 

curl -XPUT http://localhost:9200/_template/workflow_template -d @es_workflow-template.json
curl -XPOST http://localhost:9200/_template/workflow_template -d @es_workflow-template.json