-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I use the branch 25.
When typing a word and pressing "enter", the response is 400 bad request.
When looking closely at the response I found the following message:
No mapping found for [revisionDateForResource] in order to sort)
Inside the elasticsearch container, those following command fixed the issue:
curl -u elastic -X PUT \
"http://localhost:9200/gn-records/_mapping" \
-H "Content-Type: application/json" \
-d '{
"properties": {
"revisionDateForResource": {
"type": "date"
}
}
}'
curl -u elastic -X PUT \
"http://localhost:9200/gn-records/_mapping" \
-H "Content-Type: application/json" \
-d '{
"properties": {
"creationDateForResource": {
"type": "date"
}
}
}'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels