Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searching group-shared folder (recursive update of shares metadata on a folder) #282

Closed
matsewe opened this issue Feb 20, 2018 · 6 comments

Comments

@matsewe
Copy link

matsewe commented Feb 20, 2018

This issue is somewhat similar to #250, however I didn't find an answer to this question:

If I create a folder and share it to a group (not using the GroupFolders plugin), it is not possible for other users in this group to search this folder, because to groups field in the elastic search record is empty. I guess this has to do with nextcloud/files_fulltextsearch@079e9bd? So, just one question: Is this the expected behavior?

@ArtificialOwl
Copy link
Member

After you share the file, you will need to wait for the cron to update some metadata (shares) in the index. You can force this re-index manualy:

./occ fulltextsearch:index

Or you can update this metadata in 'live' running this command in a screen session:

./occ fulltextsearch:live

@matsewe
Copy link
Author

matsewe commented Feb 21, 2018

Thank you for this tip. However, this seems to work only for single files. Files inside a folder shared to some group are still indexed with an empty groups attribute.

@ArtificialOwl
Copy link
Member

interesting report, thanks !

@ArtificialOwl ArtificialOwl changed the title Searching group-shared folder Searching group-shared folder (recursive update of shares metadata on a folder) Feb 21, 2018
@martinpetermichael
Copy link

Would be great to have this feature working!

@ArtificialOwl
Copy link
Member

Please test with 0.7

@ArtificialOwl
Copy link
Member

Please re-open if not fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants