附加到Elasticsearch中现有值的数组

时间:2019-07-10 07:41:00

标签: arrays elasticsearch

如何在Elasticsearch中将值附加到数组。

文档看起来像这样:

{                     “ createdAt”:“ 2019-07-10T07:01:09.000Z”,                     “ updatedAt”:“ 2019-07-10T07:01:09.000Z”,                     “ tradingCompanyId”:24,                     “ companySize”:100,                     “ companyName”:“ Infimonk Consultancy 1112”,                     “ companyCode”:“ INF01”,                     “ companyTelephoneNo”:“ 1234567890”,                     “ website”:“ http://demotest.com”,                     “ startDate”:“ 2019-02-13T11:03:51.000Z”,                     “结束日期”: ””,                     “ ownerId”:7                     “ companyTypeCode”:1                     “ companyStatusTypeCode”:2                     “ averageRating”:9                     “ ratingCount”:2                     “成员”:[“辛格”]                 }

0 个答案:

没有答案