nextcloud / nextcloud/fulltextsearch
NC20 Unified Search: produces exception in UnifiedSearchProvider
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 234
- Forks
- 64
- Avg merge
- 6h 18m
- Merged PRs (30d)
- 10
Description
Hy everyone!
Having issues with Fulltextsearch on Nextcloud20.0.1
When entering search terms in Nextcloud 20 unified search, no results from fulltextsearch. But 2 Exceptions in Nextcloud log.
"Message":"Undefined offset: 1(and 2) at /var/www/nextcloud/apps/fulltextsearch/lib/Search/UnifiedSearchProvider.php#158"


When entering the same search term in the "normal" Fulltextsearch result is shown and no error in Nextcloud log.

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 in apps/fulltextsearch/lib/Search/UnifiedSearchProvider.php at line 158 and reproduce the reported search in Nextcloud 20.0.1 using Unified Search, then compare it with the normal Fulltextsearch result. Done means the unified search returns the full-text result without the reported undefined-offset exceptions in the Nextcloud log.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100