Skip to content

Commit

Permalink
minor doc changes #3437
Browse files Browse the repository at this point in the history
  • Loading branch information
landreev committed Jan 11, 2024
1 parent 7e30c4a commit a833e16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/release-notes/3437-new-index-api-added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(this API was added as a side feature of the pr #10222. the main point of the pr was an improvement in the OAI set housekeeping logic, I believe it's too obscure part of the system to warrant a relase note by itself. but the new API below needs to be announced).

A new Index API endpoint has been added allowing an admin to clear an individual dataset from Solr.

2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/admin/solr-search-index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ To re-index a dataset by its database ID:
Clearing a Dataset from Solr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This API will clear the Solr entry for the dataset specified. It can be useful if you have reasons to stop showing a published dataset in search results and/or on Collection pages, but don't want to destroy and purge it from the database just yet.
This API will clear the Solr entry for the dataset specified. It can be useful if you have reasons to want to hide a published dataset from showing in search results and/or on Collection pages, but don't want to destroy and purge it from the database just yet.

``curl -X DELETE http://localhost:8080/api/admin/index/datasets/<DATABASE_ID>``

Expand Down

0 comments on commit a833e16

Please sign in to comment.