You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2017/05/02 21:11:04 UTC
[jira] [Updated] (SOLR-10519) SolrCLI.atPath cannot handle children
that begin with a slash.
[ https://issues.apache.org/jira/browse/SOLR-10519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erick Erickson updated SOLR-10519:
----------------------------------
Attachment: SOLR-10519.patch
Final patch with a regex......
> 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, SOLR-10519.patch, 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org