Interface TermsCondition

返回在提供的字段中包含一个或多个精确术语的文档。

Example


import * as es from 'es'
let client=es.newClient('axis_esClient')
let terms: es.TermsCondition = {
"user": ["kimchy", "elasticsearch"],
}
let querydsl:es.Query={
"terms":terms
}
let cnt = client.updateByQuery("indexName", querydsl, "newScript")
interface TermsCondition {
    [name: string]: TermsLookUpQuery;
}

Indexable

[name: string]: TermsLookUpQuery

name:希望查询的字段名