Array of objects with multi_field

Hey,

I want to use the multi_field type in conjunction with an array of objects?

As an example of what I mean: lets say I wanted to store an array of
authors associated with a book. Each author consists of an id, age and name
but I'd like to make the name a multi_field to allow for an analyzed and
not_analyzed version of the field.

Is this possible? And if so how would it be mapped?

Thanks

--

Hiya

I want to use the multi_field type in conjunction with an array of
objects?

Multi-fields only apply to scalar fields, not to objects. So you can
make eg the name field in each object multi-field, but not the object
itself

clint

As an example of what I mean: lets say I wanted to store an array of
authors associated with a book. Each author consists of an id, age and
name but I'd like to make the name a multi_field to allow for an
analyzed and not_analyzed version of the field.

Is this possible? And if so how would it be mapped?

Thanks

--

--