PHP code example of novactive / ezsolrsearchextrabundle

1. Go to this page and download the library: Download novactive/ezsolrsearchextrabundle library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

novactive / ezsolrsearchextrabundle example snippets


    Novactive\EzSolrSearchExtraBundle\EzSolrSearchExtraBundle::class => [ 'all'=> true ],

// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Novactive\EzSolrSearchExtraBundle\EzSolrSearchExtraBundle(),
        // ...
    );
}
xml
<dynamicField name="*_mdt" type="date" indexed="true" stored="true" multiValued="true"/>