How to create new core in Solr 5?

前端 未结 6 1302
挽巷
挽巷 2021-02-04 02:35

Currently we are using Apache Solr 4.10.3 OR Heliosearch Distribution for Solr [HDS] as a search engine to i

6条回答
  •  余生分开走
    2021-02-04 02:45

    Use provided solr script with solr user privileges to create Solr cores, e.g.

    cd /opt/solr
    sudo -u solr ./bin/solr create -c testcore1
    

    Run bin/solr --help for syntax guidance.

    For any other issues, please check your Solr logs (e.g. /var/solr/logs/solr.log).

    Related: SOLR-7826: Permission issues when creating cores with bin/solr as root user.

提交回复
热议问题