I have an integer field in my index which I would like to be
I am using the Java API, and I prefer to use
the .setSource(Map<String,Object>) method of setting the source.
In the case of a multivalued field, what object should I pass? Will a
List or Set of Integers work, or is it expecting an Array?
What kind of a collection should I expect when reading back one of
these documents? Is it correct to assume that instances with one value
will be returned as an Integer while instances with multiple values
will be returned as some kind of a collection or array?