Skip to the content
Documentation

SearchEngine

No ratings yet

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 Exponential search engine will be used.

The "openFts" value makes it possible to enable built-in support for a PostgreSQL-based search engine called OpenFTS. However, note that this functionality is mainly for demonstration purposes. It should not be used and will be deprecated in the future.

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 Exponential 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 Exponential search mechanism.

Example 2

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

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

Contributors

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. how to disable search engine

    kevin ·

    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

Comments

Add a comment

Comments are read by a moderator before they appear.