Reputation: 43
I'm trying to create a new Core with Solr 5.3. I have no experience working with Solr until a few days ago. I think I need this broken down Barney style. I've been through the system doc, wiki's, YouTube, and random discussion boards. The information I've found is either not current or not what I'm seeing from my UI. I've now wasted five hours trying to get this to work. I'm out of options. I'm about ready to drop this project and start from scratch. I'm completely exasperated and throwing myself to the mercy of my betters. Can anyone just show me how to do it?
Upvotes: 1
Views: 1703
Reputation: 43
I found a tutorial here: apache-solr-tutorial-beginners
I followed the exact instructions the author gives for creating a new core via the command line from solar-5.3.0/bin
:
solr create -c jcg -d basic_configs
jcg
then appeared in my Solr UI.
I went back and tried this same thing with my Project specs and it worked! I still have no idea how to do this from the UI but at least I can move forward an inch!
Upvotes: 2
Reputation: 13402
I followed the following steps for adding a core
using solr admin UI.
~/solr-5.2.0/bin/solr start
. This will start the solr on 8983 port.solr
directory. cd ~/solr-5.2.0/server/solr
.mkdir newCore
.conf
directory in side the newCore
and copy your schema.xml
and solrconfig.xml
along with other necessary files.Core Admims
section. Specify the core name, as per your requirement and newCore
(name of the directory which we have created) in the instanceDir
field. Click the Add Core
button.Upvotes: 2