clone of github.com/decent-newsroom/newsroom
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
686 B

fos_elastica:
clients:
default:
host: '%env(ELASTICSEARCH_HOST)%'
port: '%env(int:ELASTICSEARCH_PORT)%'
username: '%env(ELASTICSEARCH_USERNAME)%'
password: '%env(ELASTICSEARCH_PASSWORD)%'
indexes:
# create the index by running php bin/console fos:elastica:populate
articles:
properties:
title: ~
summary: ~
content: ~
slug: ~
topics: ~
persistence:
driver: orm
model: App\Entity\Article
provider: ~
listener: ~
finder: ~