The following example shows a basic query form:
To create a basic query form as in the example<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd"> <HTML> <HEAD> <TITLE>Index Server Search Form</TITLE> </HEAD> <BODY> <FORM ACTION="ixtourqy.idq" METHOD="GET"> Search for: <INPUT TYPE="TEXT" NAME="CiRestriction" SIZE="30" MAXLENGTH="100" VALUE=""> <INPUT TYPE="SUBMIT" VALUE="Execute Query"> <INPUT TYPE="RESET" VALUE="Clear"> </FORM> </BODY> </HTML>
The two most important lines of HTML code are:
When the Execute Query button is clicked, the data in the text field is sent to IIS and processed. IIS finds the specified .idq file and passes the query data (cache in the example) and the .idq file to Index Server. To learn how to construct complex queries, see Query Language.