Please follow these simple steps to quickly setup SearchUnit in a web application. If you have any questions at all please contact us at firstname.lastname@example.org
For MVC usage please see this tutorial
Step 1. Load/Create a project and add a page or webform.
Step 2. Create a new folder to store the index files;
Step 3. Open the Index Manager Tool from the Start Menu and enter the path to your index directory.
The Index Manager Tool can be found under the Start Menu;
Start Menu -> All Programs -> SearchUnit -> Index Manager Tool
Step 4. Select 'Import New Source', enter the start URL & click 'Import'.
If an error reports the page cannot be read, please check the URL or consult the user guide for help.
Once the import is complete close the Import window, select 'Optimize' and click 'Start Optimize'.
Step 5. Copy the SearchUnit scripts folder to your project;
Step 6. Add the SearchUnit JS and CSS tags to the head of your page.
To automatically add the tags, drag SearchUnit.js and SearchUnit.css from the Solution Explorer on to the page source. Alternatively copy and paste the tags as below to the head of your page.
<link href="Keyoti_SearchEngine_Web_Common/SearchUnit.css" rel="stylesheet" />
.NET 2 users must also add the following to all pages using SearchUnit (or set the variable from a common JS file).
Step 7. Add the SearchUnit divs to your page.
sew_searchBoxControl is the search text box and button.
sew_searchResultControl is the search result control.
Step 8. Run the web application (hit F5) and try a search!
Here a search was done for 'themselves'.
Now you're ready to explore more features in SearchUnit, please take a look at the 'Features' page in the help for more information on all that SearchUnit can do.