elasticsearch - Creating an empty index and setting the mapping in elasticsearch - elastic - elastic search - elasticsearch tutorial - elasticsearch docker
In this example, we create an empty index (we index no documents in it) by defining its mapping.
First, we create an ElasticSearch instance and we then define the mapping of our choice. Next, we check if the index exists and if not, we create it by specifying the index and body parameters that contain the index name and the body of the mapping, respectively.
Related Searches to Creating an empty index and setting the mapping in elasticsearch
elasticsearch tutoriallogstashkibananumber_of_shards elasticsearchelasticsearch put new indexelasticsearch indexelasticsearch create tableelasticsearch create new index mapping