opensemanticsearch / open-semantic-search-apps

Python/Django based webapps and web user interfaces for search, structure (meta data management like thesaurus, ontologies, annotations and named entities) and data import (ETL like text extraction, OCR and crawling filesystems or websites)
https://opensemanticsearch.org/
GNU General Public License v3.0
95 stars 37 forks source link

Can't delete directories in files/datasources #32

Closed mosea3 closed 4 years ago

mosea3 commented 6 years ago

Hi As I never remove datasources I may never have noticed, that there is a delete/remove button missing?

Apparently its not defined anywhere.

dregula commented 6 years ago

Same problem here. Was fooling around with search-apps/crawler/, adding various trivial websites, which showed-up nicely on the datasources/Websites tab. Each website has three buttons: Index-Now, Details, and Edit-Settings. I can;t seem to find a way to simply Delete that "website for indexing". (opensemanticsearch-delete --empty didn;t seem to do the trick ;-) Thanks!

networkadminuser commented 6 years ago

Same issue for me, this is still a concern, I still can't find a command line way to delete them cleanly either. Any help would be appreciated.

mosea3 commented 6 years ago

Hi

I think its time for me to get into this. Directories to be indexed are stored in a sqlite database. So you could manually remove it.

I‘ll try to adapt the model and controller to enable deletion and get back with a merge request for Markus to check.

Best regards from switzerland.

Andy Moser Student der Medizininformatik BFH Étudiant en informatique médicale HESB BFH | TI | Medizininformatik, Biel Höheweg 18 2501 Biel

Von meinem Smartphone gesendet

Am 29.08.2018 um 13:13 schrieb networkadminuser notifications@github.com:

Same issue for me, this is still a concern, I still can't find a command line way to delete them cleanly either. Any help would be appreciated.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Mandalka commented 4 years ago

Implemented a "Delete" link in the apps list view, so no need anymore to use the Django admin ui to delete entries.