nextcloud / fulltextsearch_elasticsearch

🔍 Use Elasticsearch to index the content of your Nextcloud
https://apps.nextcloud.com/apps/fulltextsearch_elasticsearch
GNU Affero General Public License v3.0
81 stars 30 forks source link

Files uploaded to a share are not indexed #188

Open mlsxlist opened 2 years ago

mlsxlist commented 2 years ago

Nextcloud version (eg, 20.0.5): 23.0.4 Operating system and version (eg, Ubuntu 20.04): Debian 11 Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.53 (Debian) PHP version (eg, 7.4): 7.4.28

When uploading a file to a user share, the file is not indexed using elastic search. Whereas when I upload the file to the same folder that I shared using the Files app indexing works.

Is this the first time you’ve seen this error? (Y/N): Yes Steps to replicate it:

-Share a folder -Upload a file A.txt with text AAA to this share -search for text AAA. Nextcloud search returns No results for AAA -Upload a file B.txt with text BBB with the Files app to the same folder -search for BBB. Nextcloud returns B.txt

So the indexing seems only to work for normal uploads to Nextcloud folders not to Nextcloud shares

ArtificialOwl commented 2 years ago

if you run ./occ fulltextsearch:live while doing your upload/shares, do you see anything happens ?