Re: How to get a solr core to persist

2017-11-22 Thread Shawn Heisey
On 11/20/2017 6:26 AM, Amanda Shuman wrote: > I did as you suggested and created the core by hand - I copied the files > from the existing core, including the index files (data directory) and > changed the core.properties file to the new core name (core_new) and > restarted. Now I'm having a differ

Re: How to get a solr core to persist

2017-11-20 Thread Amanda Shuman
Hi Shawn, I did as you suggested and created the core by hand - I copied the files from the existing core, including the index files (data directory) and changed the core.properties file to the new core name (core_new) and restarted. Now I'm having a different issue - it says it is Optimized but t

Re: How to get a solr core to persist

2017-11-15 Thread Erick Erickson
Well, if you must ;) Basically whatever is easier. "Core discovery" starts at SOLR_HOME, wherever you've defined that. Which can be done with a sysvar "-Dwhatrever" at start time or the "-s" param if using the bin/solr start scripts. That's the root for finding all "core.properties" files. Eac

Re: How to get a solr core to persist

2017-11-15 Thread Rick Leir
Hi Shawn, Amanda When we put the data under /var/lib, I feel a need to put the config under /etc. Is this recommended, and would you use a symbolic link for the conf dir? Cheers--Rick -- Sorry for being brief. Alternate email is rickleir at yahoo dot com

Re: How to get a solr core to persist

2017-11-15 Thread Shawn Heisey
On 11/15/2017 2:28 AM, Amanda Shuman wrote: 1) so does this mean that on the back-end I should first create my new core, e.g., core1 and then within that place a conf folder with all the files? Same for the data folder? If so, is it fine to just use the existing config files that I've previously

Re: How to get a solr core to persist

2017-11-15 Thread Amanda Shuman
Ah, also, this is what the admin console says for location of core docs when I created the core at command line: CWD:/opt/solr-5.3.1/serverInstance:/var/solr/data/[corename]Data: /var/solr/data/[corename]/dataIndex:/var/solr/data/[corename]/data/index -- Dr. Amanda Shuman Post-doc researcher

Re: How to get a solr core to persist

2017-11-15 Thread Amanda Shuman
Hi Shawn, Thanks a million for your response! I really do appreciate it... this helps clarify how things should be set up. As for why things are set up the way they are and the webapps location... honestly I think my predecessor did not really understand solr at all... I'm trying to pick up the p

Re: How to get a solr core to persist

2017-11-14 Thread Shawn Heisey
On 11/14/2017 2:14 AM, Amanda Shuman wrote: We have just one solr core, which resides in the webapp foIder (in solr 5.3.1 this is at /opt/solr-5.3.1/server/webapps/[corename]/ -- the data folder is in the same place at /data). Why is your core there? That is not a typical location, and does

How to get a solr core to persist

2017-11-14 Thread Amanda Shuman
Hi all, I consider myself relatively new to server admin (it's something I have to do on the side for the project I'm on and I inherited the current solr setup from my predecessor), so please be kind. The issue: We have just one solr core, which resides in the webapp foIder (in solr 5.3.1 this is