Noble Paul created SOLR-13488:
---------------------------------

             Summary: Improve supported syntax Utils.getObjectByPath()
                 Key: SOLR-13488
                 URL: https://issues.apache.org/jira/browse/SOLR-13488
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Noble Paul



Today the supported paths are in the form of 

*  {{/a/b/c}} : c inside a/b
* {{/a/b[0]}} : first element of b
* {{/a/b[-1]}} : last element of b

we need to add support for the following to improve testing

 
 * {{/a/b[@x]/c}} : c where attribute x is present for b
 * {{/a/b[@x == 'y']/c}} : c where x has a value y in b
 * {{/a/b[@x != 'y']/c}} : c where x has a value not equals y in b
 * {{/a/b/$size()}} : size of b where b is a map or collection
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to