-
Notifications
You must be signed in to change notification settings - Fork 515
Description
Describe the bug
Can not update document using 'update button'
Dejavu Version
Web latest.
To Reproduce
Connect
- Go to https://dejavu.appbase.io/. Connect to elastic cluster v8
- Click 'editing' mode.
- Select 1 item from the table via checkbox.
- Click blue 'Update' button.
- You see document json. Edit one of the fields.
- Click blue 'Ok' button
- See error HTTP STATUS: 400 - Unable to put data
{ "root_cause": [ { "type": "mapper_parsing_exception", "reason": "Field [_ignored] is a metadata field and cannot be added inside a document. Use the index API request parameters." } ], "type": "mapper_parsing_exception", "reason": "failed to parse field [_ignored] of type [_ignored] in document with id 'Os9RwXEBSqVr35TmEzDZ'. Preview of field's value: 'description.keyword'", "caused_by": { "type": "mapper_parsing_exception", "reason": "Field [_ignored] is a metadata field and cannot be added inside a document. Use the index API request parameters." } }
Expected behavior
Item to be updated. Note, same works using an update from the table by typing.
Screenshots
Additional context
Example of the document:
{
"description": "hello",
"_ignored": [
"description.keyword"
]
}