NC20 Unified Search: produces exception in UnifiedSearchProvider
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.

I am facing a similar issue. I also see results only in the fulltext search and not in the unified search.
-
occ fulltextsearch:testruns successful - I don't see anything in the log
Since I haven't used full text search before NC20 it might be a configuration issue? Is there anything I need to configure for the unified search to use full text search?
Same problem as OP here. with 20.0.6
I had the same issue with NC20.0.7 and fulltextsearch 20.0.0.
My workaround is to modify UnifiedSearchProvider.php as follows:
diff UnifiedSearchProvider.php.org UnifiedSearchProvider.php
158c158
< list($app, $controller, $method) = explode('.', $query->getRoute());
---
> $app = 'files';
I found $query->getRoute() returns empty string, and modified the code to directly set a value to $app. This is a dirty hack, but anyway it works for me.