This is ZomboDB v4.0.0. It is the first release to support Elasticsearch 2.4.6.
Other than support for the latest ES 2.4 version, nothing is new relative to ZomboDB v3.2.0. ZomboDB v4.0.0 with Elasticsearch 2.4.6 works exactly the same way as it did with ES 1.7. The SQL syntax and ZomboDB's query syntax are all 100% backwards compatible.
The physical ES indexes are not (see below), however.
One thing to note is that ZomboDB v4 no longer supports the SIREn plugin for performing cross-index joins. The driving force behind this is that the developers of that plugin have abandoned it. While ZomboDB has a naive implementation for cross-index joins already built-in, I'm working on a more sophisticated implementation which will provide the same (or better!) performance. Look for this feature soon.
As best I can tell, a plugin has to specify the exact ES version it supports. Since as of today, the latest ES version is 2.4.6, that's what ZomboDB v4.0 supports.
(as an aside, if you happen to know how to define
plugin-descriptor.properties such that it can support multiple versions of ES, please open an issue and let me know!)
If so, just go download it now, and enjoy!
This means you've been using v3.x (or earlier) and probably want to upgrade. Here's the deal – there's no migration process. Since you're upgrading your ES cluster too, you need to treat this as a brand new ZomboDB installation.
In general, the process needs to follow these steps
USING zombodbindexes (use
SELECT pg_get_indexdef('index_name'::regclass)to save the definition of each one
curl -XDELETEis the easiest way)
ALTER EXTENSION zombodb UPDATE;
VACUUMeach table that had a ZomboDB index
The plan is to continue to support Elasticsearch 1.7 along with Elasticsearch 2.4.6+. Since ZomboDB's code changes between the two are minimal, I plan to fix reported bugs in both places (where applicable).
Beyond that, support for ES 5 (and the upcoming ES 6) will be coming soon too. These things take time, and supporting concurrent versions takes a lot of development and mental cycles.
I want to specifically thank a Github user named @pashinin. He did all the hard work to port ZomboDB to the ES 2.x series. It's taken me awhile to finally release it, but if he never did the initial work, we wouldn't be here today. So, @pashinin: THANKS!