Cloudsearch 动态字段跳过字段

Cloudsearch dynamic fields skipping fields

在 cloudsearch(使用 IMDB 数据)中,我向现有索引选项添加了两个动态字段

然后我从 AWS 获取了整个 JSON IMDB 数据并添加了字段 location_tmonth_i

[{
"fields": {
    "rating": 7.4,
    "genres": ["Comedy", "Drama"],
    "plot": "A New Jersey guy dedicated to his family, friends, and church, develops unrealistic expectations from watching porn and works to find happiness and intimacy with his potential true love.",
    "release_date": "2013-01-18T00:00:00Z",
    "title": "Don Jon",
    "rank": 1,
    "running_time_secs": 5400,
    "directors": ["Joseph Gordon-Levitt"],
    "image_url": "http://ia.media-imdb.com/images/M/MV5BMTQxNTc3NDM2MF5BMl5BanBnXkFtZTcwNzQ5NTQ3OQ@@._V1_SX400_.jpg",
    "year": 2013,
    "actors": ["Joseph Gordon-Levitt", "Scarlett Johansson", "Julianne Moore"]
},
"type": "add",
"id": "tt2229499",
"location_t": "Berlin",
"month_i": 8},...

当我上传 JSON 时,它忽略了动态字段?

我还是做了,我尝试搜索但无济于事。任何人都不知道我做错了什么。我按照 instructions 到动态字段中的书

您需要将动态字段作为 fields 数组的一部分,见下文:

[{
"fields": {
    "rating": 7.4,
    "genres": ["Comedy", "Drama"],
    "plot": "A New Jersey guy dedicated to his family, friends, and church, develops unrealistic expectations from watching porn and works to find happiness and intimacy with his potential true love.",
    "release_date": "2013-01-18T00:00:00Z",
    "title": "Don Jon",
    "rank": 1,
    "running_time_secs": 5400,
    "directors": ["Joseph Gordon-Levitt"],
    "image_url": "http://ia.media-imdb.com/images/M/MV5BMTQxNTc3NDM2MF5BMl5BanBnXkFtZTcwNzQ5NTQ3OQ@@._V1_SX400_.jpg",
    "year": 2013,
    "actors": ["Joseph Gordon-Levitt", "Scarlett Johansson", "Julianne Moore"],
    "location_t": "Berlin",
    "month_i": 8
},
"type": "add",
"id": "tt2229499",},...