elastica.yaml 822 B

123456789101112131415161718192021222324252627
  1. imports:
  2. - { resource: elastica/ }
  3. fos_elastica:
  4. clients:
  5. default: { host: '%env(resolve:ELASTICSEARCH_HOST)%', port: '%env(resolve:ELASTICSEARCH_PORT)%' }
  6. indexes:
  7. search:
  8. use_alias: true
  9. client: default
  10. finder: ~
  11. settings:
  12. index:
  13. analysis:
  14. analyzer:
  15. search_analyzer:
  16. type: custom
  17. tokenizer: standard
  18. filter: [standard, asciifolding ,lowercase]
  19. custom_analyzer:
  20. type: custom
  21. tokenizer: standard
  22. filter: [standard, asciifolding ,lowercase]
  23. custom_search_analyzer:
  24. type: custom
  25. tokenizer: standard
  26. filter: [standard, asciifolding ,lowercase]