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:
parent
05e7f0dded
commit
6d9d20a8f0
@ -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: {
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user