Skip to content

Release 0.6.0

Latest
Compare
Choose a tag to compare
@lonvia lonvia released this 29 Oct 09:46
· 36 commits to master since this release

This release adds a port of Photon to the latest version of OpenSearch. The version is not database compatible with the ElasticSearch version and makes some changes to the way search works, creating simpler and faster search queries for some especially complex cases. This version of Photon also adds a new structured search endpoint (thanks @tobiass-sdl). The OpenSearch version is still experimental at this stage. In particular, expect the database schema to change some more as we are starting to take advantage of the improvements that happend since the currently used ElasticSearch 5 version. The long-term plan is to make the OpenSearch version the main and only Photon version with the major 1.0 release.

This release also sees a switch from Maven to Gradle for the build system. Gradle offers better support for building multiple flavours of Photon and gives better control over dependencies.

Other changes in this release are:

  • new configuration parameters for setting the maximum number of returned results (thanks @karussell)
  • fix importing addresses of objects that are not part of an address themselves (e.g. lakes, mountains)
  • allow multiple CORS origins on the command line (thanks @burleight)

The ElasticSearch version of Photon is compatible with databases from version 0.5.0. To update, simply download and start the newest Photon version.

The OpenSearch version of Photon needs a different database format. We currently provide dumps in the experimental section of the download server. Please note that experimental dumps are usually made for the master version of Photon, not the 0.6.0 release specifically. The dumps are not prepared for structured searches. You need to create your own database to make use of this new feature.