2017 © Pedro Peláez
 

symfony-bundle node-search-bundle

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle

image

kunstmaan/node-search-bundle

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle

  • Wednesday, October 19, 2016
  • by Kunstmaan
  • Repository
  • 18 Watchers
  • 7 Stars
  • 9,190 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 50 Versions
  • 0 % Grown

The README.md

KunstmaanNodeSearchBundle

Build Status Total Downloads Latest Stable Version Analytics, (*1)

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle, (*2)

Installation

composer.json, (*3)

    "require": {
        "kunstmaan/node-search-bundle": "*"
    },

AppKernel.php:, (*4)

    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Kunstmaan\NodeSearchBundle\KunstmaanNodeSearchBundle(),
            // ...
        );

Configuration

SearchPage

Extend the AbstractSearchPage and add your new class as a possible child to a page in your website :, (*5)

    /**
     * @return array
     */
    public function getPossibleChildTypes()
    {
        return array(
            array(
                'name' => 'Search page',
                'class'=> "Acme\DemoBundle\Entity\SearchPage"
            )
        );
    }

Custom mapping

You may configure the index mapping via Symfony config. For example:, (*6)

# config.yml
kunstmaan_node_search:
    mapping:
        average_score:
            name: average_score
            type: float
            index: not_analyzed
        tags:
            name: tags
            type: string
            index: analyzed

Please notice that this does not index any data., (*7)

Adding data to index

Pages can implement HasCustomSearchDataInterface to dynamically add more data to the document while indexing. For more complex scenarios a service can listen on the kunstmaan_node_search.onIndexNode event., (*8)

Documentation

Find more documentation on how it works here, (*9)

The Versions

13/10 2016

dev-revert-1302-bugfix/multidomain

dev-revert-1302-bugfix/multidomain https://github.com/Kunstmaan/KunstmaanNodeSearchBundle

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle

  Sources   Download

MIT

The Requires

 

search elasticsearch node kunstmaan

13/10 2016

dev-revert-1336-fix#twig-get-name

dev-revert-1336-fix#twig-get-name https://github.com/Kunstmaan/KunstmaanNodeSearchBundle

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle

  Sources   Download

MIT

The Requires

 

search elasticsearch node kunstmaan

10/10 2016
20/06 2016

dev-revert-1243-hotfix/generator-translations

dev-revert-1243-hotfix/generator-translations https://github.com/Kunstmaan/KunstmaanNodeSearchBundle

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle

  Sources   Download

MIT

The Requires

 

search elasticsearch node kunstmaan

20/06 2016
10/02 2016

3.5.x-dev

3.5.9999999.9999999-dev https://github.com/Kunstmaan/KunstmaanNodeSearchBundle

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle

  Sources   Download

MIT

The Requires

 

search elasticsearch node kunstmaan

20/01 2016

dev-fix-sensiolabs-insight

dev-fix-sensiolabs-insight https://github.com/Kunstmaan/KunstmaanNodeSearchBundle

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle

  Sources   Download

MIT

The Requires

 

search elasticsearch node kunstmaan

09/10 2015

3.4.x-dev

3.4.9999999.9999999-dev https://github.com/Kunstmaan/KunstmaanNodeSearchBundle

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle

  Sources   Download

MIT

The Requires

 

search elasticsearch node kunstmaan

23/09 2015

3.3.x-dev

3.3.9999999.9999999-dev https://github.com/Kunstmaan/KunstmaanNodeSearchBundle

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle

  Sources   Download

MIT

The Requires

 

search elasticsearch node kunstmaan

29/07 2015

3.2.x-dev

3.2.9999999.9999999-dev https://github.com/Kunstmaan/KunstmaanNodeSearchBundle

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle

  Sources   Download

MIT

The Requires

 

search elasticsearch node kunstmaan

24/04 2015
05/02 2015