2017 © Pedro Peláez
 

symfony-bundle search-widget

Victoire Search widget

image

victoire/search-widget

Victoire Search widget

  • Wednesday, August 1, 2018
  • by lenybernard
  • Repository
  • 13 Watchers
  • 5 Stars
  • 167 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 7 Open issues
  • 15 Versions
  • 58 % Grown

The README.md

CircleCI, (*1)

Victoire Search Bundle

What is the purpose of this bundle

This bundles gives you access to the Search Widget which is a search bar that can find any text., (*2)

It works with elastica and searches automatically in every searchable widget (thanks to the widget's embedded configuration). You place an emitter spot (i.e : the search bar) and define the result page where you'll place a receiver spot., (*3)

Specific search within BusinessEntities

If you want to search your BusinessEntities, you'll have to define your own configuration for your BusinessEntities:, (*4)

fos_elastica:
    clients:
        default: { host: 127.0.0.1, port: 9200 }
    serializer:
        callback_class: FOS\ElasticaBundle\Serializer\Callback
        serializer: serializer
    indexes:
        # Widgets are automatically indexed by using 'victoire_search_widgets_index' parameter
        # You can override Widgets indexation configuration
        widgets: %victoire_search_widgets_index%
        # Pages are automatically indexed by using 'victoire_search_pages_index' parameter
        # You can override Pages indexation configuration
        pages: %victoire_search_pages_index%
        # You need to define the business entities you wish to index here
        business:
            types:
                Jedi:
                    serializer:
                        groups: [search]
                    mappings:
                        title: ~
                        city: ~
                        description: ~
                        contractType: ~
                        subtitle: ~
                    persistence:
                        driver: orm
                        model:  Acme\DemoBundle\Entity\Jedi
                        provider: ~
                        listener: ~
                        finder: ~

Initialize elasticsearch mapping

In order to have a relevant elasticsearch mapping, you need to run the following command before running any query:, (*5)

console fos:elastica:reset

Set Up Victoire

If you haven't already, you can follow the steps to set up Victoire here, (*6)

Install the bundle

Run the following composer command :, (*7)

php composer.phar require victoire/search-widget

Reminder

Do not forget to add the bundle in your AppKernel !, (*8)

    class AppKernel extends Kernel
    {
        public function registerBundles()
        {
            $bundles = array(
                ...
                new Victoire\Widget\SearchBundle\VictoireWidgetSearchBundle(),
                new FOS\ElasticaBundle\FOSElasticaBundle(),
            );

            return $bundles;
        }
    }

The Versions

01/08 2018

dev-master

9999999-dev

Victoire Search widget

  Sources   Download

MIT

The Requires

 

search widget victoire dcms friendsofvictoire

01/08 2018

2.0.6

2.0.6.0

Victoire Search widget

  Sources   Download

MIT

The Requires

 

search widget victoire

01/08 2018

2.0.5

2.0.5.0

Victoire Search widget

  Sources   Download

MIT

The Requires

 

search widget victoire

07/05 2018

2.0.1.x-dev

2.0.1.9999999-dev

Victoire DCMS Search widget

  Sources   Download

MIT

The Requires

 

search widget victoire dcms friendsofvictoire

07/05 2018

2.0.1.1

2.0.1.1

Victoire DCMS Search widget

  Sources   Download

MIT

The Requires

 

search widget victoire dcms friendsofvictoire

03/05 2018

2.0.4

2.0.4.0

Victoire Search widget

  Sources   Download

MIT

The Requires

 

search widget victoire

03/05 2018

2.0.3

2.0.3.0

Victoire Search widget

  Sources   Download

MIT

The Requires

 

search widget victoire

30/04 2018

dev-fix-issue-with-widget-without-widget_map

dev-fix-issue-with-widget-without-widget_map

Victoire Search widget

  Sources   Download

MIT

The Requires

 

search widget victoire

31/03 2017

2.0.2

2.0.2.0

Victoire DCMS Search widget

  Sources   Download

MIT

The Requires

 

search widget victoire dcms friendsofvictoire

22/09 2016

2.0.1

2.0.1.0

Victoire DCMS Search widget

  Sources   Download

MIT

The Requires

 

search widget victoire dcms friendsofvictoire

22/08 2016

2.0.0

2.0.0.0

Victoire DCMS Search widget

  Sources   Download

MIT

The Requires

 

search widget victoire dcms friendsofvictoire

01/06 2016

1.3.x-dev

1.3.9999999.9999999-dev http://victoire.io

Victoire DCMS Search widget

  Sources   Download

MIT

The Requires

 

search cms widget dynamic victoire dcms friendsofvictoire fov

22/02 2016

1.5

1.5.0.0

Victoire DCMS Search widget

  Sources   Download

MIT

The Requires

 

search widget victoire dcms friendsofvictoire

18/01 2016

1.3.1

1.3.1.0 http://victoire.io

Victoire DCMS Search widget

  Sources   Download

MIT

The Requires

 

search cms widget dynamic victoire dcms friendsofvictoire fov

31/10 2015

1.3.0

1.3.0.0 http://victoire.io

Victoire DCMS Search widget

  Sources   Download

MIT

The Requires

 

search cms widget dynamic victoire dcms friendsofvictoire fov