Custom Mapping
If the default mapping doesn't serve our purpose of searches i.e., if searches from our data is not as effective as we want then we need to provide mapping while creating index. Mapping is nothing but defining how our document, and its fields, are analyzed, stored and indexed. For example, use mappings to define: which of our document's string fields are to be considered as full text fields. which fields are of type numbers, dates, or geolocations. the format of date values. Also, we need to define rules how the new fields, which are not specified in the original mapping, should be treated if ingested after proving mapping.