Sun Java System Web Server 7.0 Update 4 Administrator's Guide

Scheduling Collection Update

You can schedule maintenance tasks to be performed on collections at regular intervals. The tasks that can be scheduled are re-indexing and updating. The administrative interface is used to schedule the tasks for a specific collection. You can specify the:

To schedule events for the collection, perform the following tasks:

  1. Click the Configurations tab.

  2. Select the configuration from the configuration list.

  3. Click the Virtual Servers tab.

  4. Select the virtual server from the virtual server list.

  5. Click the Search tab.

  6. Click the Scheduled Events tab.

  7. Under Search Events tab, click New.

The following table describes the fields in the New Search Event Schedule page:

Table 12–1 Field Description > New Search Event Schedule




Select the collection from the drop-down list for which you need to schedule maintenance. 


  1. Re-index Collection—This scheduled event will re-index the specified collection at the specified time.

  2. Update Collection—You can add or remove files after a collection has been created. Documents can be added only from under the directory that was specified during collection creation. If you are removing documents, only the entries for the files and their metadata are removed from the collection. The actual files themselves are not removed from the file system. This scheduled event will update the collection at the specified time.

  3. Pattern—Specify a wildcard to select the files to be indexed.

  4. Subdirectories included—If you select this option, documents within the subdirectories of the selected directory will also be indexed. This is the default action.

  5. 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.


The configured time when the event will start. Select the hour and minutes value from the drop-down box. 

Every Day — Starts the event specified every day at the specified time.

Specific Days — Starts the event specified at specific days.

1. Days — Specify any day from Sunday to Saturday.

2. Dates — Specify any day of the month from 1 to 31 as comma separated entries. E.g. 4,23,9

Specific Months — Starts the event specified at the specific time and month. Specify month from January to December.


Start the specified event after this time period. 

1. Every Hours — Select the number of hours from the drop-down box.

2. Every Seconds — Select the number of seconds from the drop-down box.