I am new to elastic search and i have been trying to get a grip on how it works but unfortunately didn't find a clear cut tutorial so far.
What i have been trying to achieve was to index some data and perform filtering on them.
I indexed the data by passing the data as JSON and sending them over HttpWebRequest . A sample data is given below
{"changeset":"2015-12-01 12:06+05:30","id":"1","registerid":"1"}
Now what puzzles me is the data type of each of the document fields. As some would be data another string and another one int. So when i filter data , say i want to get all index whose changeset date is greater than 2015-01-01 (yyyy-mm-dd) or i want to get all index whose registerid is less than 100.
Since all data is saved in a schema less format is JSON , how can we handle it.
Then after repeated searching (google) i found a concept called "mapping" Ref Link.
So do I have to create an index using the mapping to achieve my filtering things?