elastica.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. fos_elastica:
  2. clients:
  3. default: { host: 'es', port: '9200' }
  4. indexes:
  5. search:
  6. use_alias: true
  7. client: default
  8. finder: ~
  9. settings:
  10. index:
  11. analysis:
  12. analyzer:
  13. search_analyzer:
  14. type: custom
  15. tokenizer: standard
  16. filter: [standard, asciifolding ,lowercase]
  17. custom_analyzer:
  18. type: custom
  19. tokenizer: standard
  20. filter: [standard, asciifolding ,lowercase]
  21. custom_search_analyzer:
  22. type: custom
  23. tokenizer: standard
  24. filter: [standard, asciifolding ,lowercase]
  25. types:
  26. organization:
  27. persistence:
  28. driver: orm
  29. model: 'App\Entity\Organization\Organization'
  30. listener: ~
  31. finder: ~
  32. elastica_to_model_transformer:
  33. ignore_missing: true
  34. provider: ~
  35. mappings:
  36. id:
  37. index: not_analyzed
  38. type: integer
  39. name:
  40. analyzer: custom_analyzer
  41. search_analyzer: custom_search_analyzer