Category: elasticsearch

Elasticsearch throwing http method exceptions. Symfony 4.4 on Platform.sh

I’m using the FOS Elasticsearch bundle on Symfony 4.4 on Platform.sh and any attempt to populate results in error. Relevant config pieces: composer.json "require": { "php": ">=7.3.0", … "friendsofsymfony/elastica-bundle": "^5.1", platform/services.yml searchelastic77: type: elasticsearch:7.7 disk: 1024 .platform.app.yml relationships: … elasticsearch:…

Symfony API Platform very slow with MYQSL as persistance layer [closed]

This is moreover a generic/ architectural stuff.So let me explain the scenario. We are using Symfony API platform as our backend for REST API’s and our Front end is React. The api’s are becoming slow day by day. Our mysql…

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…

How to resove this Error "multi_match query malformed, no start_object after query name" in Symfony Elastic search?

I’ve an error in a symfony project “multi_match query malformed, no start_object after query name” in Symfony ApiPlatform using Elastic search ? I want to use OR condition in Elasticsearch query using php symfony. This is the SearcheFilter file (web/src/Bridge/Elastica/Filter/SearchFilter.php):…

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…