Closed tarequeh closed 10 years ago
In ES there is not difference from an array and a single value. Just declare the field and you can use it as single or multi values. http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-array-type.html#mapping-array-type
Thanks for the explanation @aparo. Makes sense.
Apologies if I'm missing something obvious. From some online research and looking at the code I'm unable to determine how to create an Array Field and add boost, analyzed etc. properties for it using the mapping tools. I guess I can just create a new field inheriting the AbstractField but curious as to why it's not in the code.