Below find a list of features and usage instructions:
|
|
How do I run the indexer?
Just click the following Index now
How frequently should I run the indexer?
Search results will be issued according to what the indexer found in your site the last time it was run. So, each time you make changes to your site's content (move around files, alter the text, descriptions, keywords or titles of documents, or add/remove documents) you have to run the indexer again so that the index that facilitates the searches reflects the updated version of your site.
How do I make the little box where the user type in keywords to make a search?
If you call the search script with your web browser it will return a page with this text box. This is for testing purposes, so that you can try out and see if it works. Use the 'view source' function of your browser to look at the html that creates this form. You can simply cut and paste the html within (and including) the form tags in the source of any of your pages, and it will do the job. To create your own form, the only parameter that the search program takes is called 'query'. Any form that calls ths script supplying this parameter will work.
Do I use POST or GET to call the script?
It works with both. Normally GET is a wise choice since it allows the user to bookmark the search results page, and users clicking on a result to go to one of your pages will show on the referer log and allow you to look at what kind of theings users search for. (the search terms will be in the URL) If you expect users to make considerably large queries (more than 200 characters long) you're better off using POST.
Example:
Including this on any of your pages would give you a search
input box.
<FORM method="POST" action="/cgi-bin/search.pl"> <INPUT type="text" name="query"> </FORM>
Install Notes:
We provide this superior freeware solution with
default settings we feel will meet the needs of 98% of the users, which means no
changes are needed for this to operate. We cannot offer support for custom
configurations, these will need to be done without our assistance. The location
of all the config files for customization are /cgi-bin/psearch The file
names are some what self explanatory.