Elastic search basics..!!(Add an index and Define Mapping) Part - 4
On the first three post I just gave the overview of How we can do hands on on elastic search but know we will go somewhat deeper by the actual way to learn elastic search. In the previous post we saw how to create the documents in elastic search , But did anyone wonder how the fields gets attached on the fly and Index as well Type gets created? In the previous post we took example of student But now lets take an example that will be useful to us in future tasks. Lets take an example of company where the employees are working. So what we need first is to prepare a document of a company,by generating Index Type fields(as per requirements) Data Type Or Type of the respective fields. These are the four basic things we need to deal with in order to deal a document in elastic search. Lets get started we will define an index and a type so first of all in your Kibana we can write like.... PUT company So we are making a PUT request and asking to create an inde...