Previous Page: Understanding Templates  Next Page: Exploring the Default Search and Print Templates

How Templates Work

As defined above, a template is an HTML document containing one or more Web Search Server variables. When a user searches your Web Search Server collection, they use a Web browser to access the search form template. NetWare Web Search Server includes a search form template. See The NetWare Web Search Form as it Appears in a Web Browser .

TOOL TIP The Search form template, SearchTemplate.html, is stored on your SYS volume at /NSEARCH/TEMPLATES. See Customizing Your Web Search Solution for information about how to customize templates.

Figure 3
The NetWare Web Search Form as it Appears in a Web Browser

The Web Search form is used to capture user input, search the collections, and then return the results in either a search or print template, which appears to the user in a dynamically-updated HTML document.

The default search result templates display hits according to user selections on the search form. There are actually three different result templates: Normal, Verbose, and Terse. For more information about these search result templates, see Table 2. There are also templates for each of eleven different languages. For a discussion about creating templates for international languages, see Introducing NetWare Web Search Server.

The Verbose template, which the user selects from the Result List Format drop-down list on the Search form, allows users to sort search results by relevance, title, language, date, file size, or URL. See The Search Results Page Produced by the Normal Search Results Template.

Figure 4
The Search Results Page Produced by the Normal Search Results Template

You can also customize the search form to include additional parameters that allow you to offer more options to your users for more accurate searching.

For an overview of how Web Search Server works, and for more information about customizing your search solution, see Building a Custom Search Solution.



  Previous Page: Understanding Templates  Next Page: Exploring the Default Search and Print Templates