Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ElasticSearch JSON API を使用して、検索結果に対して大なり、小なり、または間フィルタを設定するフィルタを実行する方法を知っている人はいますか?
それを行う方法を考え出した。範囲値を使用する必要があります。
curl -X GET "http://0.0.0.0:9200/users/_search?pretty=true" -d '{"filter":{"range" : { "age" : { "from":20, "to": 21 } } }}'