-
Notifications
You must be signed in to change notification settings - Fork 731
Description
Hi everyone,
I was looking into the Script Query part of ElasticSearch and was wondering if the "runtime_mappings" clause was supported by the script field.
I see that the first example on the documentation page is possible using Script but since that is inherits from the AbstractQuery class, I don't think this can be used to create runtime fields.
Am I correct to say that this functionality is not available in this library; if so would that require a new folder + implementation to be made since this is a different clause standing next to the fields / query top level query parts of an ElasticSearch request?
Edit: I assume you could reach the desired result by making a Query() object and injecting the runtime_mappings raw query as an array in there.