mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
Fix review
This commit is contained in:
@@ -2,6 +2,9 @@ sulu_article:
|
||||
index_name: '%env(resolve:ELASTICSEARCH_INDEX)%'
|
||||
hosts:
|
||||
- '%env(resolve:ELASTICSEARCH_HOST)%'
|
||||
types:
|
||||
article:
|
||||
translation_key: "sulu_article.article"
|
||||
|
||||
sulu_route:
|
||||
mappings:
|
||||
@@ -14,3 +17,12 @@ sulu_route:
|
||||
options:
|
||||
route_schema: '{translator.trans("page")}-{object.getPageNumber()}'
|
||||
parent: '{object.getParent().getRoutePath()}'
|
||||
|
||||
ongr_elasticsearch:
|
||||
analysis:
|
||||
tokenizer:
|
||||
pathTokenizer:
|
||||
type: path_hierarchy
|
||||
analyzer:
|
||||
pathAnalyzer:
|
||||
tokenizer: pathTokenizer
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
},
|
||||
"copy-from-package": {
|
||||
"Resources/doc/default.xml": "%CONFIG_DIR%/templates/articles/default.xml",
|
||||
"Resources/doc/default.html.twig": "templates/articles/default.xml"
|
||||
"Resources/doc/default.html.twig": "templates/articles/default.html.twig"
|
||||
},
|
||||
"env": {
|
||||
"ELASTICSEARCH_HOST": "127.0.0.1:9200",
|
||||
|
||||
Reference in New Issue
Block a user