Search code examples
javascriptelasticsearchkibana

How can I apply analysers to a specific field in elasticsearch


I have a movies dataset and It has a field named as title ,now I want to set mappings with some search analysers,how can I do that

Expecting successful search result


Solution

  • so first of all you have to set your mappings before inserting data with some analyzers,

    enter image description here

    look at the image, we have created a mapping on the field title, Now we can bulk post data of movies (which has a field of title in it)

    like this, enter image description here