Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (raymondcamden)
Created: 07/10/2014
Components: Text Search
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final / 2018.0.0.310739
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Platforms All
Vote Count: 3
If cfindex has errors when indexing files, it does not report this to the user. As an example, imagine you are indexing a folder of PDFs. 4 of them. One cannot have its text extracted due to a permissions setting. When you index the directory, the result structure will tell you 3 PDFs were added (or updated), and nothing else. The user has no idea what file didn't index or why. If you examine server.log you will see why.
While I *strongly* believe an exception should be thrown, if that is not the case, this is what should happen: The result struct should return an errors key. The errors key will be an array of errors where each element is a struct. One key is used for the filename (full path), and one for the exception object.
This key should always be returned. If no error was thrown the array will be empty.
Note - another example of this is when you index ONE file. The same result should happen in that case as well.
Also - ensure that if you try to index a file that does not exist, that an error is logged to the array as well.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3787621
Reason: NewBug
External Customer Info:
External Company:
External Customer Name: raymondcamden
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: