Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Elastic 8, use external cluster #767

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

alpoi-x
Copy link
Contributor

@alpoi-x alpoi-x commented Dec 28, 2023

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 and others added 16 commits November 26, 2023 17:31
INF-252, INF-253 | feat: adapt photon for feature parity with toby's version
…ake it closer to the original implementation (this provided a 10x speedup on initial testing), add -fresh-cluster and -continue-import args to allow more control over the pre-import steps
…f not provided, do not refresh index settings by default as it has side effects, dockerfile to serve api
@phamtai97
Copy link

phamtai97 commented Feb 24, 2024

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.

@lonvia
Copy link
Collaborator

lonvia commented Feb 24, 2024

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.

@phamtai97
Copy link

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants