lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (JIRA)" <>
Subject [jira] [Commented] (SOLR-10486) Add Length Conversion Evaluators
Date Sat, 15 Apr 2017 15:57:42 GMT


Joel Bernstein commented on SOLR-10486:

No worries, my use of the switch statement in the read() method was worse! Thanks for bringing
up the lambda solution.

If you like the approach using the EvaluatorException then we can create a ticket to throw
this exception in the constructors of all existing evaluators.

> Add Length Conversion Evaluators
> --------------------------------
>                 Key: SOLR-10486
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Joel Bernstein
>         Attachments: SOLR-10486.patch, SOLR-10486.patch
> Based on the work in SOLR-10485 I think it makes sense to add Conversion evaluators.
I think a good place to start is with the conversions listed here:
> This ticket will add length conversions and lay down the initial syntax.
> Sample syntax:
> {code}
> select(eval(), convert(inches, meters, 22) as meters)
> {code}
> This will return a single tuple with 22 inches converted to meters.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message