which solrconfig.xml file is it?
i have just unzipped SOLR zip file downloaded from their website. and it says in the tutorial i have to edit the solrconfig.xml file. there are several in different locations.
which one is it? and where should i have this root folder? inside my web space?
LICENSE.txt README.txt client contrib docs lib
CHANGES.txt NOTICE.txt build.xml common-build.xml dist example src
ive got one in example/solr/conf. is it that one?
and about the data-config-xml. should i create one and the开发者_运维问答n type in the path to it in solrconfig.xml? the tutorial isnt that descriptive.
You are correct that's the directory
see here see here http://wiki.apache.org/solr/SolrInstall#Setup
The 2 files you'll have to edit at some point are:
- solr/conf/solrconfig.xml
- solr/conf/schema.xml
Which OS are you installing on? If it's windows then i can help you out.. as i've done it many times ;)
CraftyFella
The file you looking for is in this directory: server/solr/new_core/conf/solrconfig.xml (depending on your core name).
After changing it you should probably do bin/solr restart
.
For SolR 7.4.0 on CentOS and Red Hat, I found solrconfig.xml in /var/solr/data/[core_name]/conf.
Create a New Core (Solr-8.6.2)
sudo su solr -c '/opt/solr/bin/solr create -c <corename>'
or
sudo su solr -c '/opt/solr-8.6.2/bin/solr create -c <corename>'
Core will be created at
/var/solr/data/<corename>/conf/solrconfig.xml
Edit this XML to change your configuration
精彩评论