[ 
https://issues.apache.org/jira/browse/LUCENE-5334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jack Conradson updated LUCENE-5334:
-----------------------------------

    Attachment: LUCENE-5334.patch

Attached a patch with unit tests.  Note that a large portion of the patch is 
the regenerated ANTLR lexer/parser.

> Add Namespaces to Expressions Javascript Compiler
> -------------------------------------------------
>
>                 Key: LUCENE-5334
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5334
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Jack Conradson
>            Priority: Minor
>         Attachments: LUCENE-5334.patch
>
>
> I would like to add the concept of namespaces to the expressions javascript 
> compiler using '.' as the operator.
> Example of namespace usage in functions:
> AccurateMath.sqrt(field)
> FastMath.sqrt(field)
> Example of namespace usage in variables:
> location.latitude
> location.longitude



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to