We regularly deal with files well over 16 meg in size. When we search for files in a directory containing even 1 or 2 files of this size using a single character in the SearchString property the program appears to loop and the Cancel method has no effect. We have no problem when searching for 2 or more characters in StringSearch property.
The problem seems to be with scanning large files (1 meg is ok, 16 meg is not) even if the character should be found near the front.
Is this explainable or possibly a bug?
Environment is Search Pack 2016.5 on C++ Builder Berlin 10.1. The problem also occurred in earlier versions of both.
Thank you.
Comments
This could probably be illustrated using your program and then searching for files with an "X".
The leads me to believe that the file search is locating all occurrences of the search string. For my purposes (listing all files containing the search argument at least once) I only need a single hit.
I can't find any properties to avoid this behavior. Am I misinterpreting how the TLMDSearchFileGrep component works?
Thank you again.