Developed with love by KnpLabs Hire us for your project!
0

SonataAdminSearchBundle

by sonata-project

POC - Implement Search Engine (ElasticSearch) inside Sonata Admin

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.

The MIT License

Copyright (c) 2010-2013 thomas.rabaix@sonata-project.org

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
sonata_admin_search:
admin_finder_services:

# Prototype
admin_id:
finder: ~ # Required
actions:

# Default:
- list