Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

ExtensionDirectories

Summary

Tells the system where to look for search engine plugins.

Usage

 

ExtensionDirectories[]=extension1
ExtensionDirectories[]=extension2
...

Description

This setting can be used to specify the extension directories where eZ Publish will look for search engine plugins. By default, eZ Publish will look for plugins in the "search/plugins/" subdirectory inside your extension(s).

Examples

Example 1

If you have an extension "findme" that includes a search engine plugin called "myengine", you'll need to put the following lines into an override for the "site.ini" configuration file:

[SearchSettings]
ExtensionDirectories[]=findme
SearchEngine=myengine

eZ Publish will look for the search engine plugin at "extension/findme/search/plugins/myengine/myengine.php".

Example 2

If your site makes use of the eZ Find extension, the "site.ini.append.php" configuration file located in the "extension/ezfind/settings/" directory will contain the following lines:

[SearchSettings]
ExtensionDirectories[]=ezfind
SearchEngine=ezsolr

This will instruct the system to use the search engine plugin located at "extension/ezfind/search/plugins/ezsolr/ezsolr.php".

Julia Shymova (17/01/2008 2:39 pm)

Julia Shymova (17/01/2008 2:50 pm)


Comments

There are no comments.