Introduce algolia/search-bundle v3

This commit is contained in:
Julien Bourdeau
2018-01-17 15:50:22 +01:00
parent 17d0f657ee
commit 5c98c82e56
3 changed files with 30 additions and 0 deletions
@@ -0,0 +1,4 @@
# All available configuration can be found here:
# https://www.algolia.com/doc/api-client/symfony/configuration/
algolia_search:
prefix: '%env(APP_ENV)%_'
+14
View File
@@ -0,0 +1,14 @@
{
"bundles": {
"Algolia\\SearchBundle\\AlgoliaSearchBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "Create a free account on www.algolia.com",
"#2": "and get your credentials from the API Keys tab.",
"ALGOLIA_APP_ID": "...",
"ALGOLIA_API_KEY": "..."
}
}
@@ -0,0 +1,12 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> Next: SearchBundle Configuration </>
<bg=blue;fg=white> </>
* The Algolia/SearchBundle uses Algolia by default. Create a free
account on http://www.algolia.com and modify your ALGOLIA_APP_ID
and ALGOLIA_API_KEY config in <fg=green>.env</>
* Edit the configuration in <fg=green>config/packages/algolia_search.yaml</>
to start indexing your data.
Documentation: https://www.algolia.com/doc/api-client/symfony/