Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ExistsCondition

返回指定字段值不为空的文档。

example

import * as es from 'es' 
let client=es.newClient('axis_esClient')
let exists: es.ExistsCondition = {
  "field": "user"
}
let querydsl:es.Query={
    "exists":exists
}
let cnt = client.updateByQuery("indexName", querydsl, "newScript")

Hierarchy

  • ExistsCondition

Index

Properties

Properties

field

field: string

field: 需要查询的字段名