Nextcloud version (eg, 20.0.5): Nextcloud Hub 4 (26.0.4)
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.57
Steps to replicate it:
Add a Windows share to the nextcloud using “external storage” app (SMB).
then add files to the windows shared folder through windows file explorer (copy and paste)
then the added files are not indexed,we cant search by content etc.
Is there any way to notify the nextcloud about the new files added (without reindexing all the files again and again) I mean only the newly added files. so that they are added to the search index.
As far as I know not all things are triggered instantely but executed in intervals in the background. If you’re copying files to a folder by bypassing Nextcloud, you should execute the “occ files:scan” command on the console as described in many similar requests.
will only add the files to the nextcloud index (Means we can search only by file name)
I am trying to add the file content to the fulltext search index.
we can run
occ fulltextsearch:index
just after we run the occ files:scan but it seems it is indexing all the files in the data folders.
I am planning to deal with 1000s may be 10000s of pdfs…so any direction to address my issue ?