Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error attempting to run -delete-all on indexes #85

Closed
jordanpadams opened this issue Apr 24, 2024 · 1 comment
Closed

Error attempting to run -delete-all on indexes #85

jordanpadams opened this issue Apr 24, 2024 · 1 comment
Assignees
Labels
B14.1 i&t.skip Skip I&T of this task/ticket task

Comments

@jordanpadams
Copy link
Member

💡 Description

This index does not matter, is not used by anything, and does not work properly.

⚔️ Parent Epic / Related Tickets

No response

@jordanpadams jordanpadams added B15.0 i&t.skip Skip I&T of this task/ticket task labels Apr 24, 2024
@jordanpadams jordanpadams changed the title Remove references to registry index Remove functionality and references to registry index Apr 24, 2024
@jordanpadams jordanpadams self-assigned this Apr 24, 2024
@jordanpadams jordanpadams added B14.1 and removed B15.0 labels Apr 24, 2024
@jordanpadams jordanpadams changed the title Remove functionality and references to registry index Error attempting to run -delete-all on indexes Apr 24, 2024
@jordanpadams
Copy link
Member Author

Workaround added to procedures using curl:

Delete all:

curl -X POST -H 'Content-Type: application/json' --data-binary '{"delete":{"query":"*:*" }}' 'http://localhost:8983/solr/data/update?commit=true'

or delete a package:

curl -X POST -H 'Content-Type: application/json' --data-binary '{"delete":{"query":"package_id:80a1d82c-3c07-4d9d-9be8-85fcbf99473e" }}' '[http://localhost:8983/solr/data/update?commit=true'](http://localhost:8983/solr/data/update?commit=true%27)

@jordanpadams jordanpadams transferred this issue from nasa-pds-engineering-node/registry-mgr-legacy Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B14.1 i&t.skip Skip I&T of this task/ticket task
Projects
No open projects
Status: 🏁 Done
Development

No branches or pull requests

1 participant