lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <>
Subject [jira] [Created] (SOLR-12482) 'bin/solr config' claims success for failed operations
Date Wed, 13 Jun 2018 02:04:00 GMT
Steve Rowe created SOLR-12482:

             Summary: 'bin/solr config' claims success for failed operations
                 Key: SOLR-12482
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Steve Rowe

For example, after running {{bin/solr start -c}} and {{bin/solr create -c mycoll}}:

$PROMPT$ bin/solr config -c mycoll -z localhost:9983 -property FOOBAR -value BAZ
POSTing request to Config API:
Successfully set-property FOOBAR to BAZ

But the {{FOOBAR}} property cannot be set via {{set-property}}, because it is not on the editable
properties whitelist in {{EditableSolrConfigAttributes.json}}.

This is evident from the direct Config API call:

PROMPT$ curl -X POST -d '{set-property:{FOOBAR:BAZ}}'
      "errorMessages":["'FOOBAR' is not an editable property"]}],
  "WARNING":"This response format is experimental.  It is likely to change in the future."}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message