Provides Read API through gRPC to serve Catalog Search related requests
NOTE: existing implementation is a "transition" phase which utilizes Magento Monolith fulltextsearch index among with DB connection (to retrieve necessary data to build search response, e.g. attributes names for build layered navigation)
Search Service can be installed in 2 ways:
- Monolithic installation: just copy files to your Magento root folder. This is for development purposes only, do not use in production.
- Standalone installation: recommended approach, install Search Service as a standalone installation
- Add Magento authentication keys to access the Magento Commerce repository
- with auth.json: copy the contents of
auth.json.dist
to newauth.json
file and replace placeholders with your credentials - with environment variable: specify environment variable
COMPOSER_AUTH
according to documentation
- Run
bash ./dev/tools/make_standalone_app.sh
- Run
composer install
- Run
bin/command storefront:search:init
with all required arguments to provide connection to Magento DB/Elasticsearch.
- Run
bin/command storefront:grpc:init \\Magento\\SearchStorefrontApi\\Api\\SearchProxyServer
- Run
./vendor/bin/grpc-server
Contributions are welcomed! Read the Contributing Guide for more information.
This project is licensed under the OSL-3.0 License. See LICENSE for more information.