multiValued, defined in the schema, whether a field is allowed to have more than one value.
For example:
if I have a fieldType identifier, which is the identifier multiValued = false, indexing the document this way:
doc { id : [ 1, 2] ... }
will cause the exception to be selected in the indexing stream and the document will not be indexed (checking the scheme will fail).
On the other hand, if I have several values โโfor a field, I would like to set multiValued = true to guarantee correct indexing, for example:
doc { id : 1 keywords: [ hello, world ] ... }
In this case, you define โkeywordsโ as a field with multiple values.
Asaf Apr 27 2018-11-11T00: 00Z
source share