Hello All!
I have been having difficulty combining a simple_query_string, range, and the fuzziness field.
I can get all of them to work individually,
"query": {
"simple_query_string": {
"query": "crit"
}
and
"query": {
"filtered" : {
"filter": {
"range": {
"time": {
"gte": "11:00:00.123",
"lte": "13:09:50.397"
}
}
}
}
But when i try to combine simple_query_string and the range, I would assume its something like this, but its not.
"filtered": {
"query": {
"simple_query_string": {
"query": "crit"
}
},
"filter" : {
"range": {
"time": {
"lte": "15:12:50.123",
"gte": "12:09:50.914"
}
}
}
}
Any suggestions on how to fix this query, or if this is even possible?
Thanks!