[ 
https://issues.apache.org/jira/browse/SOLR-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054443#comment-13054443
 ] 

Shalin Shekhar Mangar commented on SOLR-2610:
---------------------------------------------

bq. where do you mention how this helps with SolrCloud?

I didn't and I'm sorry about that. I was just trying to tell you my 
perspective. These are small pieces that need to be fixed before tackling 
larger problems in SolrCloud and this one seemed generally useful and simple 
enough by itself that I opened the issue without giving the bigger picture. 
Some of the other pieces are captured in SOLR-2595

bq. Why are you deleting cores only to add them back again with the same config?

Hopefully SOLR-2595 will give you a better idea of what I was thinking. The 
use-case is to split and migrate pieces of an index and this issue will help in 
deleting the leftover temporary cores.

bq. Do you really think it's inconsistent to actually be able to delete 
something?
The inconsistency is to be able to delete a configuration file when there is no 
way to add it back but I'm not against the feature in general.

bq. Does it really seem like a weird use case to say, I want to delete a 
SolrCore I no longer have an interest in?
Absolutely not. If you want that feature, that's fine. You don't need 
permissions to put up a patch and commit it :)

bq. Looks like a few people have an interest in this issue, so I'm not sure why 
you rammed it in so quickly.

The issue clearly talks about deleting index on unload and that's what it does. 
And I got a +1 from you and Jason on the topic of the issue (or at least, 
that's what I assumed). I waited a day to commit - would you like me to wait 
longer for future issues or leave a comment to that effect? If the patch is not 
what you intended, go ahead and reopen/extend the scope of the issue or open 
another issue.

> Add an option to delete index through CoreAdmin UNLOAD action
> -------------------------------------------------------------
>
>                 Key: SOLR-2610
>                 URL: https://issues.apache.org/jira/browse/SOLR-2610
>             Project: Solr
>          Issue Type: Improvement
>          Components: multicore
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 3.3, 4.0
>
>         Attachments: SOLR-2610-branch3x.patch, SOLR-2610.patch
>
>
> Right now, one can unload a Solr Core but the index files are left behind and 
> consume disk space. We should have an option to delete the index when 
> unloading a core.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to