Fos elastica custom database configuration

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: ~

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.