第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

帶有 NEST 的索引 JsonObject 具有空值

帶有 NEST 的索引 JsonObject 具有空值

C#
楊__羊羊 2021-06-16 17:42:50
我想用 NEST 索引 JsonObjects,在發(fā)布屬性在索引中但值為空“[]”之后。當我用 Postman 發(fā)布相同的 json 時,結(jié)果是正確的。指數(shù):string indexName = "testindex";        IIndexResponse response = client.Index<JObject>(docItem, i => i.Type("my_type").Index(indexName));docItem 中的 json:{    "Source":"test",    "CreatedAt": "2018-05-26 12:23:33",    "SessionId":"1234",    "ResponseParam":{        "ItemA":"bla",        "ItemB": 123    }}搜索查詢:http://[IP]:9200/testindex/_search搜索結(jié)果{    "took": 8,    "timed_out": false,    "_shards": {        "total": 5,        "successful": 5,        "skipped": 0,        "failed": 0    },    "hits": {        "total": 4,        "max_score": 1,        "hits": [            {                "_index": "testindex",                "_type": "my_type",                "_id": "u44ucmMB687Uyj7O8xKY",                "_score": 1,                "_source": {                    "Source": [],                    "CreatedAt": [],                    "SessionId": [],                    "ResponseParam": {                        "ItemA": [],                        "ItemB": []                    }                }            },
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 144 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號