question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Elasticsearch support

See original GitHub issue

It’s not an issue, but more like an initial investigation: do you have any Elasticsearch support in your future plans? If yes - I’m interested to learn more about it. If no - was it ever considered before and deliberately rejected or else?

It is true, that Elasticsearch is somewhat different in matter of ‘schema’ management, since it has a dynamic mappings allowed by default and as such it looks like not a relevant candidate for migration tools.

Yet, there are few use-cases where i can see Flyway being relevant for ES management:

  • some of organizations (like mine current one) prefer to stick to "dynamic":"strict" index/mappings definition, in this case mappings changes are required on each ‘schema’ change and it is better to have it managed/versioned in right way
  • data migration/transformation - reindex in ES terms - is a valid case and this one is also requires some kind of management/versioning

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:28
  • Comments:16 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
axelfontainecommented, Nov 9, 2017

No demand so far.

0reactions
kpeicommented, Dec 10, 2020

Hi Axel,

We have been enjoying Flyway for a long time now, both private and professionally; so thanks for that 😉

At work had a use case we wanted to manage DDL changes to ElasticSearch also, and since we were already using Flyway for PostgreSQL, I looked into customizing Flyway to also support non-sql migrations. I have managed to do it for both the migration system and the history table. We have enjoyed the simplicity of the sql-files which with proper naming does the migration automatically. I wanted to use the same solution for elastic search, since that was a similar structure to the DDL change statements as well. I also did a small PoC to prove that the history table could be done in-memory directly, or through the use of the in-memory db “H2”.

Below a screenshot of the project; should you be interested in more detail, I would be happy show you some code.

https://snag.gy/iGtJsl.jpg

Cheerz!

Chris

Hi Chris. Anyway to get in touch to talk more about flyway integration with elasticsearch?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Elastic Support
No information is available for this page.
Read more >
Getting help | Elasticsearch Service Documentation | Elastic
Support is provided by email or through the Elastic Support Portal. The main focus of support is to ensure your Elasticsearch Service deployment...
Read more >
Elastic Support
As the company behind Elasticsearch, we bring our features and support to your Elastic clusters in the cloud. Start free trial. Subscribe to...
Read more >
Getting help | Elasticsearch Platform and Solutions ...
The Elastic Support Portal is the central place where you can access all of your cases, subscriptions, and licenses. Within a few hours...
Read more >
Working with Elastic Support: Best Practices
Making use of the community forums. As any healthy open source project would, Elasticsearch, Kibana, Beats, and Logstash have vibrant and helpful communities....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found