Chapter 16, Using Search
401
Configuring Text Search
Adjusting the Maximum Number of Attributes
Collections have different sets of default attributes that depend on which file
format they are. For example, HTML files have
Title
and
SourceType
. You
can also define META-tagged HTML attributes in your HTML files. Some file
formats, such as PDF, have a great many default attributes. For more
information about the attributes for each format, see “About Collection
Attributes” on page 404 and Table 16.2.
You can use the Add Custom Property window to add additional properties for
the Web Publishing collection. These are the default maximum settings:
•
Text (a maximum of 30, including all META-tagged attributes)
•
Numeric (a maximum of 5)
•
Date (a maximum of 5)
You can change the maximum settings for these in the
webpub.conf
file,
although larger sets of attributes impact the performance of your server. You
cannot set the maximums beyond 100 for text and 50 for dates and numbers.
To do this, you need to manually edit the
[NS-loader]
section of the
webpub.conf
file to define maximum numbers of attributes. For example, to
change all three values, you could use these lines:
NS-max-text-attr = 50
NS-max-numeric-attr = 10
NS-max-date-attr = 10
Note
You cannot use the additional attributes in existing collections, only in
subsequently created collections. To use them in a search collection, you must
use the Maintain Collection window (choose Search and click the Maintain
Collection link) to remove the collection and then use the New Collection
window (click the New Collection link) to create a new collection. If you want
to use the new attributes in the web publishing collection, you must use your
file system to remove both the
web_htm
and
link_mgr
collection files from
the search collections directory and then restart your server.
Содержание 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 ...