Jump to content

Recommended Posts

Posted

Was planning on moving from ElasticSearch to OpenSearch in the weekend and wanted to check if anyone had any experience with going with the newest version (2.6.0). Going by the OpenSearch documentation it states they are only introducing breaking changes between major versions, but wanted to see if anyone had any experience with it as it is not always easy to do full testing in a dev environment.

Can see the following at line 98 applications\core\modules\admin\discovery\search.php, and would assume one could just take >= 2.2 and bump it to >= 2.7 (Any other constants/variables/strings/etc that needs to be changed?)

if ( version_compare( $response['version']['number'], '2.2', '>=' ) )
{
    throw new \DomainException( \IPS\Member::loggedIn()->language()->addToStack('search_opensearch_server_unsupported_version', FALSE, array( 'sprintf' => array( $response['version']['number'] ) ) ) );
}

 

Cheers

  • 1 year later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...