Developed with love by KnpLabs Hire us for your project!
44

SyliusElasticSearchBundle

by Lakion

ElasticSearch integration with advanced filtering options for Sylius eCommerce applications.

Sylius ElasticSearchBundle

Elastic search for Sylius.
Build status on Linux

Usage

  1. Install it:

    $ composer require lakion/sylius-elastic-search-bundle
    
  2. Install elastic search server:

    $ brew install elasticsearch@2.4
    
  3. Run elastic search server:

    $ elasticsearch
    
  4. Add this bundle to AppKernel.php:

    new \FOS\ElasticaBundle\FOSElasticaBundle(),
    new \Lakion\SyliusElasticSearchBundle\LakionSyliusElasticSearchBundle(),
    
  5. Create/Setup database:

    $ app/console do:da:cr
    $ app/console do:sch:cr
    $ app/console syl:fix:lo
    
  6. Populate your elastic search server with command or your custom code:

    $ app/console fos:elastic:pop
    
  7. Import config file in app/config/config.yml for default filter set configuration:

    imports:
       - { resource: "@LakionSyliusElasticSearchBundle/Resources/config/app/config.yml" }
    
  8. Import routing files in app/config/routing.yml:

    sylius_search:
        resource: "@LakionSyliusElasticSearchBundle/Resources/config/routing.yml"
    
  9. Configuration reference:

    lakion_sylius_elastic_search:
        filter_sets:
            mugs:
                filters:
                    product_options:
                        type: option
                        options:
                            code: mug_type
                    product_price:
                        type: price
    
  • Merge pull request #26 from mbabker/FOSElasticaBundle-4-Support
    By web-flow, 3 years ago
  • Set configuration based on https://github.com/travis-ci/travis-ci/issues/6144#issuecomment-239995800
    By mbabker, 3 years ago
  • Per Travis docs, need to do this to set ES version
    By mbabker, 3 years ago
  • Change README to 2.4 (Fix #23)
    By mbabker, 3 years ago
  • Travis bumped to 2.4
    By mbabker, 3 years ago
  • Merge branch 'model-class' into FOSElasticaBundle-4-Support
    By mbabker, 3 years ago
  • PHPCS
    By mbabker, 3 years ago
  • Merge branch 'model-class' into FOSElasticaBundle-4-Support
    By mbabker, 3 years ago
  • Push class into form
    By mbabker, 3 years ago
  • Merge branch 'model-class' into FOSElasticaBundle-4-Support
    By mbabker, 3 years ago
  • Use Product class parameter in routing
    By mbabker, 3 years ago
  • Updates to get running with current dependencies
    By mbabker, 3 years ago
  • Bump to stable
    By mbabker, 3 years ago
  • FOSElasticaBundle has a 4.0 branch now
    By mbabker, 3 years ago
  • Merge branch 'master' of github.com:Lakion/SyliusElasticSearchBundle into FOSElasticaBundle-4-Support
    By mbabker, 3 years ago
  • Merge pull request #21 from kpitn/master
    By web-flow, 3 years ago
  • Update FindOneBySlug with last master
    By kpitn, 3 years ago
  • Change code to type for Product\Image
    By kpitn, 3 years ago
  • Bump DSL dependency
    By mbabker, 3 years ago
  • Support FOSElasticaBundle 4.x
    By mbabker, 3 years ago
  • Merge pull request #17 from Arminek/add-filter-set-providers
    By web-flow, 3 years ago
  • [Search] Some tweaks
    By Arminek, 3 years ago
  • Merge pull request #18 from Arminek/update-readme
    By web-flow, 3 years ago
  • [Readme] Update
    By Arminek, 3 years ago
  • [Filter] Add filter set providers
    By Arminek, 3 years ago
  • [Architecture] Refactor
    By Arminek, 3 years ago
  • Merge pull request #15 from pamil/capitalize-all-the-things
    By web-flow, 3 years ago
  • Merge pull request #16 from pamil/tests
    By web-flow, 3 years ago
  • Run phpspec & phpunit before behat, sort require-dev alphabetically
    By pamil, 3 years ago
  • Move specs to root directory
    By pamil, 3 years ago