Chapter 16, Using Search
439
Customizing the Search Interface
Required Search Arguments
Although you can customize almost every aspect of query and result pages,
there are some arguments required for search functions to display the different
types of search pages. These arguments are required whether the search
function is in a decorated URL or embedded as an HREF in a pattern file.
Search functions that display the search query page require these arguments:
•
search query (the word, phrase, or attribute you want to search on)
•
collection (can specify more than once for multiple-collection searches)
Search functions that display the search results page require these arguments:
•
NS-search-page=results
(or
r
, in upper- or lowercase)
•
collection (can be specified more than once for multiple-collection
searches)
search query
Search functions that display a highlighted document require these arguments:
•
NS-search-page
=
document
(or
d
, in upper- or lowercase)
•
document path
•
collection (can be specified only once)
•
search query (necessary if you want to highlight the query data)
Search functions that display the collection contents require only this argument:
•
NS-search-page=contents
(or
c
, in upper- or lowercase)
Using Pattern Variables
By using pattern variables, you can customize the search text interface and
eliminate the need to update the actual HTML pages as user requirements
change. For example, if the interface has graphics or text elements that change
periodically, you can define a pattern variable that points to a pathname where
that graphic or text is maintained and stored.
There are three categories of pattern variables:
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...