-
Install it:
$ composer require lakion/sylius-elastic-search-bundle
-
Install elastic search server:
$ brew install [email protected]
-
Run elastic search server:
$ elasticsearch
-
Add this bundle to
AppKernel.php
:new \FOS\ElasticaBundle\FOSElasticaBundle(), new \Lakion\SyliusElasticSearchBundle\LakionSyliusElasticSearchBundle(),
-
Create/Setup database:
$ app/console do:da:cr $ app/console do:sch:cr $ app/console syl:fix:lo
-
Populate your elastic search server with command or your custom code:
$ app/console fos:elastic:pop
-
Import config file in
app/config/config.yml
for default filter set configuration:imports: - { resource: "@LakionSyliusElasticSearchBundle/Resources/config/app/config.yml" }
-
Import routing files in
app/config/routing.yml
:sylius_search: resource: "@LakionSyliusElasticSearchBundle/Resources/config/routing.yml"
-
Configuration reference:
lakion_sylius_elastic_search: filter_sets: mugs: filters: product_options: type: option options: code: mug_type product_price: type: price
forked from psihius/SyliusElasticSearchBundle
-
Notifications
You must be signed in to change notification settings - Fork 1
kochen/SyliusElasticSearchBundle
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
ElasticSearch integration with advanced filtering options for Sylius eCommerce applications.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 91.7%
- Gherkin 6.0%
- HTML 1.8%
- JavaScript 0.5%