An eZPlatform bundle which extend the solr search handler.
Add NovaeZSolrSearchExtraBundle in your composer.json:
composer require novactive/ezsolrsearchextrabundle
Register the bundle in your application's kernel class:
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Novactive\EzSolrSearchExtraBundle\EzSolrSearchExtraBundle(),
// ...
);
}
Add the following routing config
solr:
resource: "@EzSolrSearchExtraBundle/Controller/"
type: annotation
prefix: /
https://wiki.apache.org/solr/SolrRelevancyFAQ
https://lucene.apache.org/solr/guide/6_6/highlighting.html
https://lucene.apache.org/solr/guide/6_6/managed-resources.html