xp icon indicating copy to clipboard operation
xp copied to clipboard

Refactoring of query-functions to support custom functions

Open runarmyklebust opened this issue 5 years ago • 1 comments

I think it will be possible without too much work, to refactor the FunctionExpressionBuilder to use a QueryFunctionProvider-interface with the methods

String name()
org.elasticsearch.index.query.QueryBuilder build (interface functionArguments)

This will enable us and other users to implement their own query-functions by implementing this interface, thus make it really easy to add new functions in separate libs etc.

runarmyklebust avatar Apr 02 '19 19:04 runarmyklebust

Sounds like a smart plan.

sigdestad avatar May 03 '19 11:05 sigdestad