Range query with elasticsearch for string

后端 未结 2 919
执笔经年
执笔经年 2021-02-11 06:34

I am trying use range query with elasticsearch

{
    \"query\": {
        \"range\": {
             \"order_no\": {
                 \"gte\": \"VM-0001\",
               


        
2条回答
  •  独厮守ぢ
    2021-02-11 07:30

    {
      "query": {
        "range": {
          "order_no": {
            "gte": "vm-0001",
            "lte": "vm-0005"
          }
        }
      }
    }
    

提交回复
热议问题