ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

SearchEngine

Summary

Sets which search engine to use.

Usage

 

SearchEngine=search_engine_name

Description

This directive tells the system which search engine to use. The default value is "eZSearchEngine", which means that the built-in eZ Publish search engine will be used.

In previous versions of eZ Publish, the "openFts" value made it possible to enable built-in support for a PostgreSQL-based search engine called OpenFTS. This functionality was mainly for demonstration purposes. It has been deprecated and should not be used.

To add support for your favorite search engine, you can implement your own search engine plugin. Note that it is not recommended to modify the eZ Publish kernel and thus you should implement it as an extension. Make sure you specify correct values in the "SearchEngine" and "ExtensionDirectories" settings located in the [SearchSettings] section of the "extension/<your_extension>/settings/site.ini.append.php" configuration file.

Examples

Example 1

[SearchSettings]
SearchEngine=eZSearchEngine

This will tell the system to use default eZ Publish search mechanism.

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".

Frederik Holljen (01/03/2005 11:49 am)

Svitlana Shatokhina (16/01/2008 2:38 pm)

Frederik Holljen, Julia Shymova, Svitlana Shatokhina


Comments

  • how to disable search engine

    i want find some keyword by template not search
    because search will spend too much performance and i want to stop search_keyword_link insert into DB,it is so huge