Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IdsCondition

基于id数组返回指定文档 *

example

import * as es from 'es' 
let client=es.newClient('axis_esClient')
let ids: es.IdsCondition = {
  values: ["1", "4", "100"]
}
let querydsl:es.Query={
    "ids":ids
}
let cnt = client.updateByQuery("indexName", querydsl, "newScript")

Hierarchy

  • IdsCondition

Index

Properties

Properties

Optional boost

boost: number

boost: 浮点数,用作与筛选器查询匹配的每个文档的常量相关性分数。

Optional type

type: string

Optional types

types: string[]

values

values: string[]

values: id数组