User Tools

Site Tools


solr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
solr [2018/02/14 11:19] adminsolr [2018/02/14 11:20] – [Create a User and set password] admin
Line 6: Line 6:
  
  
-===== Create User and set password =====+===== Create User and set password =====
  
 <code bash> <code bash>
-curl --user solr:SolrRocks http://localhost:8983/solr/admin/authentication -H 'Content-type:application/json' -d '{"set-user": {"tom" : "TomIsCool","harry":"HarrysSecret"}}'+curl --user USERNAME http://localhost:8983/solr/admin/authentication -H 'Content-type:application/json' -d '{"set-user": {"tom" : "TomIsCool","harry":"HarrysSecret"}}'
 </code> </code>
  
 +===== Delete User =====
 +
 +<code bash>
 +curl --user USERNAME http://localhost:8983/solr/admin/authentication -H 'Content-type:application/json'-d  '{
 + "delete-user": ["tom","harry"]}'
 +</code>
 ===== Create Core ===== ===== Create Core =====
  
solr.txt · Last modified: 2018/02/15 10:17 by admin