claim id is also a keyword
This commit is contained in:
parent
e21f2362fe
commit
dfca15395e
1 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue