nextcloud / nextcloud/fulltextsearch

fulltextsearch does not find files in federated shares

Open
#400 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
Dominant language
PHP
Stars
234
Forks
64
Avg merge
6h 18m
Merged PRs (30d)
10

Description

cloud 1: general cloud with user files containing folders with 20 k files. fulltextsearch enabled.
cloud 2: general cloud on a separate nextcloud instance with public files. fulltextsearch apps disabled.
cloud 3 to 13: user clouds. Each user has a separate account and is member to group called "generic".

Folders in cloud 1 and cloud 2 are shared to the "generic" group (using the federation feature of Nextcloud) and visible to users.

Files are fully searchable by logging in as a cloud 1 or 2 account but could not be found in user clouds. Interestingly, files in the main folder of the shares were found but not in subfolders. Re-indexing doesn't help.

I am not sure if this is related to #250 and that is why I opened a new issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with federated shares from cloud 1 and cloud 2, comparing searches from those accounts with searches from the user clouds. Check whether re-indexing includes files in nested shared folders, since only files in the shares' main folders are found. Done means files in subfolders of federated shares are returned by fulltextsearch from user clouds.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.