lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay chae <>
Subject Create core with bin/solr where BasicAuth is setup
Date Wed, 10 May 2017 16:31:50 GMT

I have basic auth implemented in solr and can create a core with 'curl —user…’ and through
the web interface with username and password entered.

I can create a core:

bin/solr create -c bore 

with this in


But say I don’t want to store a plaintext password in and would rather create
a core on command with the following:

bin/solr create -c bore -Dbasicauth=solr:SolrRocks

Then I find i get the following error:

ERROR: Unrecognized or misplaced argument: -Dbasicauth=solr:SolrRocks!

I have tried other placements without success.

Could anyone help with this off the top of their head?
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message