How about integration of the **@ScriptedField** annotation and the **ScriptedField/RuntimeField** inside query factories? For example: ``` java @ScriptedField(script = "doc['other'].value + 'text'") private String field; ``` From my opinion, it is better to use the **RuntimeField** instead of the **ScriptedField** because it is part of the ElasticSearch library.