Field with various types

i have been struggling with the auto mapping / template mappings in order
to overcome the following issue:

i have a field that can have a string value or an object value
(non-structured). this multi typed field creates mapping exceptions causing
the document to be rejected by the indexer.


  • how can i tell ES to not index specific fields (skip them altogether:
    "person.field1" => skipped!! (I want person to be parsed - except

  • is it possible to configure ES mapper so that it accepts person.field1
    with either string OR object...?

  • in general, if i'm dealing with unstructured json docs, can ES make sense
    here OR is it a stricted type system?

any help is appreciated!!

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit