Open
Description
I'd like to have the following index template mapping:
"mappings": {
"properties": {
"long_field": {
"type": "long",
"fields": {
"str": {
"type": "keyword"
}
}
},
...
Please note that I have multi-field for a Long field and it works fine.
I can create such mapping using 8.x Kibana
But I cannot create the same mapping programmatically using elastic4s, because there is no fields parameter in
LongField.scala
How can I create the mapping above using elastic4s now?
In the past (6.x) it was possible using BasicField.fields
Metadata
Assignees
Labels
No labels
Activity