- Newest
- Most votes
- Most comments
Hello,
Dynamic field names must either begin or end with a wildcard (*). The string before or after the wildcard can contain the same set of characters as a regular index field. I have replicated this in my test environment and received the same message.
Index field names must start with a lower case letter. Specify a index field name using the following characters: a-z (lower case letters), 0-9, and _ (underscore).
However, I observed that this issue arises while using new console of Amazon Cloudsearch service. Using the old console of Amazon Cloudsearch service, you will be able to successfully create the dynamic field.
Our internal cloudsearch team is aware of this issue and working to fix this issue as soon as possible. Until then, as a workaround, I would suggest you to try using old console of Amazon Cloudsearch service to create dynamic fields.
Please note that the options you can configure for dynamic fields are the same as for static fields. Similarly, document field names that match a dynamic field must meet all the same criteria as static field names. Following below steps, you can configure a new dynamic field .
Steps
- Open the Amazon CloudSearch console at https://console.aws.amazon.com/cloudsearch/home . Please make sure you are using old console. (This link would generally re-direct you to old console).
- In the left navigation pane, choose Domains.
- Click the name of the domain that you want to configure, then go to the Indexing options tab.
- Choose New index field to add a field specification to the list.
- Specify a unique name for the field, for example, enter '*test' and select the field type.
- Select the query details that you want to enable for the field.
- Select the analysis scheme to use for each text field. The analysis scheme specifies the language-specific text processing options that are used during indexing. By default, text fields use the en_default analysis scheme.
- Specify a default value for the field (optional). This value is used when no value is specified for the field in the document data.
- Optionally, add additional fields in Source field.
- Choose Submit.
Note that when you add fields or modify existing fields, you must explicitly issue a request to re-index your data when you are done making configuration changes.
You may refer below documentation for more information regarding configuring Dynamic Fields in Amazon CloudSearch.
Relevant content
- asked 2 years ago
- asked 14 days ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago