[
https://issues.apache.org/jira/browse/SOLR-10519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15973770#comment-15973770
]
Erick Erickson commented on SOLR-10519:
---------------------------------------
I suppose an alternative would be when looking for the child if it isn't found
without the slash, prepend the slash but I really don't like alternative.
> SolrCLI.atPath cannot handle children that begin with a slash.
> --------------------------------------------------------------
>
> Key: SOLR-10519
> URL: https://issues.apache.org/jira/browse/SOLR-10519
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 6.5, master (7.0)
> Reporter: Erick Erickson
> Assignee: Erick Erickson
> Attachments: SOLR-10519.patch
>
>
> When getting an element of a configuration from JSON where the _name_ of one
> of the elements in the tree begins with a slash (e.g. /query), SolrCLI.atPath
> fails because it splits on the slash.
> We either need a way to escape it or add an alternate delimiter. Here's one
> way that works, what do people think?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]