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")
interface ExistsCondition {
    field: string;
}

Properties

Properties

field: string

field: 需要查询的字段名