Exists Query 查看字段是否存在

GET /youxin_*/_search

  1. {
  2. "query": {
  3. "exists": {
  4. "field": "price"
  5. }
  6. }
  7. }

GET /used_car_20190105,used_car_20190104,used_car_20190103/data/_search

  1. {
  2. "query": {
  3. "bool": {
  4. "must_not": [
  5. {
  6. "exists": {
  7. "field": "meta_table_name"
  8. }
  9. }
  10. ]
  11. }
  12. }
  13. }
文档更新时间: 2019-01-16 19:08