nextcloud / nextcloud/fulltextsearch
Search is globally deactivated until index-process has finished
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 234
- Forks
- 64
- Avg merge
- 6h 18m
- Merged PRs (30d)
- 10
Description
It's ok that the standard-search appears out of the box until the index-process finished. But when I activate navigation-icon, an app appears, this shows the elastic-search but the search is blocked until the index-process is ready and inserts
update oc_appconfig set configvalue='{"files":"0"}' where appid='fulltextsearch' and configkey='provider_indexed';
into the database. I use this "workaround" but I think a checkbox like "force-elasticsearch" in the admin-menu can clarify this issue and help with very big instances.
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 behavior with navigation-icon enabled while the index process is unfinished, then inspect the admin menu and the fulltextsearch configuration represented by provider_indexed. Determine how a force-elasticsearch option should affect search availability and confirm that the setting works without the database workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, php
- Domain
- backend, search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100