opensemanticsearch / open-semantic-search

Open Source research tool to search, browse, analyze and explore large document collections by Semantic Search Engine and Open Source Text Mining & Text Analytics platform (Integrates ETL for document processing, OCR for images & PDF, named entity recognition for persons, organizations & locations, metadata management by thesaurus & ontologies, search user interface & search apps for fulltext search, faceted search & knowledge graph)
https://opensemanticsearch.org
GNU General Public License v3.0
962 stars 169 forks source link

OSSD - how to stop auto indexing #137

Open rafael844 opened 5 years ago

rafael844 commented 5 years ago

How do I stop auto-indexing in VM OSS Desktop? Im trying to empty the index (opensemanticsearch-delete -- empty) but it keeps indexing my shared folder again. I want to index it by command line but it keeps auto-indexing.

tried "opensemanticsearch-filemonitoring stop" but didnt work.

swagat123 commented 5 years ago

I am also having the same issue.

@rafael844 , did you find any solution?

starsnpixel commented 5 years ago

I just saw your question. Maybe it helps to remove the folder's path from /etc/opensemanticsearch/filemonitoring/files if you haven't done so already.

rafael844 commented 5 years ago

tried it but didnt work.

rafael844 commented 5 years ago

Im tryig to stop indexing the Documents Foler. I shared with VM folder BBB. Its is set in /home/user/Documents/BBB But I want to index only few folders inside it. /home/user/Documents/BBB/1, /home/user/Documents/BBB/4... etc. But everytime I start solr, it indexes everything in /home/user/Documents/.

I tried to clean /etc/opensemanticsearch/filemonitoring
comment # the /usr/bin/open-semantic-desktop-search (#nice -n 19 /usr/bin/opensemanticsearch_index_dir_zenity_foreground /home/user/Documents)
commnet the code inside opensemanticsearch_index_dir_zenity and opensemanticsearch_index_dir_zenity_foreground.
But it keeps indexing all Documetns Folder.
What should I do?
mmoossen commented 2 years ago

You can see the number of files in the queue with: rabbitmqctl -n rabbit@search list_queues and empty the queue with: rabbitmqctl -n rabbit@search purge_queue open_semantic_etl_tasks

and only after that do: opensemanticsearch-delete -- empty