I have a runtime field called "throughput_in" with type long and the following script:
throughput_in:
emit(doc['volume_uplink'].value / doc['duration'].value)
and a field called "throughput_out" with type long:
throughput_out:
emit(doc['volume_downlink'].value / doc['duration'].value)
I want to use the runtime field in another runtime field called "throughput_total" with type long:
throughput_total:
emit(doc['throughput_in'].value + doc['throughput_out'].value)
but the autocomplete doesn't show the runtime field. Is doing this possible?