Category: foselasticabundle

Symfony FOSElasticaBundle configuration

I am having a problem. Symfony: 4.4 Elasticsearch: 7.6.1 FOSElasticaBundle: 5.1 PHP: 7.2.26 My configuration: fos_elastica: clients: default: { url: ‘%env(ELASTICSEARCH_URL)%’ } indexes: app: finder: ~ types: city: properties: name: ~ persistence: driver: orm model: AppEntityCity provider: ~ finder: ~…

Elasticsearch with symfony – Error populate command softdeletable entity

I use the symfony bundle Foselasticabundle and i am facing a problem. I have an entity (B) which can be deleted via gedmo softdeleteable. I created the mapping, via the YAML file, and when I execute the following command fos:elastica:populate…

Symfony Doctrine with FosElastic how to search from ORM and Elastic together?

For example my entity has fields: id (int) title (text) (stored also in elastic) content (text) (stored also in elastic) categoryId (int) status (int) and i want to search text from title,content i use //RepositoryManagerInterface $finder $results = $finder->getRepository(Offer::class)->find(‘AUDI A6…