open-semantic-search icon indicating copy to clipboard operation
open-semantic-search copied to clipboard

OSSD - how to stop auto indexing

Open rafael844 opened this issue 5 years ago • 5 comments

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.

rafael844 avatar Nov 05 '18 00:11 rafael844

I am also having the same issue.

@rafael844 , did you find any solution?

swagat123 avatar Mar 24 '19 05:03 swagat123

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.

starsnpixel avatar May 22 '19 07:05 starsnpixel

tried it but didnt work.

rafael844 avatar Aug 16 '19 13:08 rafael844

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?

rafael844 avatar Aug 16 '19 18:08 rafael844

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

mmoossen avatar Nov 01 '21 08:11 mmoossen