claim id is also a keyword

This commit is contained in:
Victor Shyba 2021-02-09 19:05:10 -03:00
parent e21f2362fe
commit dfca15395e

View file

@ -43,6 +43,12 @@ class SearchIndex:
"mappings": { "mappings": {
"properties": { "properties": {
"claim_id": { "claim_id": {
"fields": {
"keyword": {
"ignore_above": 256,
"type": "keyword"
}
},
"type": "text", "type": "text",
"index_prefixes": { "index_prefixes": {
"min_chars": 1, "min_chars": 1,