summaryrefslogtreecommitdiff
path: root/src/engine/VyOSElasticModernFulltextStorageEngine.php
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-23 15:35:17 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-23 15:35:17 +0300
commita19f5c077c0ed8ee4d88c0c8d704995b155d3dc2 (patch)
tree73023931dcacea7664b75bba2884a3a77eeb9b99 /src/engine/VyOSElasticModernFulltextStorageEngine.php
parent4d27ac74aff1ca47db53510bf07e9d083635175b (diff)
downloadphorge-elasticsearch-modern-a19f5c077c0ed8ee4d88c0c8d704995b155d3dc2.tar.gz
phorge-elasticsearch-modern-a19f5c077c0ed8ee4d88c0c8d704995b155d3dc2.zip
Address PR 16 CR findings
- README cluster.search example uses 'phabricator/' to match host default (was '/phabricator'; both work for index name but the host uses path verbatim for the base URI). - Add VERIFICATION.md placeholder with the planned smoke-test matrix template; status notes v0.1.0 is pending IS-474. - Engine reindex: replace 'if ($time)' falsy check with 'if ($time !== null)' so a Unix epoch timestamp (0) is not silently dropped. 🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'src/engine/VyOSElasticModernFulltextStorageEngine.php')
-rw-r--r--src/engine/VyOSElasticModernFulltextStorageEngine.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/VyOSElasticModernFulltextStorageEngine.php b/src/engine/VyOSElasticModernFulltextStorageEngine.php
index 7fc7fd7..f290513 100644
--- a/src/engine/VyOSElasticModernFulltextStorageEngine.php
+++ b/src/engine/VyOSElasticModernFulltextStorageEngine.php
@@ -225,7 +225,7 @@ abstract class VyOSElasticModernFulltextStorageEngine
} else {
$spec[$field_name][] = $related_phid;
}
- if ($time) {
+ if ($time !== null) {
$spec[$field_name.'_ts'] = $time;
}
}