Querying in elastic search (part -3)
Now moving further with the query part All the query which will be performed will be on the data which we have in part -2 of the post so if not refered do refer it first. For querying , What if you only remember a word cricket say , I want to find the student who knows cricket to play you have some sort of student records and you only know the database name and a table name. Now we will need a query to find records containing cricket in db. POST /college/student/_search { "query" : { "query_string": { "query": "cricket" } } } We can have this type of query for the search query for _search in that we again have a query_string, The query_string query parses the input and splits text around operators. Each textual part is analyzed independently of each other. Assume here we only have a word cricket ...