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 <erickerick...@gmail.com> wrote:

> 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 collection, your configs
> will be in ZooKeeper. Of course update your configs with your changes
> before creating the new collection.
>
> Best,
> Erick
>
>
> On Wed, Jun 6, 2018 at 7:09 AM, BlackIce <blackice...@gmail.com> wrote:
> > 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 into a directory where the
> > solr and login user have access to.
> >
> > Deleting a Core is a simple as deleting its directory...
> >
> > Hope this helps - good luck
> >
> > On Wed, Jun 6, 2018 at 3:59 PM, Amanda Shuman <amanda.shu...@gmail.com>
> > wrote:
> >
> >> 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
> >> <http://www.maoistlegacy.uni-freiburg.de/>
> >> PhD, University of California, Santa Cruz
> >> http://www.amandashuman.net/
> >> http://www.prchistoryresources.org/
> >> Office: +49 (0) 761 203 4925
> >>
> >>
> >> On Wed, Jun 6, 2018 at 3:35 PM, Amanda Shuman <amanda.shu...@gmail.com>
> >> wrote:
> >>
> >> > 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 down during this process.)
> >> >
> >> > So what's the quickest way to do this:
> >> >
> >> > 1. Create a new core at command line with different name, move all
> conf
> >> > files into that (?)
> >> > 2. Delete the current core at command line, but what's the script for
> >> > doing that to make sure it's totally gone? I see different responses
> >> > online... not sure what's the "best practice" for this...
> >> >
> >> > Thanks!
> >> > Amanda
> >> >
> >> >
> >> >
> >> > ------
> >> > Dr. Amanda Shuman
> >> > Post-doc researcher, University of Freiburg, The Maoist Legacy Project
> >> > <http://www.maoistlegacy.uni-freiburg.de/>
> >> > PhD, University of California, Santa Cruz
> >> > http://www.amandashuman.net/
> >> > http://www.prchistoryresources.org/
> >> > Office: +49 (0) 761 203 4925
> >> >
> >> >
> >>
>

Reply via email to