redmine_full_text_search
redmine_full_text_search copied to clipboard
Improve full_text_search:synchronize for Chupa Text searver change and down
I ran the sync after setting the Chupa Text Server URL, but I had the same issue as Issue #92. I couldn't search in doc, xls, pdf, eml files. The newly added file will be searched. Also, files attached while Chupa Text Server was stopped were not included in the search even after synchronization after startup. production.log
Environment:
bitnami-redmine-4.1.1-2-windows-x64
mariadb-10.4.12-with-mroonga-10.02-winx64
full_text_search 1.0.4
chupa-text-docker on Ubuntu 20.04 LTS
Added gem "chupa-text-decomposer-mail"
to Gemfile.local file.
Do you want to say the followings?
-
full_text_search:synchronize
doesn't detect Chupa Text server URL change- It should run re-text-extraction against attachments that are already processed before Chupa Text server URL change
-
full_text_search:synchronize
doesn't care about text-extraction error by Chupa Text server down- It should run re-text-extraction against attachments that are failed by Chupa Text server down
Yes, pretty much.
Workaround: bin/rails full_text_search:reload
It worked with the bin/rails full_text_search:target:reload
command.
However, it takes a lot of time when there are many files.