Search within array

I'm searching on an array of objects

The problem is when I search using query string,
it matches the text split in different objects (different array positions).
Is there a way to avoid this behavior and search the query string within
the same array position?

I know that I could index the field with a high position_offset_gap and
search using phrase, but I don't need the text to be in order, only within
the same array position

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