TIBHannover / ols4

TIB's Ontology Lookup Service 4 (OLS4) Fork
http://www.ebi.ac.uk/ols4/
Apache License 2.0
2 stars 0 forks source link

Remove Search Indexes from Solr #13

Closed giraygi closed 2 months ago

giraygi commented 4 months ago

Is your feature request related to a problem? Please describe. It should be possible to remove ontologies from the service. It is possible to remove the entities of an ontology from the graph database but it is not possible to remove the search indexes from solr.

Describe the solution you'd like A java module or a solr call that will remove solr documents based on the ontology prefix will be implemented. The ontology prefixes are available on the id field of all solr documents as a starter string. The documents with ids that match this starter string will be deleted.

Describe alternatives you've considered This feature may alternatively be implemented by a java module or some solr calls or queries from Solr UI.