select * from order
where staus in ('01', '02', '03')
GET /idx_order/order/_search
{
"query": {
"bool": {
"terms": {
"status.keyword": [
"01", "02", "03"
]
}
}
}
}
QueryBuilder queryBuilder = QueryBuilders.termsQuery("status.keyword", new String[]{"01", "02", "03"});