Re: Unload collection in SolrCloud

2014-08-20 Thread didier deshommes
I added a JIRA issue here: https://issues.apache.org/jira/browse/SOLR-6399 On Thu, May 22, 2014 at 4:16 PM, Erick Erickson wrote: > "Age out" in this context is just implementing a LRU cache for open > cores. When the cache limit is exceeded, the oldest core is closed > automatically. > > Best,

Re: Unload collection in SolrCloud

2014-05-22 Thread Erick Erickson
"Age out" in this context is just implementing a LRU cache for open cores. When the cache limit is exceeded, the oldest core is closed automatically. Best, Erick On Thu, May 22, 2014 at 10:27 AM, Saumitra Srivastav wrote: > Eric, > > Can you elaborate more on what you mean by "age out"? > > > >

Re: Unload collection in SolrCloud

2014-05-22 Thread didier deshommes
On Thu, May 22, 2014 at 10:30 AM, Erick Erickson wrote: > If we manage to extend the "lazy core" loading from stand-alone to > "lazy collection" loading in SolrCloud would that satisfy the > use-case? It still doesn't allow manual unloading of the collection, > but the large collection would "age

Re: Unload collection in SolrCloud

2014-05-22 Thread Saumitra Srivastav
Eric, Can you elaborate more on what you mean by "age out"? -- View this message in context: http://lucene.472066.n3.nabble.com/Unload-collection-in-SolrCloud-tp4135706p4137707.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Unload collection in SolrCloud

2014-05-22 Thread Saumitra S
Eric, Can you elaborate more on what you mean by "age out"? On Thu, May 22, 2014 at 9:00 PM, Erick Erickson wrote: > If we manage to extend the "lazy core" loading from stand-alone to > "lazy collection" loading in SolrCloud would that satisfy the > use-case? It still doesn't allow manual unloa

Re: Unload collection in SolrCloud

2014-05-22 Thread Erick Erickson
If we manage to extend the "lazy core" loading from stand-alone to "lazy collection" loading in SolrCloud would that satisfy the use-case? It still doesn't allow manual unloading of the collection, but the large collection would "age out" if it was truly not used all that much. That said, I don't k

Re: Unload collection in SolrCloud

2014-05-22 Thread Saumitra Srivastav
Yes, that's what I am doing. IMO in addition to search, Solr satisfies the needs of lot of analytics applications as well, and on-demand loading is a common use case in analytics(to keep TCO low), so it would be nice to keep this supported. Regards, Saumitra On Thu, May 22, 2014 at 5:37 PM, S

Re: Unload collection in SolrCloud

2014-05-22 Thread Shalin Shekhar Mangar
Ah, I see. So if I understand it correctly, you are sharing the cluster with other collections which are more frequently used and you want to keep resources available for them so you keep your collection dormant most of the time until requested. No, we don't have such an API. It'd be cool to have

Re: Unload collection in SolrCloud

2014-05-22 Thread Saumitra Srivastav
I don't want to delete the collection/shards. I just want to unload all shards/replica of the collection temporarily. Let me explain my use case. I have a collection alias say *collectionA* which consists of n collections(n<=5) each with 8 shards and 2 replica over a 16 machine cluster. *collecti

Re: Unload collection in SolrCloud

2014-05-22 Thread Shalin Shekhar Mangar
You can use the delete Collection API. https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api6 On Thu, May 22, 2014 at 3:56 PM, Saumitra Srivastav < saumitra.srivast...@gmail.com> wrote: > Guys, any suggestions for this?? > > > > -- > View this message in context:

Re: Unload collection in SolrCloud

2014-05-22 Thread Saumitra Srivastav
Guys, any suggestions for this?? -- View this message in context: http://lucene.472066.n3.nabble.com/Unload-collection-in-SolrCloud-tp4135706p4137602.html Sent from the Solr - User mailing list archive at Nabble.com.