I recently installed all the Full Text Search apps and I am delighted to see that it has fine grain options that the old Nextant didn’t have.
The only thing I don’t understand is the Live Indexing option. If I don’t activate it, will Full text search index new files? Or you have to run the ```
/occ fulltextsearch:index
No, you don’t. occ fulltextsearch:index would crawl your whole file base again.
If files are uploaded or changed they will be ‘registered’ as some kind of ‘to be indexed’, and the next cron job will index them.
occ fulltextsearch:live is meant for very busy sites where the cron interval is too long (a lot of changed files would be accumulated in 15 minutes). This is a permanently running job that acts immediately when a file is changed or uploaded. On a rather small instance you certainly don’t need it, or you could even shorten the cron interval. On my private site with 5 users, i have set the cron interval to one minute without any negative impact.
It appears in the latest Nextcloud docker container (ver 17) the cron.php doesn’t manage this. I have to run a host level fulltextsearch:live service (systemctl) on the host OS or cron job on the host OS that runs fulltextsearch:index. I am doing the former as that seems the most efficient. Most other posts in the forum seem to make the assumption the cronjob will manage this.
same here when i upload a new file wait for one hour and search for the file with the search function it does not detect the file.
But once I run the “occ fulltextsearch:live” command directly it does detect the file and I can find it with the search fuction.
NC 19.
Does someone else has this problem?
I’d like to share my solution to that. I make use of a separate container taking care of cron type jobs. That way I neither have to hack around with my docker host nor do I have to build my own hacky nextcloud image with cron stuff.