Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

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

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>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

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading