notes
demo
exists/must_not
GET /kibana_sample_data_logs/_search?size=1
GET /kibana_sample_data_flights/_search?size=1
{
"query": {
"exists": {
"field": "DestCountry"
}
}
}
GET kibana_sample_data_flights/_search?size=1
{
"query": {
"bool": {
"must_not": [
{
"exists": {
"field": "DestCountry"
}
}
]
}
}
}
fuzzy
GET kibana_sample_data_logs/_search?size=1
{
"query": {
"fuzzy": {
"message":"mozilla"
}
}
}
GET kibana_sample_data_logs/_search?size=1
{
"query": {
"fuzzy": {
"message": {
"value": "mzoilla",
"boost": 1,
"fuzziness": 2,
"prefix_length": 0,
"max_expansions":100,
"transpositions":false
}