i want the result of the Query show all the information , i am now doing the query in Postman and eventually i will do it for python script,
I have check somewhere in stackoverflow i should do
{
"query": {
"match_all":{}
}
}
and the results show the hits with
"hits": {
"total": {
"value": 10000,
"relation": "gte"
},
and the following only show few records.
And this is the same to my case , i want to shortlst all the device that have alarmstatus not equal to 0
{
"query": {
"bool": {
"must_not": {
"term": {
"header.alarmStatus": 0
}
}
}
}
}
and the result show
"hits": {
"total": {
"value": 10000,
"relation": "eq"
},
"max_score": 0.0,
"hits": [
{..........}
which have 3740 hit. I want to sort out all 3740 doc , how can i do this? Thanks
Jeff