Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExampleCreateIndexMappings ¶
func ExampleCreateIndexMappings() *httpsimple.Request
CreateIndexExampleMappings provides a simple request for the example from: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html#mappings
Mappings The create index API allows for providing a mapping definition:
PUT /test
{ "settings": { "number_of_shards": 1 }, "mappings": { "properties": { "field1": { "type": "text" } } } }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.