Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS CloudSearch Dynamic fields aren't mapping

I have an index field with a name of "*_i" (without quotes) on AWS CloudSearch: *_i dynamic field

I then have the following document:

[
  {
    "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
    }
  }
]

But when I try to upload the search document to AWS it doesn't match the dynamic field with "review_rating_i":

aws refusing to match dyno field

What am I doing wrong? I followed the instructions as per the official documentation.

like image 768
Force Hero Avatar asked Nov 26 '25 21:11

Force Hero


1 Answers

What happens if you just ignore the message and Upload Documents? I think you may be able to search with Search Fields: review_rating_i

like image 119
Eiji Shinohara Avatar answered Nov 29 '25 17:11

Eiji Shinohara



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!