Chapter 16, Using Search
445
Customizing the Search Interface
$$NS-doc-time
The creation time for a document in the results list.
To obtain
this value, you must set
NS-use-system-stat
=
YES
in
the
webpub.conf
file.
By default it is set to NO, since system
statistics are expensive.
$$NS-doc-size
The size of the document rounded to the nearest K
.
To
obtain this value, you must set
NS-use-system-stat
=
YES
in the
webpub.conf
file. By default it is set to NO,
since system statistics are expensive.
$$NS-docs-found
The actual number of documents that the search engine found for
this request.
$$NS-docs-matched
The number of documents returned from the search (up to
NS-
max-records
) for this request.
$$
NS-docs-searche
d
The number of documents searched through for this request.
$$NS-get-highlighted-doc
This provides the URL for a highlighted document in order to be
able to display the document as HTML text with highlights.
$$NS-get-next
This variable gets the next set of search results to be displayed.
The set is equal to
NS-max-records
and is positioned by using
NS-search-offset
.
$$NS-get-prev
This variable gets the previous set of search results that has been
displayed. The set is equal to
NS-max-records
and is
positioned by using
NS-search-offset
.
$$NS-host
The host name.
$$NS-insert-doc
A placeholder used in the
NS-record-pat
pattern files for
HTML to indicate where the source document is to be inserted.
$$NS-rel-doc-name
The relative name of the document to display creating a document
page.
$$NS-search-offset
The offset into the set of records returned as search results. Used
to determine which set of records are displayed when you use
NS-get-next
and
NS-get-prev
.
$$NS-server-url
The URL for the server.
$$NS-sort-by
The sort sequence for the items on the results page. You can
select one or more of the available attributes for the collection.
The default is an ascending sort.
Table 16.10 Macros and generated pattern variables
Variable
Description
Содержание 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 ...