summaryrefslogtreecommitdiff
path: root/src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-22 11:52:43 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-23 13:48:42 +0300
commit58ab9f6cacf8735adec2413e7404b34fc129f8a5 (patch)
tree48df96daaad6cd804c02e46bcb8fe17c99294e69 /src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php
parent3a4580e35a0c7a6480aeee9ec4acf90d0fa85326 (diff)
downloadphorge-elasticsearch-modern-58ab9f6cacf8735adec2413e7404b34fc129f8a5.tar.gz
phorge-elasticsearch-modern-58ab9f6cacf8735adec2413e7404b34fc129f8a5.zip
Engine: Wire executeSearch, index lifecycle, buildSpec
Full public surface lands. executeSearch normalizes \$types before both URL building and body filter construction. buildSpec uses the bundled PhabricatorElasticsearchQueryBuilder (final, by composition) and emits bool.must_not.ids for the exclude parameter from day one. buildSpec also injects the body-level documentType filter via buildTypeFilter. indexExists/indexIsSane/initIndex/getIndexStats mirror the bundled engine but without the version-branching dead code. The private check() and normalizeConfigValue() helpers are copied verbatim from the bundled engine (no behavior difference). catch (Exception) widened to catch (Throwable) per XHP132. normalizeConfigValue() one-liners braced per XHP24. Lint clean. 🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php')
0 files changed, 0 insertions, 0 deletions