thelia / index-engine-module
1.0
2015-05-27 10:12 UTC
Requires
- elasticsearch/elasticsearch: ~1.0
- symfony/http-kernel: ~2.3
- thelia/installer: ~1.1
Requires (Dev)
- phpunit/phpunit: ~4.1
- thelia/smarty-module: ~2.1.1
Suggests
- opensearchserver/opensearchserver:~3.0: If you want to use the OpenSearchServer driver, you must install this library
- thelia/smarty-module: If you want to have the index function for Smarty
This package is auto-updated.
Last update: 2024-09-14 21:56:52 UTC
README
摘要
IndexEngine 是一个模块,允许您配置想要使用的搜索引擎以及想要发送给它们的数据。
它提供了一个高级 API,以无差别地使用任何搜索引擎和任何数据。
警告:此模块专门为开发者设计,您不能将其作为独立使用。
如果您想了解如何集成它,请查看 ProductSearch 模块
使用 composer
$ php composer.phar require thelia/index-engine-module:~1.0
然后安装您需要的库。
以下是一个使用 Elasticsearch 的示例(目前,此库默认已安装)
$ php composer.phar require elasticsearch/elasticsearch:~1.0
请在此处查看文档摘要 这里
当我使用控制台索引数据时,所有我的 URL 都指向 http://localhost
您必须配置 Thelia 系统变量 url_site
以在控制台索引数据时获取正确的 URL