nextcloud / nextcloud/collectives
Full-text search not working with server-side encryption
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 195
- Forks
- 51
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 48
Description
Describe the bug
Full-text search seems to be broken when server-side encryption is enabled. The search request always returns an empty array (i.e. no results).
My suspicion is that indexing somehow is broken with encrypted Markdown files, but I didn't further look into it yet.
To Reproduce
Steps to reproduce the behavior:
- Enable server-side encryption
- Create a collective and a page with content
- Run
occ collectives:indexto index the page for full-text search - Search for a word that is part of the page content
- Watch the network request returning an empty array in
ocs.data.pages
Server details:
- Collectives app version: 4.4.2
- Nextcloud version: latest master (35)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with server-side encryption enabled, a collective page containing searchable text, and occ collectives:index; inspect the resulting ocs.data.pages response. Trace how encrypted Markdown content is indexed and searched, and confirm that searching for a word from the page returns the page instead of an empty array.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- search, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100