/SonataAdminSearchBundle

POC - Implement Search Engine (ElasticSearch) inside Sonata Admin

Primary LanguagePHP

SonataAdminSearchBundle

Build Status

By default, SonataAdminBundle uses the storage backend full-text search capabilities to provide search results or filtered listings. This bundle should help you leverage the power of your search engine when full-text search is not good enough.

For the moment, only elasticsearch is supported, with the help of FOSElasticaBundle finder services.

Installation

composer require sonata-project/admin-search-bundle

Configuration

You need to map each admin to a FOS finder service that should be used for that admin.

sonata_admin_search:
    admin_finder_services:
        my_admin.id: # Admin service id
            finder: Id for a FOS finder service that should be used # Finder service
            actions : [list] #[Optional] actions where elasticsearch has to be enabled

Documentation

For contribution to the documentation you cand find it on Resources/doc.