Re: SolrCloud Core Reload

2015-04-17 Thread Tomás Fernández Löbbe
Optimize will be distributed to all shards/replicas.
I believe reload will only reload the specific core. For reloading the
complete collection use the Collections API:
https://cwiki.apache.org/confluence/display/solr/Collections+API


On Thu, Apr 16, 2015 at 5:15 PM, Vincenzo D'Amore v.dam...@gmail.com
wrote:

 Hi all,

 I have a solrcloud cluster with 3 server and there are many cores.
 Using the SolrCloud UI Admin Core, if I execute core optimize (or
 reload), all the core in the cluster will be optimized or reloaded? or
 only the selected core?.

 Best regards,
 Vincenzo



Re: SolrCloud Core Reload

2015-04-17 Thread Anshum Gupta
I don't think there is any Collection level support at this point in the
Solr admin UI. Whatever you do via the UI would be core level, unless I'm
forgetting something.

On Thu, Apr 16, 2015 at 5:15 PM, Vincenzo D'Amore v.dam...@gmail.com
wrote:

 Hi all,

 I have a solrcloud cluster with 3 server and there are many cores.
 Using the SolrCloud UI Admin Core, if I execute core optimize (or
 reload), all the core in the cluster will be optimized or reloaded? or
 only the selected core?.

 Best regards,
 Vincenzo




-- 
Anshum Gupta


Re: SolrCloud Core Reload

2015-04-17 Thread Vincenzo D'Amore
Hi,

this morning I have optimised my SolrCloud cluster (3 instances).
I have many collections, all are in shard and replica for each node.
At the end of optimisation task (about 10 minutes) all cores are optimised
on every node.

How can be sure than also reload affects all the cores?


On Fri, Apr 17, 2015 at 9:31 AM, Anshum Gupta ans...@anshumgupta.net
wrote:

 I don't think there is any Collection level support at this point in the
 Solr admin UI. Whatever you do via the UI would be core level, unless I'm
 forgetting something.

 On Thu, Apr 16, 2015 at 5:15 PM, Vincenzo D'Amore v.dam...@gmail.com
 wrote:

  Hi all,
 
  I have a solrcloud cluster with 3 server and there are many cores.
  Using the SolrCloud UI Admin Core, if I execute core optimize (or
  reload), all the core in the cluster will be optimized or reloaded? or
  only the selected core?.
 
  Best regards,
  Vincenzo
 



 --
 Anshum Gupta




-- 
Vincenzo D'Amore
email: v.dam...@gmail.com
skype: free.dev
mobile: +39 349 8513251


Re: SolrCloud Core Reload

2015-04-17 Thread Shawn Heisey
On 4/17/2015 7:21 AM, Vincenzo D'Amore wrote:
 this morning I have optimised my SolrCloud cluster (3 instances).
 I have many collections, all are in shard and replica for each node.
 At the end of optimisation task (about 10 minutes) all cores are optimised
 on every node.
 
 How can be sure than also reload affects all the cores?


The optimize command is sent at the core level, to a specific machine,
but sets in motion an optimize of the entire collection, one core at a
time.  The optimize update command ignores distrib=false -- it always
optimizes the entire collection.

If you send a RELOAD action to a core in a collection, it will only
affect that core.  There is a separate RELOAD action on the Collections
API which will reload every core in the collection on all servers.

Perhaps we should change how optimize works, and provide an OPTIMIZE
action on the Collections API, so it works much the same as RELOAD.  I
remember seeing an issue in Jira about adding distrib=false support to
optimize, but now I can't find it.  Changing optimize to work like
RELOAD would fix that issue.

Thanks,
Shawn



SolrCloud Core Reload

2015-04-16 Thread Vincenzo D'Amore
Hi all,

I have a solrcloud cluster with 3 server and there are many cores.
Using the SolrCloud UI Admin Core, if I execute core optimize (or
reload), all the core in the cluster will be optimized or reloaded? or
only the selected core?.

Best regards,
Vincenzo