[ 
https://issues.apache.org/jira/browse/SOLR-13023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cassandra Targett reassigned SOLR-13023:
----------------------------------------

    Assignee: Cassandra Targett

> No clear guidance on how to delete jar from .system collection
> --------------------------------------------------------------
>
>                 Key: SOLR-13023
>                 URL: https://issues.apache.org/jira/browse/SOLR-13023
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: blobstore, documentation
>    Affects Versions: 7.5
>            Reporter: William
>            Assignee: Cassandra Targett
>            Priority: Major
>             Fix For: 7.6, master (8.0)
>
>
> There is no clear guidance on how to actually delete a JAR that was placed in 
> the .system collection. I have literally tried every command under the sun 
> even the ones provided in support. Can someone please tell me how to actually 
> do a proper delete. All I can seem to do is just add new ones.
>  
> {code:java}
> curl -X POST -H 'Content-Type: application/json' 
> 'https://solr.cloud.statcan.ca/solr/.system/' --data-binary '{"delete": 
> {"id":"jtds131"}}'
> curl -X POST -H 'Content-Type: application/json' 
> 'https://solr.cloud.statcan.ca/solr/ndm_test/update' --data-binary '{
> "delete": { "id":"jtds131/1" }
> }'
> curl -X DELETE -H 'Content-Type: application/json' 
> 'https://solr.cloud.statcan.ca/solr/.system/blob/jtds131' {code}
>  
> I just want to delete any of the following:
>  
> {code:java}
> curl https://solr.cloud.statcan.ca/solr/.system/blob\?omitHeader\=true 
> (docker-for-desktop/default)
> {
> "response":{"numFound":20,"start":0,"docs":[
> {
> "id":"jtds131/7",
> "md5":"dd0041fbc51b53613db675520bb1521e",
> "blobName":"jtds131",
> "version":7,
> "timestamp":"2018-11-29T15:16:57.079Z",
> "size":35},
> {
> "id":"jtds131/6",
> "md5":"e45bd303ff39f7daa7a57941b1ff0b85",
> "blobName":"jtds131",
> "version":6,
> "timestamp":"2018-11-29T15:13:20.375Z",
> "size":34},
> {
> "id":"jtds131/5",
> "md5":"4f2e52b6058950bf92a61ff64f747091",
> "blobName":"jtds131",
> "version":5,
> "timestamp":"2018-11-29T15:12:17.120Z",
> "size":36},
> {
> "id":"jtds131/4",
> "md5":"36cf4127af583553605f69c728bff016",
> "blobName":"jtds131",
> "version":4,
> "timestamp":"2018-11-29T15:11:22.136Z",
> "size":30},
> {
> "id":"jtds131/3",
> "md5":"3db86deb7b7f6b1fa1b9fa81b690e68c",
> "blobName":"jtds131",
> "version":3,
> "timestamp":"2018-11-29T15:09:38.075Z",
> "size":28},
> {
> "id":"ojdbc/3",
> "md5":"1ce62f6f367c356671791e4b29506196",
> "blobName":"ojdbc",
> "version":3,
> "timestamp":"2018-11-29T14:45:47.213Z",
> "size":24},
> {
> "id":"jtds131/2",
> "md5":"cac877bfcbd4cc5d4adc04497df81ab",
> "blobName":"jtds131",
> "version":2,
> "timestamp":"2018-11-29T15:08:01.273Z",
> "size":25},
> {
> "id":"ojdbc/2",
> "md5":"a65fc757841c108339744156717b403f",
> "blobName":"ojdbc",
> "version":2,
> "timestamp":"2018-11-29T14:33:22.048Z",
> "size":24},
> {
> "id":"ndm_test/2",
> "md5":"83c579317606eca7d06418cf83a2c0d0",
> "blobName":"ndm_test",
> "version":2,
> "timestamp":"2018-11-29T15:45:24.267Z",
> "size":26},
> {
> "id":"jtds131/1",
> "md5":"499eb508a21e312d3bb9aec337eb38b7",
> "blobName":"jtds131",
> "version":1,
> "timestamp":"2018-11-28T20:11:44.533Z",
> "size":317816}]
> }}{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to