Open ccandreva opened 3 years ago
when it called function "setDocumentInfo", it would throw a exception, and log to log.file.it's not a pretty way to handle it . hope author can change it.
apps->files_fulltextsearch->lib->Service->SearchService.php->improveSearchResult
The same error message now appears when a search is done in IOS client 4.4.x (which uses unified search) - breaking the search in the app completely. See #190
@ccandreva Does your searched file live in an external storage connected to your Nextcloud server?
@jacotec Yes, it's a cifs share.
OK ... so that is related. My issue #190 does also only occur if there is at least one result file on an external share.
From time to time I am getting the similar warning error, eg:
[files_fulltextsearch] Attention: Exception while improving searchresult: - trace: [{"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=%D0%A1%D0%BE&from=HIDDEN.pdf
The data resides in local storage.
I have a search that is returning an **Exception while improving search result" . Even though a result count is given, no results are displayed. I've narrowed it down to a small search that reproduces the problem.