You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jack Conradson (JIRA)" <ji...@apache.org> on 2013/11/07 19:49:17 UTC
[jira] [Updated] (LUCENE-5334) Add Namespaces to Expressions
Javascript Compiler
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org