Mapping with Field with two possible types

(Emilio Srougo) #1

Is it possible to have a mapping with a field that could have two different types?
For example, either object or string

(Christian Dahlqvist) #2

No, each field must have a single mapping within an index.

(David Pilato) #3

But you can analyze the same field as a text and a number using multi fields feature (

But as @Christian_Dahlqvist said in your case (object vs field) you can't do that.

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.