2. Getting Started
Suppose you need to index the site http://www.mysite1.com, which is on the local disk in the directory C:\web\mysite1. It can be done easily by following the steps below.
Start Cronc Search Expert. At the first startup, the file YourSiteName1 with current indexing options is created. You can have such file with its own options for every of your sites.
To begin with, rename this file to MySite1 by choosing the File/Select Options File menu item or clicking the button.
In the Select Active Options window that appears click the Rename button and set a new name MySite1. From now on, the MySite1 file with its options becomes active. Next time when you want to re-index C:\web\mysite1, just choose this file with its options using the File/Select Options File menu. Now set your indexing options. Choose File/Edit Options File from the menu (or click the button). This will bring up the MySite1 - Edit Active Options window.
On the Links tab change http://www.yoursitename1.com/ to the URL of your site http://www.mysite1.com/ and use the Replace root path of your site... edit box to specify the location of your site root on the local disk, for example, C:\web\mysite1\.
Open the Files tab and edit types (i.e. extensions) of the files, which will be indexed. Non-HTML files' extensions are set separately in the Non-HTML type edit box. Plain text, DOC, RTF and PDF formats are supported. Here you can also specify the files and directories that must not be indexed. For example, if you keep Search Engine files in the C:\web\mysite1\search directory, exclude this directory from directories to be indexed by clicking the button. The button does not delete files from the disk, but deletes them from this list only. You can select multiple files by holding the Ctrl key.
On the Search tab set tags, from which the search words will be chosen. If you also want to index the text of HTML documents outside of tags, mark the Index whole text checkbox (available in registered version only).
Here you can also specify the maximum length of words that must be added to the base of the search words and pdf files options.
Open the Output tab. Specify the directory, where the Cronc Search Expert will write files for search, and the starting search file, which is usually called search.html. By default they are stored in the Out subfolder of the Cronc Search Expert working folder. It is recommended to create the C:\web\mysite1\search directory for storing these files.
Click OK to save changes.
To start indexing a site, choose Actions/Add Folder menu item or click the button and set the C:\web\mysite1 directory. After a while depending on the number and size of the indexed files, Cronc Search Expert will finish indexing your site. Local addresses, Titles, Descriptions and Keywords (i.e. search words) of all indexed files will be stored in a table. Now you can remove the files you do not want to index, from the list by selecting them and pressing the Del key. You can also edit the information in the Title, Description and Keywords fields (it will also be stored in the database). Double-click the corresponding line of the table to do that. Do not forget to separate keywords with commas.
Editing will not change your documents! After that create a Search Engine using the File/Make Index File menu item or the button. Name the starting search file search.html. It is now time to check how your search system works. Choose File/Run Index File or click the Run Index File button. After the start, the Search Engine activates the request form. Enter any search words. You may look them up in the main Cronc Search Expert window by double-clicking any line of the table. You will immediately receive the list of the documents containing them. Your users will get them just as fast.
Now you only have to upload the files created by Cronc Search Expert from the directory C:\web\mysite1\search to the Search directory of your server and the Search menu of your site www.mysite1.com and to make a link to the starting search file http://www.mysite1.com/search/search.html. It will look something like this: <a href="http://www.mysite1.com/search/search.html">Site Search</a>.
You can also add to the index.html page a search form that will redirect requests to search.html. The code for this form may look something like this:
<form name="search" method="get"
<table border="0" cellspacing="0" cellpadding="8">
<input type="text" name="query" size="20">
<input type="submit" value="Search">
Here you only have to set correct names for the search file action="search/search.html" and edit box name="query". Everything else is up to you.
You can upload the files created by Cronc Search Expert using any FTP client.
Should you make considerable changes to your site, you can index it again as described above. Otherwise you can use the Load Index File menu option (or click the button) and index only new and changed files.
You can very easily reindex all files of the current project which were renewed. To accomplish this click the button and enter the date & time of files modified.
Replace Index Array: This function allows you to update the index file, without modifying any of the layout changes you may have made to your search page.