From 249feeb0a6d43b8f98f1e4d48e5cc3f6edc19998 Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Fri, 22 May 2026 10:58:20 +0300 Subject: Engine: Add getDocumentUri() helper for typeless document URLs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated by [robots](https://vyos.io) --- src/engine/VyOSElasticModernFulltextStorageEngine.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/engine/VyOSElasticModernFulltextStorageEngine.php') diff --git a/src/engine/VyOSElasticModernFulltextStorageEngine.php b/src/engine/VyOSElasticModernFulltextStorageEngine.php index 2570311..cf9278b 100644 --- a/src/engine/VyOSElasticModernFulltextStorageEngine.php +++ b/src/engine/VyOSElasticModernFulltextStorageEngine.php @@ -32,6 +32,10 @@ abstract class VyOSElasticModernFulltextStorageEngine return $this->version; } + public function getDocumentUri($type, $phid) { + return '/_doc/'.$phid; + } + public function getEngineIdentifier() { return 'elasticsearch-modern'; } -- cgit v1.2.3