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 2014/07/07 20:42:34 UTC

[jira] [Comment Edited] (LUCENE-5806) Extend expression grammar to allow advanced "variables"

    [ https://issues.apache.org/jira/browse/LUCENE-5806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053992#comment-14053992 ] 

Jack Conradson edited comment on LUCENE-5806 at 7/7/14 6:40 PM:
----------------------------------------------------------------

Nevermind...  Need more Mountain Dew.


was (Author: jdconradson):
Been a while since I've used ANTLR, but is

fragment
OBJECT
    : ID (ARRAY ARRAY*)?
    ;

not equivalent to

fragment
OBJECT
    : ID ARRAY*
    ;


> Extend expression grammar to allow advanced "variables"
> -------------------------------------------------------
>
>                 Key: LUCENE-5806
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5806
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Ryan Ernst
>         Attachments: LUCENE-5806.patch
>
>
> We currently allow dots in "variable" names in expressions, so that we can fake out object access.  We should extend this to allow array access as well (both integer and string keys).  This would allow faking out full object nesting through bindings.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org