nextcloud / files_fulltextsearch

🔍 Index the content of your files
GNU Affero General Public License v3.0
58 stars 30 forks source link

Everytime I search I am getting a Warning: Exception while improving searchresult #248

Open ostasevych opened 9 months ago

ostasevych commented 9 months ago

Hi! Everytime I am performing the search operation I see in the logs the warning messages: Eg, if I search "dir", I am getting:

[{"file":"\/var\/www\/html\/nextcloud\/apps\/files_fulltextsearch\/lib\/Service\/SearchService.php","line":272,"function":"getFileFromId","class":"OCA\\Files_FullTextSearch\\Service\\FilesService","type":"->"},{"file":"\/var\/www\/html\/nextcloud\/apps\/files_fulltextsearch\/lib\/Service\/SearchService.php","line":232,"function":"setDocumentInfo","class":"OCA\\Files_FullTextSearch\\Service\\SearchService","type":"->"},{"file":"\/var\/www\/html\/nextcloud\/apps\/files_fulltextsearch\/lib\/Provider\/FilesProvider.php","line":359,"function":"improveSearchResult","class":"OCA\\Files_FullTextSearch\\Service\\SearchService","type":"->"},{"file":"\/var\/www\/html\/nextcloud\/apps\/fulltextsearch\/lib\/Service\/SearchService.php","line":203,"function":"improveSearchResult","class":"OCA\\Files_FullTextSearch\\Provider\\FilesProvider","type":"->"},{"file":"\/var\/www\/html\/nextcloud\/apps\/fulltextsearch\/lib\/Service\/SearchService.php","line":166,"function":"searchFromProviders","class":"OCA\\FullTextSearch\\Service\\SearchService","type":"->"},{"file":"\/var\/www\/html\/nextcloud\/apps\/fulltextsearch\/lib\/Search\/UnifiedSearchProvider.php","line":139,"function":"search","class":"OCA\\FullTextSearch\\Service\\SearchService","type":"->"},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/Search\/SearchComposer.php","line":159,"function":"search","class":"OCA\\FullTextSearch\\Search\\UnifiedSearchProvider","type":"->"},{"file":"\/var\/www\/html\/nextcloud\/core\/Controller\/UnifiedSearchController.php","line":101,"function":"search","class":"OC\\Search\\SearchComposer","type":"->"},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":230,"function":"search","class":"OC\\Core\\Controller\\UnifiedSearchController","type":"->"},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/AppFramework\/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"\/var\/www\/html\/nextcloud\/lib\/private\/Route\/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"\/var\/www\/html\/nextcloud\/ocs\/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"\/var\/www\/html\/nextcloud\/ocs\/v2.php","line":23,"args":["\/var\/www\/html\/nextcloud\/ocs\/v1.php"],"function":"require_once"}]

GET /ocs/v2.php/search/providers/fulltextsearch/search?term=dir&cursor=10

What does it stand for? Why is it shown?

arnowelzel commented 8 months ago

I believe this an issue with the update to Nextcloud 28. I also got this since I upgrade to Nextcloud 28 (along with other warnings as well)