summaryrefslogtreecommitdiff
path: root/src/engine/VyOSElasticModernFulltextStorageEngine.php
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-22 10:58:20 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-23 13:14:07 +0300
commit249feeb0a6d43b8f98f1e4d48e5cc3f6edc19998 (patch)
treed4dcd130aafc661bb859a228dc61bd6795b3ad0a /src/engine/VyOSElasticModernFulltextStorageEngine.php
parented0dee0333acf8a1c79845bba6455506c8210bad (diff)
downloadphorge-elasticsearch-modern-249feeb0a6d43b8f98f1e4d48e5cc3f6edc19998.tar.gz
phorge-elasticsearch-modern-249feeb0a6d43b8f98f1e4d48e5cc3f6edc19998.zip
Engine: Add getDocumentUri() helper for typeless document URLs
🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'src/engine/VyOSElasticModernFulltextStorageEngine.php')
-rw-r--r--src/engine/VyOSElasticModernFulltextStorageEngine.php4
1 files changed, 4 insertions, 0 deletions
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';
}