lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] Commented: (SOLR-1531) Provide an option to remove the data directory on core unload
Date Fri, 23 Apr 2010 20:43:49 GMT


Hoss Man commented on SOLR-1531:

Paolo: thanks for working on this.

i gave your patch a quick glance for the most part it seems good -- although we should preserve
the one arg version of CoreContainer.remove for back compat.

as far as tests go: i can't remember off the top of my head how some of hte other CoreContainer
tests work -- the existing ones may all be Jetty based (using CoreAdminHandler).

We should probably overhaul the SolrTestHarness to be more "multi-core" friendly, but one
thing you could probably do for now, is let the TestHarness create a core, then use getCore().getCoreDescriptor().getCoreContainer().
 from there you can create/destroy cores to your hearts content (and verify that the data
dir goes away when it's suppose to, and stays arround when it's suppose to)

> Provide an option to remove the data directory on core unload
> -------------------------------------------------------------
>                 Key: SOLR-1531
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Shalin Shekhar Mangar
>             Fix For: 1.5
>         Attachments: SOLR-1531.patch
> Currently the unload command keeps the core's data on disk even though the details of
the core is deleted from configuration. Solr should have an option of cleaning the data directory
on unload of a core.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message