Beginner's question: matching field names exactly (or containing a substring)

hello everybody!

i'm kinda new to elasticsearch and just entered this group. i started using
it some months ago on my work and trying to get deeper into all this stuff.

i wondered if it is possible to do elasticsearch queries where i can match
names of fields and not values of fields.

in my case, i have a very large data model i am storing in elasticsearch
with lots of field names with same suffixes.
i would like to know if I can query elasticsearch to give me a result with
all documents containing all fields ending with "_xyz" and their values of
course.
i know i could do a simple query where i just write all the field names
explicitly, but i am curious if i could save time (and spent the saved time
here to ask this question...)

thank you all :wink:

robert

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/42dca496-5195-43fd-a755-375d691ecec0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.