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.
To update a collection, perform the following steps.
Select the virtual server that contains the collection you want to update, and click the Manage button.
Select the Search tab and then click the Update Collection link.
From the Collection drop-down list, select the collection you want to update.
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.
Include Subdirectories? has a bearing on only adding documents.
Pattern. Specify a wildcard to select the files to be indexed or removed from the collection. For more information on wildcards, see Wildcards Used in the Resource Picker.
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.
Click Add Documents to add documents to the index, or Remove Documents to remove the appropriate index entries.
You can add documents only if they are located in the directory you specified when you created the collection.