Upgrade OpenSearch to 2.19.0 and fix hybrid pagination (#2072)

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
This commit is contained in:
nl 2025-05-14 09:22:09 +09:00 committed by GitHub
parent 05e7f0dded
commit 6d9d20a8f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -400,6 +400,7 @@ export default {
if (process.env.OPENSEARCH_MODEL_ID) { if (process.env.OPENSEARCH_MODEL_ID) {
osQuery = { osQuery = {
hybrid: { hybrid: {
pagination_depth: 50,
queries: [ queries: [
{ {
bool: { bool: {

View File

@ -163,7 +163,7 @@ services:
- "CONNECT=localhost:4566" - "CONNECT=localhost:4566"
cpu_shares: "${CPU_SHARES_LOW}" cpu_shares: "${CPU_SHARES_LOW}"
opensearch: opensearch:
image: opensearchproject/opensearch:2.17.0 image: opensearchproject/opensearch:2.19.0
container_name: opensearch container_name: opensearch
profiles: profiles:
- search - search
@ -188,7 +188,7 @@ services:
command: ["bash", "/usr/share/opensearch/init-opensearch.sh"] command: ["bash", "/usr/share/opensearch/init-opensearch.sh"]
cpu_shares: "${CPU_SHARES_LOW}" cpu_shares: "${CPU_SHARES_LOW}"
os-dashboard: os-dashboard:
image: opensearchproject/opensearch-dashboards:2.17.0 image: opensearchproject/opensearch-dashboards:2.19.0
container_name: os-dashboard container_name: os-dashboard
restart: unless-stopped restart: unless-stopped
profiles: profiles: