nextcloud / nextcloud/fulltextsearch
How to enable Elasticsearch to all the users (including non admin)
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 234
- Forks
- 64
- Avg merge
- 6h 18m
- Merged PRs (30d)
- 10
Description
Fresh install Nextcloud from 26.0.0 to 26.0.2 with Elasticsearch Version: 8.7.1.
All work well for the first 2 users with admin role.
Started to create few new users without admin role and discovered the UI search has no any result return.
Issue the following command to double confirm but still the same result.
sudo -u www-data php occ fulltextsearch:search "userxxx" xxxxxxx
search
Deck
Files
In the command of php occ filetextsearh:live, the elasticsearch seems to perform the indexing but always status is waiting
image
Kindly advise is the elasticsearch to allow install in Nextcloud only limit for certain number of users or any settings need to be applied. Thanks.
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
Start with the reported occ fulltextsearch:search and occ fulltextsearch:live commands, comparing results and indexing status for admin and non-admin users. Trace the Elasticsearch search and indexing behavior for those user roles; done means non-admin users receive expected search results and live indexing no longer remains waiting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, php
- Domain
- backend, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100