photon icon indicating copy to clipboard operation
photon copied to clipboard

Update to Elastic 8, use external cluster

Open alpoi-x opened this issue 1 year ago • 3 comments

This PR makes some major changes to support modern Elasticsearch, decoupling the cluster from import and search features. My company tasked me with adapting Photon such that we can host the cluster externally with ElasticCloud. We now have this working in our dev environment, and plan to ship to production in the new year.

No expectations from me (it's a huge set of changes and will break any existing deployment), but I wanted to contribute nonetheless in-case you wanted to use or take ownership of any of the changes.

Being able to deploy externally on an updated ES version has been huge for us in terms of performance and cost. Hopefully it will be useful to others too!

NB: tests probably broken

alpoi-x avatar Dec 28 '23 16:12 alpoi-x

Any update for PR? Has this update changed the logic of search of Photon that affects search results or change logic to connect to external ES? Tks for your PR. We also want to deploy external ES.

phamtai97 avatar Feb 24 '24 03:02 phamtai97

This PR has mixed in too many other new features and is missing a solution for the tests. Those are blockers for merging. I'm leaving the PR open for now, given that ES 8 is requested a lot and people might want to play with it.

lonvia avatar Feb 24 '24 09:02 lonvia

@lonvia Do you have plans to test this PR? I just fast review to changed files in this PR, I see the changes that seem do not related to logic search (indexes, change query logics). @alpoi-x Do you list main ideas for your changes?

phamtai97 avatar Feb 24 '24 10:02 phamtai97

Closing this, as we will go the OpenSearch route. Thank you for sharing your efforts.

lonvia avatar Jun 10 '24 12:06 lonvia