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

Uwe Schindler commented on LUCENE-5806:
---------------------------------------

OK, this is what I expected. I am fine with that if the "binding" is normalized:

{noformat}
doc['foo'].value
doc ["foo"].value
doc[ 'foo' ].value
{noformat}

is all the same so, the binding should be somehow normalized? Like:

{noformat}
doc['foo'].value
{noformat}

Otherwise its hard to hardcode bindings like you mentioned in your last post.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to