One possible way is to augment your search with a terms aggregation query on an analyzed version of the field you want to extract the terms from. Be careful though is this can be very very expensive if you have a field with lots of distinct terms.
-- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d9e1bb6f-a2fe-4995-82e3-aa3613677dc3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
