Re: Expressions module, support of Strings

2025-05-11 Thread David Smiley
> https://lists.apache.org/thread/xdjt7rlsmoy7bx7ctffxvsmh91khlz6v Thanks for the detailed response, Uwe! On Wed, May 7, 2025 at 2:55 PM David Smiley wrote: > I've been looking at the Expressions module, a really impressive piece of > work! > > The "JavaScript" sub-package only appears to suppo

Re: Expressions module, support of Strings

2025-05-07 Thread Uwe Schindler
Hi, the expressions module is just made for calculating scores, therefore theres no need to call any function which takes strings. Also string bindings are not consumed, it only supports DoubleValues as function variables. If you want a full scripting language, check Elasticsearch Expression

Expressions module, support of Strings

2025-05-07 Thread David Smiley
I've been looking at the Expressions module, a really impressive piece of work! The "JavaScript" sub-package only appears to support an extreme subset of JavaScript, one where the only data type is a double. I don't see that it supports Strings/text, to include passing Strings to methods and reso