We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ML task index mapping is wrong, remote_job field part will be ignored. https://github.com/opensearch-project/ml-commons/blob/main/common/src/main/java/org/opensearch/ml/common/CommonValue.java#L353
remote_job
{ "_meta": {"schema_version": 3}, "properties": { "model_id": {"type": "keyword"}, "task_type": {"type": "keyword"}, "function_name": {"type": "keyword"}, "state": {"type": "keyword"}, "input_type": {"type": "keyword"}, "progress": {"type": "float"}, "output_index": {"type": "keyword"}, "worker_node": {"type": "keyword"}, "create_time": {"type": "date", "format": "strict_date_time||epoch_millis"}, "last_update_time": {"type": "date", "format": "strict_date_time||epoch_millis"}, "error": {"type": "text"}, "is_async" : {"type" : "boolean"}, "user": { "type": "nested", "properties": { "name": {"type":"text", "fields":{"keyword":{"type":"keyword", "ignore_above":256}}}, "backend_roles": {"type":"text", "fields":{"keyword":{"type":"keyword"}}}, "roles": {"type":"text", "fields":{"keyword":{"type":"keyword"}}}, "custom_attribute_names": {"type":"text", "fields":{"keyword":{"type":"keyword"}}} } } } },"remote_job" : {"type": "flat_object"} } }
The text was updated successfully, but these errors were encountered:
Use java code to construct index mapping is error-prone. Let's create index mapping json file like AD https://github.com/opensearch-project/anomaly-detection/tree/main/src/main/resources/mappings
Sorry, something went wrong.
+1 on this. Should we create a separate issue on this?
#2951
rbhavna
Successfully merging a pull request may close this issue.
ML task index mapping is wrong,
remote_job
field part will be ignored.https://github.com/opensearch-project/ml-commons/blob/main/common/src/main/java/org/opensearch/ml/common/CommonValue.java#L353
The text was updated successfully, but these errors were encountered: