jolicode / elastically

🔍 JoliCode's Elastica wrapper to bootstrap Elasticsearch PHP integrations
MIT License
248 stars 37 forks source link

doc(symfony): Provide a working example out of the box #152

Closed damienalexandre closed 1 year ago

damienalexandre commented 1 year ago

The example in the documentation was not working out of the box.

The HttpClientTransport MUST be declared first:

JoliCode\Elastically\Transport\HttpClientTransport: ~

So I think it's better to comment it out.

Also, what about forcing this transport when using Symfony?!

lyrixx commented 1 year ago

Also, what about forcing this transport when using Symfony?!

nope :) you probably one specific http client, not the default one

lyrixx commented 1 year ago

Thanks