The Bare Minimum
The components in the example below are mandatory for making your search interface work.
ACCOUNT_NUMBER and SEARCH_SERVER should be
replaced with values specific to your account
(which can be found on the Account Home page after you login).
-
<form method="get" action="http://SEARCH_SERVER/exec/search">
<input type="text" size="25" name="q">
<input type="hidden" name="a" value="ACCOUNT_NUMBER">
<input type="submit" value="Search">
</form>
Enhancements
Search Box and Button
The input size may be changed in order to vary the length of the search box.
The input value may also be changed to other text, such as "Find" or "Go!", or replaced with
an image. Images must be specified by a full URL starting with http://
Query Type
The query type indicates how the search terms entered by the user should be handled.
There are two query types: raw and boolean. 'Raw' means that all words entered
in the search interface will be searched for. Whereas, 'Boolean' means that the words "or", "and",
and "not" will be interpreted as qualifiers for how to handle the search terms.
The Spiderline query default is "Boolean". To specify a query type you may add one of the following
to your search interface form:
<input type="hidden" name="t" value="raw">
OR
<input type="hidden" name="t" value="boolean">
Boolean Setting
The boolean setting indicates whether the search terms are looked for together or separately. There are two
boolean types: AND and OR. 'AND' denotes that all search words must be contained in a matching
document. 'OR' means that matching documents contain at least one of the search words.
The Spiderline boolean default is "AND". To specify a boolean type you may add one of the following
to your search interface form:
<input type="hidden" name="b" value="AND">
OR
<input type="hidden" name="b" value="OR">
| Spiderline Defaults |
 |
| Type of Query: Boolean |
 |
| Boolean Default: AND |
|
*NOTE A boolean default may be specified with either query type.
Categories
You may want to split it into separate search categories to refine results further. To do this,
fill in the Categories field on the URL Page. You will also need to
make additions to the search interface. This should be done on both the search interface in
your website's HTML and the search interface that will be displayed on the results page.
Example:
In the URL Categories field:
 |
CATEGORY0 "Entire Website"
CATEGORY1 "Section 1"
http://www.mydomain.com/sect1/ INCLUDE
CATEGORY2 "Section2"
http://www.mydomain.com/sect2/ INCLUDE
CATEGORY3 "Section 3"
http://www.mydomain.com/sect3/ INCLUDE
|
In the website HTML:
 |
<form method="get" action="http://www.spiderline.com/exec/search">
<input type="text" size="25" name="q">
<input type="hidden" name="a" value="account_number">
<select name="c">
<option value="0"> Entire Website
<option value="1"> Section 1
<option value="2"> Section 2
<option value="3"> Section 3
</select>
<input type="submit" value="Search">
</form>
|
In the Search Results and No Match Page Templates:
 |
<form method="get" action="$(ACTION_URL)">
<input type="text" size="25" name="q" value="$(QUERY)">
<input type="hidden" name="a" value="$(ACCOUNT)">
$(FORM_CATEGORIES)
<input type="submit" value="Search">
</form>
|