|
SingleSearch Tips
There are several benefits to using SingleSearch mode: above all, Searchlight only has to make one Internet connection to retrieve its data rather than making a new connection for every file to be searched, which gives a great saving in time.
The two negative aspects to this option are: (1) You'll essentially be uploading two copies of your pages to the web server - the page itself, and the copy in the SingleSearch file. Since these files are only plain text the sizes are pretty small, of course. (2) If you update an HTML file that's supposed to be searchable, you might also need to update the copy in the SingleSearch file (if the changes have an impact on what a search of that document will produce).
Now two tips to counter those negatives:
We've created two frames here, but one takes 100% of the window area, leaving 0% for the other. Nevertheless, the browser happily loads your SingleSearch file into this frame, although no-one can tell it's there. And, of course, in doing this it's caching the SingleSearch file in case it's needed again.
If you already have a frameset page, adding an extra invisible frame is just as easy. Just make sure that the specified frame percentages add up to 100%, then add a comma and asterisk to create one more frame, plus a <FRAME> tag in the correct position to specify the name and source file of this hidden frame.
|