Sun Java System Web Server 6.1 SP9 Administrator's Guide

ProcedureTo update a collection

  1. Select the virtual server that contains the collection you want to update, and click the Manage button.

  2. Select the Search tab and then click the Update Collection link.

  3. From the Collection drop-down list, select the collection you want to update.

  4. Docs

  5. You can update the following information for the collection you selected:

    • Include subdirectories? If you select No, documents within the subdirectories of the selected directory will not be indexed. The default is Yes.

    Note –

    Include Subdirectories? has a bearing on only adding documents.

    Caution – Caution –

    While adding documents, use the wildcard pattern judiciously to ensure that only specific files are indexed. For example, specifying *.* might cause even executables and perl scripts to be indexed.

    • Default Encoding. Specify the character encoding for the documents to be indexed. The default is “ISO-8859-1.” The indexing engine tries to determine the encoding of HTML documents from the embedded meta tag. If this is not specified, the default encoding is used.

      Documents in a collections are not restricted to a single language/encoding. Every time documents are added, only a single encoding can be specified; however, the next time you add documents to the collection, you can select a different default encoding.

  6. Click Add Documents to add documents to the index, or Remove Documents to remove the appropriate index entries.

    Note –

    You can add documents only if they are located in the directory you specified when you created the collection.