Let’s say you want to create a collection called “HR” on your virtual server acme. To do so, use the Create Collection page in the Search tab of your virtual server.
In the figure above, certain examples are specified. These parameters define our collection.
/hr/publish/info is the directory from which documents will be indexed by the collection. By default, only the directory designated as the document root directory for the virtual server is listed for selection. To add a directory to the list of indexable directories, you must create additional document directories, as discussed in Chapter 2, Creating and Using Virtual Servers
“HR” is the collection name. The server uses this internally to refer to the collection.
“HR Docs” is the display name. This is what end users will see as the name of the collection in the search query page. If this field is left blank, the collection name “HR”, would appear on the search query page.
*.html as the value of the Pattern field indicates that only files with a .html extension will be indexed.
The Encoding field is left as is. This means that the default encoding, “ISO-8859-1” will be used. If, for instance, the documents you want to index are in Japanese, you might use an appropriate encoding such as, “Shift_JIS.”
You need to save and apply your changes after updating the page for the changes to take effect.
You can update any of the parameters in the search collections you have created at any time using the Update Collection link on the Search tab of the virtual server.