Hello, geodist calculations can be expensive so trying ways to optimize around it. Particularly trying to figure out if sub-function queries are cached while calculating an overall boost function for queries.
For example if I query with the below: *q={!boost b=max(sub(abs(sub(geodist(),0.0)),1.6), pow(abs(sub(geodist(),0.0)),1.2))}* Will geodist() be invoked twice or will it be re-used? I believe function queries do get converted to FunctionValues which is a ValueSource. Are those always cached as DocValues or is that only in case of field values? Aakash