AWS CloudSearch 动态字段未映射
AWS CloudSearch Dynamic fields aren't mapping
我在 AWS CloudSearch 上有一个名为“*_i”(不带引号)的索引字段:
然后我有以下文件:
[
{
"type": "add",
"id": "file_3",
"fields": {
"tenant_id": 1,
"file_id": 3,
"file_name": "TestWordDoc.docx",
"file_size": "10795",
"file_created_date": "2015-11-13T17:05:33Z",
"file_contents": "The quick brown fox jumps over the lazy dog pdf",
"file_custom_field_2_text": "This is a file text custom field value",
"review_rating_i": 123
}
}
]
但是当我尝试将搜索文档上传到 AWS 时,它与 "review_rating_i" 的动态字段不匹配:
我做错了什么?我按照 official documentation.
中的说明进行操作
如果您忽略消息并上传文档会怎样?
我认为您可以使用搜索字段进行搜索:review_rating_i
我在 AWS CloudSearch 上有一个名为“*_i”(不带引号)的索引字段:
然后我有以下文件:
[
{
"type": "add",
"id": "file_3",
"fields": {
"tenant_id": 1,
"file_id": 3,
"file_name": "TestWordDoc.docx",
"file_size": "10795",
"file_created_date": "2015-11-13T17:05:33Z",
"file_contents": "The quick brown fox jumps over the lazy dog pdf",
"file_custom_field_2_text": "This is a file text custom field value",
"review_rating_i": 123
}
}
]
但是当我尝试将搜索文档上传到 AWS 时,它与 "review_rating_i" 的动态字段不匹配:
我做错了什么?我按照 official documentation.
中的说明进行操作如果您忽略消息并上传文档会怎样? 我认为您可以使用搜索字段进行搜索:review_rating_i