There is a reason of course, or else it wouldn't be like that.

We addressed it recently.

https://issues.apache.org/jira/browse/SOLR-3633
https://issues.apache.org/jira/browse/SOLR-3677
https://issues.apache.org/jira/browse/SOLR-4943

- Mark

On Jul 22, 2013, at 10:57 AM, Michael Della Bitta 
<michael.della.bi...@appinions.com> wrote:

> That would be great.
> 
> One step toward this goal is to stop treating the situation where there are
> no collections or cores as an error condition. It took me a while to get
> out of the mindset when bringing up a Solr install that I had to avoid that
> scenario at all costs, because red text == bad.
> 
> There's no reason for the web interface to be deactivated when there are no
> collections or cores, though. Imagine if mysql didn't let you connect to it
> via phpmyadmin if you hadn't configured a database yet?
> 
> 
> Michael Della Bitta
> 
> Applications Developer
> 
> o: +1 646 532 3062  | c: +1 917 477 7906
> 
> appinions inc.
> 
> “The Science of Influence Marketing”
> 
> 18 East 41st Street
> 
> New York, NY 10017
> 
> t: @appinions <https://twitter.com/Appinions> | g+:
> plus.google.com/appinions
> w: appinions.com <http://www.appinions.com/>
> 
> 
> On Sat, Jul 20, 2013 at 10:33 PM, Mark Miller <markrmil...@gmail.com> wrote:
> 
>> A lot has changed since those example were written - in general, we are
>> moving away from that type of collection initialization and towards using
>> the Collections API. Eventually, I'd personally like SolrCloud to ship with
>> no predefined collections and have users simply start it and then start
>> using the Collections API - preconfigured collections will be second class
>> and possibly deprecated at some point.
>> 
>> - Mark
>> 
>> On Jul 20, 2013, at 10:13 PM, Erick Erickson <erickerick...@gmail.com>
>> wrote:
>> 
>>> Flavio:
>>> 
>>> One of the great things about having people continually using Solr
>>> (and SolrCloud) for the first time is the opportunity to improve the
>>> docs. Anyone can update/add to the docs, all it takes is a signon.
>>> Unfortunately we has a bunch of spam bots a while ago, so it's now a
>>> two step process
>>> 1> create a login on the Solr wiki
>>> 2> post a message on this list indicating that you'd like to help
>>> improve the Wiki and give us your Solr login. We'll add you to the
>>> list of people who can edit the wiki and you can help the community by
>>> improving the documentation.
>>> 
>>> Best
>>> Erick
>>> 
>>> On Fri, Jul 19, 2013 at 8:46 AM, Flavio Pompermaier
>>> <pomperma...@okkam.it> wrote:
>>>> Thank you for the reply Erick,
>>>> I was facing exactly with that problem..from the documentation it seems
>>>> that those parameter are required to run SolrCloud,
>>>> instead they are just used to initialize a sample collection..
>>>> I think that in the examples on the user doc it should be better to
>>>> separate those 2 concepts: one is starting the server,
>>>> another one is creating/managing collections.
>>>> 
>>>> Best,
>>>> Flavio
>>>> 
>>>> 
>>>> On Fri, Jul 19, 2013 at 2:13 PM, Erick Erickson <
>> erickerick...@gmail.com>wrote:
>>>> 
>>>>> First the numShards parameter is only relevant the very first time you
>>>>> create your collection. It's a little confusing because in the
>> SolrCloud
>>>>> examples you're getting "collection1" by default. Look further down the
>>>>> SolrCloud Wiki page, the section titled
>>>>> "Managing Collections via the Collections API" for creating collections
>>>>> with a different name.
>>>>> 
>>>>> Either way, either when you run the bootstrap command or when you
>>>>> create a new collection, that's the only time numShards counts. It's
>>>>> ignored the rest of the time.
>>>>> 
>>>>> As far as data growing, you need to either
>>>>> 1> create enough shards to handle the eventual size things will be,
>>>>> sometimes called "oversharding"
>>>>> or
>>>>> 2> use the splitShard capabilities in very recent Solrs to expand
>>>>> capacity.
>>>>> 
>>>>> Best
>>>>> Erick
>>>>> 
>>>>> On Thu, Jul 18, 2013 at 4:52 PM, Flavio Pompermaier
>>>>> <pomperma...@okkam.it> wrote:
>>>>>> Hi to all,
>>>>>> Probably this question has a simple answer but I just want to be sure
>> of
>>>>>> the potential drawbacks..when I run SolrCloud I run the main solr
>>>>> instance
>>>>>> with the -numShard option (e.g. 2).
>>>>>> Then as data grows, shards could potentially become a huge number. If
>> I
>>>>>> hadstio to restart all nodes and I re-run the master with the
>> numShard=2,
>>>>>> what will happen? It will be just ignored or Solr will try to reduce
>>>>>> shards...?
>>>>>> 
>>>>>> Another question...in SolrCloud, how do I restart all the cloud at
>> once?
>>>>> Is
>>>>>> it possible?
>>>>>> 
>>>>>> Best,
>>>>>> Flavio
>>>>> 
>> 
>> 

Reply via email to