I am stuck with generic query for my audit project which consists of over a million+ records. Is there any generic query to generate using my php or jquery code? All I could get is till here where I am using AND
, OR
operators to do same:
{
"filter": {
"AND": {
"filters": [
{
"term": {
"age": "28"
}
}
]
},
"OR": {
"filters": [
{
"term": {
"name": "varsh"
}
}
]
}
}
}
Is there any way so I can use any operator and any field to search for? my UI looks something like this