I want to use fos_elastica (symfony bundle) in my projects. I have a three database connection. How can I use custom_database_connection?
fos_elastica:
clients:
default:
host: %fos_elastica.host%
port: %fos_elastica.port%
indexes:
search:
finder: ~
client: default
types:
books:
mappings:
id:
type: integer
title: ~
author: ~
persistence:
driver: orm
model: AppBundle\Entity\Books
finder: ~
provider: ~
listener: ~