es8examples

package
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 3 Imported by: 0

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.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL