Re: Delete then re-add a core

2018-06-11 Thread Amanda Shuman
Erick - thank you, the issue was the second one you mentioned -- I completely forgot about changes that were made in conf files I never copied over (including schema.xml). Once I overwrote and reloaded I had no problems reindexing. I guess I had forgotten to check those since I was copying various

Re: Delete then re-add a core

2018-06-07 Thread Erick Erickson
Amanda: Your Solr log will record each update that comes through. It's a little opaque, by default it'll show you the first 10 IDs of each batch it receives. Guesses: - you're somehow having the same ID () assigned to multiple documents - your schemas are a bit different and the docs can't be

Re: Delete then re-add a core

2018-06-07 Thread Amanda Shuman
Thanks, Shawn, that is a remarkably clear description. I am able to create the core and all appears fine, but when I go to index I am unfortunately running into a new problem. I am indexing from the same site content as before (it's just an Omeka install with a solr plug-in that reindexes the

Re: Delete then re-add a core

2018-06-07 Thread Shawn Heisey
On 6/7/2018 4:12 AM, Amanda Shuman wrote: Definitely not a permissions problem - everything is run by the solr user, which owns everything in the directories. I just can't figure out why the default working directory is in opt rather than var (which is where it should be according to a previous

Re: Delete then re-add a core

2018-06-07 Thread Amanda Shuman
Definitely not a permissions problem - everything is run by the solr user, which owns everything in the directories. I just can't figure out why the default working directory is in opt rather than var (which is where it should be according to a previous chain I was in). But at this point I'm at a

Re: Delete then re-add a core

2018-06-06 Thread BlackIce
One of the issues with the install script is that when its run by any user other than "solr" and installed into default directories, is that one might get ownership/permission problems. The easiest way to avoid these is by creating the "solr" user BEFORE installing Solr as a regular "Login-User",

Re: Delete then re-add a core

2018-06-06 Thread Amanda Shuman
Thanks, I was able to do most of the but didn't reinstall... Still running into an issue I think is related to current working directory. I guess reinstalling might fix that? Amanda On Wed, Jun 6, 2018, 17:27 Erick Erickson wrote: > Assuming this is stand-alone: > > find the data dir for the

Re: Delete then re-add a core

2018-06-06 Thread Erick Erickson
Assuming this is stand-alone: > find the data dir for the core (parent of the index dir) > find the config dir for the core > shut down Solr > "rm -rf data" > make any changes to the configs you want > start Solr As BlackIce said, reinstalling works too. If it's SolrCloud delete and recreate the

Re: Delete then re-add a core

2018-06-06 Thread BlackIce
I'm not a Solr guru I take i that you installed Solr with the install script then it installs into a dir where normal users have no right to access the necessary files... One way to circumvent this is to un-install Solr and then re-install without using the default and have it install

Re: Delete then re-add a core

2018-06-06 Thread Amanda Shuman
Oh, and I also have a related question - how can I change my CWD (current working directory)? It is set for the /opt/ folder and not /var/ and I think that's screwing things up... Thanks! Amanda -- Dr. Amanda Shuman Post-doc researcher, University of Freiburg, The Maoist Legacy Project

Delete then re-add a core

2018-06-06 Thread Amanda Shuman
Hi all, I'm a bit of a newbie still but have clearly screwed something up... so I think what I need to do now is to delete a core (saving current conf files as-is) then re-add/re-create the core and re-index. (It's not a big site and it's not public yet, so I'm not concerned about taking anything