redmine_full_text_search icon indicating copy to clipboard operation
redmine_full_text_search copied to clipboard

Improve full_text_search:synchronize for Chupa Text searver change and down

Open ioio000 opened this issue 4 years ago • 4 comments

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.

ioio000 avatar Jul 07 '20 15:07 ioio000

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

kou avatar Jul 07 '20 20:07 kou

Yes, pretty much.

ioio000 avatar Jul 07 '20 22:07 ioio000

Workaround: bin/rails full_text_search:reload

kou avatar Jul 08 '20 00:07 kou

It worked with the bin/rails full_text_search:target:reload command. However, it takes a lot of time when there are many files.

ioio000 avatar Jul 08 '20 14:07 ioio000