Jeroen-G / Explorer

🗺️ Next-gen Elasticsearch driver for Laravel Scout.
https://jeroen-g.github.io/Explorer/
MIT License
368 stars 62 forks source link

Bump elasticsearch version #211

Open tajweb opened 1 year ago

tajweb commented 1 year ago

I can't run Explorer with ElasticSearch because of version coflicts

 Problem 1
    - Root composer.json requires jeroen-g/explorer ^3.7 -> satisfiable by jeroen-g/explorer[3.7.0].
    - jeroen-g/explorer 3.7.0 requires elasticsearch/elasticsearch ^7.16 -> found elasticsearch/elasticsearch[v7.16.0, ..., 7.x-dev] but it conflicts with your root composer.json require (^8.9).
Jeroen-G commented 1 year ago

Your options:

drmmr763 commented 3 days ago

There are definitely a lot of new things in the 8.16 version of Elastic that I want to take advantage of that I'm not able to do in the scope of the Laravel / php client in my app at the moment due to this older version being required by Explorer.

I took a quick look at the breaking changes in the client (https://github.com/elastic/elasticsearch-php/blob/8.0/BREAKING_CHANGES.md)

It definitely looks like there would be some work with regard to namespaces and possibly connection pool for configuration. It doesn't look like a ton. @Jeroen-G if I submitted a PR to try to upgrade would you have time to push out a release in the next few weeks?

For now I'm going to work around by running the operations I need with the elastic rest api. but would be nice to do it from the PHP client / Scout integration.