It is displayed to the user if a match is found. When Searchlight performs a search, it reads through the configuration file. For each data record it reads the specified file looking for the required match. When a match is found, it closes the file and reads the next configuration data record. As Searchlight runs on the client system, in the browser, searching many and large files is likely to require a lot of network traffic.
Careful configuration is required to keep the traffic to a minimum.
Its unlikely that you need to search an HTML file that assists in downloading other files. If you have a large file, consider copying the key words into an index file . This will make searching a lot quicker. Keep files small by eliminating unnecessary white space and comments. If you have divided your site into several sub-sites you can specify a unique configuration for each of them.