-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2022.5.6
-
Component/s: Studio Modeler
Steps to Reproduce:
- In Studio Modeler, navigate to Search -> Elasticsearch Mapping
- Add a mapping for any field
- Deploy Studio project to instance
- Attempt a full repository reindex
Expected Results: Able to reindex with custom mapping defined in Studio applied
Actual Results: The following error is received
An error occurred while putting the mapping: { "dc:subjects" : { "type" : "keyword", "copy_to" : "all_field" } } into ElasticSearch configuration, org.elasticsearch.client.ResponseException: method [PUT], host [http://localhost:9200], URI [/nuxeo/_mapping], status line [HTTP/1.1 400 Bad Request] {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [dc:subjects : {copy_to=all_field, type=keyword}]"}],"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [dc:subjects : {copy_to=all_field, type=keyword}]"},"status":400}
NOTE: This is the error received after fixing issue in NXS-6854
The json generated by Studio should include properties, e.g.
{ "properties": { "dc:subjects" : { "type" : "keyword", "copy_to" : "all_field" } } }
- is related to
-
NXS-6854 Reindex unable to find custom mapping defined in Studio
- Resolved