OK, I'm playing naive user here and coming up with some notes that
need explication. They may already be somewhere, but....

Anyway, where should we collect these? I'm particularly good at taking
the role of someone easily confused ;)...

Latest thing. Once I create a set of nodes for SolrCloud, how to
bounce one? I spent some time trying to get bin/solr to do it before
realizing that was just setup. Killing the Solr running on that port
then going into node# and starting the jar in the regular way works.

That said, it seems like we should be able to restart a Solr node with
bin/solr and have it pick up where it left off. The scenario is this:

I start a SolrCloud cluster.
I want to test behavior where a node goes down. I do NOT want to
restart, I want to stop, poke around, then start.

bin/solr start -p 7574 -c -z localhost:2181

has the nodes show in the admin UI, but as "down" although not the
gray version. Is there a way I'm missing to start a downed node from
bin/solr and have it pick up where we left off?

Erick

On Mon, Nov 3, 2014 at 12:28 PM, Erik Hatcher <erik.hatc...@gmail.com> wrote:
>
> On Nov 3, 2014, at 12:50 PM, Shawn Heisey <apa...@elyograg.org> wrote:
>
>> On 11/2/2014 5:57 PM, Erick Erickson wrote:
>>> I'm a little discomfited by having to learn new stuff, but that's "a 
>>> personal
>>> problem" ;).
>>>
>>> I do think we have to be mindful of people who want something like what 
>>> Shawn
>>> was doing, I do this all the time as well. And of new people who haven't a 
>>> clue.
>>> Hmmm, actually new folks might have an easier time of it since they don't
>>> have any expectations ;).
>>>
>>> bq: "...'run example' target that could also fire off a create for 
>>> collection1."
>>>
>>> Exactly, with a note (perhaps in the help for this command) about where the
>>> config files are located that are used. Perhaps with a 'clean' option that
>>> blows away the current data directory and (if Zookeeper becomes the one
>>> source of truth) does an upconfig first.
>>
>> Thanks for all the input on this thread, and for the hard work trying to
>> make everything easier for a beginner.
>>
>> I actually do really like the fact that we now start with no cores, it
>> was just a bit of a shock.  It sounds like it's a relatively
>> straightforward thing to fire off a CoreAdmin 'curl' command after
>> startup that will populate an example core, and the conf directory is
>> probably easy to locate in the download too. I just ask that this
>> information be added to the immediately available docs (README.txt and
>> similar).  I did not check the tutorial ... if it's not already there,
>> it probably should be.
>
> Or on trunk (and hopefully back ported if we do another 4.10.x release):
>
> $ bin/solr create_core -help
>
> Usage: solr create_core [-n name] [-c configset]
>
>   -n <name>       Name of core to create
>
>   -c <configset>  Name of configuration directory to use, valid options are:
>       basic_configs: Minimal Solr configuration
>       data_driven_schema_configs: Managed schema with field-guessing support 
> enabled
>       sample_techproducts_configs: Example configuration with many optional 
> features enabled to
>          demonstrate the full power of Solr
>       If not specified, default is: data_driven_schema_configs
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to