#55355Check if file exists before outputing
Description
Hello there,
it often happens in bigger systems, that folder structures and filenames change or are deleted on a regular basis. In both cases there is no way to communicate this properly to indexed search (since these changes might happen through the system directly without using TYPO3).
This leads to errornous results in the indexed search and is really frustrating for users and clients.
To avoid this, I figured that you could simply check if the file exists while creating the results array in class.tx_indexedsearch.php like this:
file: typo3/sysext/indexed_search/pi/class.tx_indexedsearch.php
TYPO3 Version: 4.5.27
Begins: line 606
if($row['data_filename'] != '' && !file_exists(PATH_site . $row['data_filename'])) {
$count--;
continue;
}Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.