Skip to content

Conversation

@Akhil-Pathivada
Copy link
Contributor

@Akhil-Pathivada Akhil-Pathivada commented Dec 12, 2025

Summary

Adds support for memory-optimized search in OSS OpenSearch. This feature is available for OpenSearch 3.1+ with the FAISS engine.

Changes

Backend

  • Added memory_optimized_search parameter to OSSOpenSearchIndexConfig class
  • Implemented version-specific setting rule in VERSION_SPECIFIC_SETTING_RULES that automatically applies knn.memory_optimized_search setting when:
    • OpenSearch version >= 3.1
    • Engine is FAISS
    • memory_optimized_search is enabled

Frontend

  • Added memory_optimized_search to CaseConfigParamType enum
  • Created CaseConfigParamInput_MEMORY_OPTIMIZED_SEARCH_OSSOpensearch UI input component
  • Added the input to both AWSOpensearchLoadingConfig and AWSOpenSearchPerformanceConfig lists
  • Input is conditionally displayed only when FAISS engine is selected

Testing

  • Verified setting is correctly applied to index settings (knn.memory_optimized_search: true)
  • Confirmed conditional UI display based on engine type
  • Tested with OpenSearch 3.1.0 and FAISS engine
  • Validated that setting is only applied when all conditions are met

@Akhil-Pathivada Akhil-Pathivada force-pushed the feature/oss-opensearch-memory-optimized-search branch from fcc7376 to 3dc6dc7 Compare December 12, 2025 16:21
@Akhil-Pathivada Akhil-Pathivada force-pushed the feature/oss-opensearch-memory-optimized-search branch from 3dc6dc7 to d30f82b Compare December 12, 2025 16:36
@Akhil-Pathivada Akhil-Pathivada changed the title feat(oss-opensearch): Add memory-optimized search configuration support feat(oss-opensearch): Add memory-optimized search configuration option Dec 12, 2025
@Akhil-Pathivada Akhil-Pathivada marked this pull request as ready for review December 12, 2025 16:44
@Akhil-Pathivada Akhil-Pathivada marked this pull request as draft December 12, 2025 16:44
@Akhil-Pathivada Akhil-Pathivada marked this pull request as ready for review December 12, 2025 16:44
@Akhil-Pathivada
Copy link
Contributor Author

/assign @alwayslove2013

@sre-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Akhil-Pathivada, alwayslove2013
To complete the pull request process, please assign xuanyang-cn after the PR has been reviewed.
You can assign the PR to them by writing /assign @xuanyang-cn in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@alwayslove2013 alwayslove2013 merged commit 5f12213 into zilliztech:main Dec 19, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants