Re: Expressions module, support of Strings
David Smiley <[email protected]> Sun, 11 May 2025 11:27:17 -0400
| Newsgroups | gmane.comp.jakarta.lucene.user |
|---|---|
| Message-ID | <CAKwGGTE9OQTLvR2-ymypH9fA0FVbAz7hrFH4GboXJX4MZYJNMA@mail.gmail.com> |
> https://lists.apache.org/thread/xdjt7rlsmoy7bx7ctffxvsmh91khlz6v Thanks for the detailed response, Uwe! On Wed, May 7, 2025 at 2:55 PM David Smiley <[email protected]> wrote: > 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 resolving > String data from a binding. Can someone confirm this? What would it take > to expand that? > > I can see that Javascript.g4 (Antlr grammar) references a "STRING" but > can't make out if/how it's used in JavaScriptCompiler. > > ~ David Smiley > Apache Lucene/Solr Search Developer > http://www.linkedin.com/in/davidwsmiley >