IntraSearch© |
by
Kaloian Gorolomov
|
IntraSearchAs web-site size and complexity grows, users find it harder and more time consuming to locate the information they are interested within a web site. That is why an increasing number of web sites support a search within their site. This program allows you include that feature within your site easily and without spending a lot of money on software. Some of the advantages of IntraSearch are:
IntraSearch is designed mainly for web sites with small to medium traffic. Sites attracting substantial number of hits should consider commercial solutions. Contents:
System RequirementsIntraSearch requires:
InstallationNote: IntraSearch includes both a servlet and a JSP versions. It's up to you which one you are going to use. Both are included in this package. Installation on a Tomcat Server
AdministrationIntraSearch includes a visual administration tool to help you tune the search process. Using the administrator you can also test how IntraSearch works or simply use it as a tool to locate text within a number of files without any regards to the web. The administrator is started by executing the IntraSearch script. The application window consists of main menu and two tabs: Site Settings and Search. Main MenuListed below are all items on the main menu and their functions:
Site Settings Tab
Use the Add Files button to add files to that list or simply drag and drop them in the list area. Using the Remove File button you can remove a file from that list. The Clear List button clears the list of all its content. The Up and Down buttons are used to manage the order in which the search will be performed. Although all results will be shown, you might choose to have some files search and listed (if the search string is found) before the others. The Update List button updates any changes you have made and writes them to the file listing the searchable files and their order. Until this button is pressed all changes are not valid. Some of these commands are also available from the main menu. By selecting Tools -> Preferences from the main menu you can set additional preferences:
Make sure that you press the Set button after editing the preferences. Pressing only OK will not save the changes. Search Tab
Two checkboxes allow you to customize your search. Ignore Case - Looks for the search string regardles of case. Whole Word - Reports the found search string only if it is a separate word. If you are looking for "but", and this checkbox is checked "button" will not be a match; if the checkbox is not checked it will. Try a search and if it works well move on to trying it trough the web. Point your browser to <server_host>:<server_port>/search, and try some search. You should get response similar to that: If you did, then IntraSearch is installed and set correctly. For future searches you may either direct your site visitors to the search page you used, or you will probably want to integrate a search area somewhere within your web pages. Embedding Search in the Web PagesTake a look at indexServlet.html and indexJSP.html. Choose whether you are going to work with servlets or JSP. Open the one you will be working with. Basically what is between the <form> tags needs to be added to your web page in the place that you wish to put it. Of course you can modify the look of the form components, just make sure that all are present, and the properties of the form and form objects are retained. If you don't want some of the checkboxes, I would think that you could change the type to hidden and the value to the one you wish to set it to. This should work, but I haven't tried it, so you are on your own here. Credits and SupportThe author of this program is Kaloian Gorolomov. I would welcome any suggestions for the improvement of IntraSearch as well as any information about bugs. As this is FREEWARE I cannot provide any support at this time unless you are willing to pay for it. I hope you find this program useful. e-mail: k_gorolomov@yahoo.com DisclaimerThis program is FREEWARE and you are using it at your own risk. The author cannot be responsible for any damages direct or otherwise resulting from the use of this software. |