You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an easy way to remove an uploaded ontology?
Right now, I am following these steps:
Go to /etc/opensemanticsearch/facets and remove the config['facets'] line corresponding to the uploaded ontology's facets.
Empty /etc/opensemanticsearch/ocr/dictionary.txt
Remove the ontology from /var/opensemanticsearch/ontologies
Remove all files in /var/solr/data/opensemanticsearch-entities/data/ and then restart solr with service solr restart (the opensemanticsearch-delete --empty command doesn't empty the opensemanticsearch-entities core).
However, this doesn't completely delete the ontology. On the web interface, if I go to "Manage structure" then use the "interface for ontologies and lists" , the uploaded ontology still appears on the list of "All Ontologies (Lists, Vocabularies, Dictionaries or Thesauri)". Do you have any advice on how to eliminate it?
Best regards,
Bassam
The text was updated successfully, but these errors were encountered:
I just realized that on the Django administration page, I can delete ontologies. I am not sure what it does exactly, but the uploaded ontology no longer appears on the list of "All Ontologies (Lists, Vocabularies, Dictionaries or Thesauri)" :)
Also, I've noticed that when I try to delete the plain text dictionaries from /var/solr/data/opensemanticsearch-entities/conf/entities, I get the following error:
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core opensemanticsearch-entities: Can't load schema /var/solr/data/opensemanticsearch-entities/conf/managed-schema: org.apache.solr.core.SolrResourceNotFoundException: Can't find resource 'entities/human_disease_ontology_xrdf_ss.txt' in classpath or '/var/solr/data/opensemanticsearch-entities'
So, I won't touch the entities folder hehe It's probably harmless to keep everything in it
Hi,
Is there an easy way to remove an uploaded ontology?
Right now, I am following these steps:
/etc/opensemanticsearch/facets
and remove theconfig['facets']
line corresponding to the uploaded ontology's facets./etc/opensemanticsearch/ocr/dictionary.txt
/var/opensemanticsearch/ontologies
/var/solr/data/opensemanticsearch-entities/data/
and then restart solr withservice solr restart
(theopensemanticsearch-delete --empty
command doesn't empty the opensemanticsearch-entities core).However, this doesn't completely delete the ontology. On the web interface, if I go to "Manage structure" then use the "interface for ontologies and lists" , the uploaded ontology still appears on the list of "All Ontologies (Lists, Vocabularies, Dictionaries or Thesauri)". Do you have any advice on how to eliminate it?
Best regards,
Bassam
The text was updated successfully, but these errors were encountered: