Browse Source

fix: OpenSearch 精确过滤/聚合改用 .keyword 子字段

resource_type / resource_id / granularity / language / category 的 term 过滤
与 terms 聚合统一指向 .keyword 子字段,避免分词字段精确匹配失效

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
visuddhinanda 1 month ago
parent
commit
292778a2d7
1 changed files with 234 additions and 228 deletions
  1. 234 228
      api-v13/app/Services/OpenSearchService.php

File diff suppressed because it is too large
+ 234 - 228
api-v13/app/Services/OpenSearchService.php


Some files were not shown because too many files changed in this diff