We are using Solr 5.2.1 with SolrJ API. To improve/minimize the Solr heap utilization we would like to explicitly unload Solr collections after completing the search queries.Is there an API to unload Solr Collections for SolrCloud?
The real issue we are trying to solve is Solr running into out of memory errors on searching large amount of data for a given heap setting. Keeping fixed heap size, we plan to load/unload collections so that we do not let Solr run out of memory. Any suggestions/help on this is highly appreciated. Thanks