Configuring Search Collections

Searches require a database of searchable data against which users will
search. Server administrators create this database, called a collection, which
indexes and stores information about documents on the server. Once the server
administrator indexes all or some of a server’s documents, information
such as title, creation date, and author is available for searching.

Note –

About Search Collections:

Collections are specific to the virtual server being administered

Only documents visible from the virtual server are presented
in the administrative interface and available to be indexed

There is no limit to the number of collections that can exist
on your server

Documents in a search collection are not specific to any one
character encoding, which means that a search collection can be associated
with multiple encoding.

Supported Formats

Files of the following format can be indexed and searched.

HTML documents — .html and .htm

ASCII Plain Text — .txt

PDF.

Adding a Search Collection

To add a new collection, perform the following tasks:

Click Configurations tab.

Select the configuration from the configuration list.

Click Virtual Servers tab.

Select the virtual server from the virtual server list.

Click Search tab.

Under the Search Collections section,
click Add Search Collection button to
add a new search collection.

The following section describes the fields in the page for creating
a new search collection:

Provide Search Collection Information

Collection Name —
Enter a unique name for the search collection.

Note –

Multi byte characters are not allowed as collection name.

Display Name — (Optional)
This will appear as the collection name in the search query page. If you do
not specify a display name, the collection name serves as the display name.

Description — (Optional)
Enter text that describes the new collection.

Path — You can either
create the collection in the default location or provide a valid path, where
the collection will be stored.

Provide Indexing Information

Directory to Index —
Enter the directory from which documents will be indexed into the collection.
Only the directories visible from this virtual server can be indexed.

Sub Directory— Enter
the sub directory from which documents will be indexed into the collection.
Sub directory path should be relative to the directory path specified earlier.

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

Use the wildcard
pattern judiciously to ensure that only specific files are indexed. For example,
specifying *.* might cause even executable and Perl scripts to be indexed.

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

Default Document Encoding —

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.

Step 3: View the Summary

View the summary and click Finish button
to add the new collection.

Note –

Using CLI

For adding
a search collection through CLI, execute the following command.