diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-22 10:56:29 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-23 13:07:02 +0300 |
| commit | 04acd3d6b9a95ff49d430eaf4f65aabc25282d88 (patch) | |
| tree | 00e643a8a5678d4c8dcdce77afe5604860e21612 /src/__phutil_library_map__.php | |
| parent | 0b466b90271553d0c4f620e326305453a4b23dd7 (diff) | |
| download | phorge-elasticsearch-modern-04acd3d6b9a95ff49d430eaf4f65aabc25282d88.tar.gz phorge-elasticsearch-modern-04acd3d6b9a95ff49d430eaf4f65aabc25282d88.zip | |
Engine: Add setVersion() with strict validation
Engine accepts only versions 7 and above (covering ES 7.x, 8.x, and
OpenSearch 1.x/2.x/3.x via the typeless API). Anything below 7
raises with a clear message pointing at the bundled engine for ES 5
users.
🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'src/__phutil_library_map__.php')
| -rw-r--r-- | src/__phutil_library_map__.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 298810e..d365d58 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -10,12 +10,14 @@ phutil_register_library_map(array( '__library_version__' => 2, 'class' => array( 'VyOSElasticModernFulltextStorageEngine' => 'engine/VyOSElasticModernFulltextStorageEngine.php', + 'VyOSElasticModernFulltextStorageEngineTestCase' => '__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php', 'VyOSElasticModernHost' => 'host/VyOSElasticModernHost.php', 'VyOSElasticModernHostTestCase' => '__tests__/VyOSElasticModernHostTestCase.php', ), 'function' => array(), 'xmap' => array( 'VyOSElasticModernFulltextStorageEngine' => 'PhabricatorFulltextStorageEngine', + 'VyOSElasticModernFulltextStorageEngineTestCase' => 'PhutilTestCase', 'VyOSElasticModernHost' => 'PhabricatorSearchHost', 'VyOSElasticModernHostTestCase' => 'PhutilTestCase', ), |
