ip: 18.217.208.220
http://192.168.100.7:9200/
http://192.168.100.7:9200/_plugin/head/ (head must be installed)
GET _search { "query": { "match_all": {} } }
PUT /limun/kategorija/1 { "id" : "1", "desc" : "this is long description\r\n bla bla vw", "shortDesc" : "ovo je kratki opis", "name" : "car", "active" : 1, "level" : "1" }
DELETE /limun/kargorija/1 DELETE /limun/kargorija DELETE /limun
GET /limun/_search { "query": { "query_string": { "query": "vw" } } }
"query": "vw" - search for vw in all limun types
"query": "vw~" - fuzzy search for vw in all limun types
GET /limun/_search { "query": { "filtered": { "query": { "query_string": { "query": "vw" } }, "filter": { "term": { "active": 1} } } } }