K
K
Konstantin2015-05-20 23:56:19
elasticsearch
Konstantin, 2015-05-20 23:56:19

What is Mapping used for in Elasticsearch?

Why and in what cases is Mapping used in Elasticsearch?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MintTea, 2015-05-21
@Junart1

Mapping - a description of the schema of documents that you will store in the type. You definitely need to specify it explicitly, because. The default automapping is only good for a quick start.
In fact, you list each field that can be found in the document and specify for them their type (int, float, string, date) and other settings for this field, depending on the type: format for dates, precision for floats, analyzer for strings, and so on.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question