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.
24 lines
803 B
24 lines
803 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: |
|
indexable_callback: [ 'App\Util\IndexableArticleChecker', 'isIndexable' ] |
|
properties: |
|
title: ~ |
|
summary: ~ |
|
content: ~ |
|
slug: |
|
type: keyword |
|
topics: ~ |
|
persistence: |
|
driver: orm |
|
model: App\Entity\Article |
|
provider: ~ |
|
listener: ~ |
|
finder: ~
|
|
|