+

Search Tips   |   Advanced Search

Configuring the default location for search collections


We can modify the default directory location under which search collections are created on a per search service basis. The default directory location under which search collections are created is...

This default can be applied when you create a new search collection, depending on the value we specify in the entry field Location of Collection when you create a new search collection:

We can customize this default directory location under which search collections are created. To do this, set the directory location of the choice as the value for the parameter DefaultCollectionsDirectory for the search service. Configure this parameter for each search service separately. The value set for this parameter is prefixed to the relative location that we specify when creating a new search collection for that search service.

The specified value determines the default directory location for the search collections that you create. When creating a new search collection and specify only a relative path (not a full path location), the default value set by this parameter and the relative path that we specify are combined to form the full directory path under which the search collection is created. If you do not specify a value for DefaultCollectionsDirectory, the default directory for search collections remains as set by the installation as previously described.

To configure a different default search collection location go to...

...and set value for parameter DefaultCollectionsDirectory. The value set for this parameter is prefixed to the relative location specified when creating a new search collection.

If you change the value for DefaultCollectionsDirectory...

The value set for this parameter is used only if during the creation of a new search collection we specify a relative directory for the location of the new search collection. If we specify a full directory for the location of the search collection, the collection is created is that directory. In this case the value set for the default directory under the search service has no effect, but is overwritten by the full directory location that we specify for the search collection.

The initial default directory is created during the installation. The process has write access to this default directory.

The default site collection that is part of the installation is created under the default directory. Creation of the site collection is started when you navigate to the Manage Search portlet. If you created the site collection by navigating to the Manage Search portlet before changing the default directory for the collection location, we might want to relocate the site collection to the new default directory.

If you set up a remote search service, for example for a cluster, then this parameter is mandatary. You need to configure the default location for search collections to a directory on the remote server that has write access.

The file path length for search collections is limited to 118 characters. If this limit is exceeded, the collection cannot be created. In this case specify a shorter value for the parameter DefaultCollectionsDirectory. This can occur particularly when the site collection is created under UNIX operating systems.


Parent: Administer Portal Search
Related: Reset the default search collection
Tips for using Portal Search