Repository navigation
Add semantic and knn_vector mappings - #147
Open
esmarkowski wants to merge 1 commit into
Open
esmarkowski wants to merge 1 commit into
esmarkowski wants to merge 1 commit into
Conversation
Adds the OpenSearch 3.1 semantic field type. model_id and search_model_id take a model id, class or class name and resolve to the remote id. knn_vector now maps data_type, space_type, mode, compression_level and model_id, and its docs use the faiss engine. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
esmarkowski
marked this pull request as ready for review
November 16, 2026 22:45
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the OpenSearch 3.1
semanticattribute type and the knn_vector mapping options that current OpenSearch supports.semanticmaps model_id, search_model_id, raw_field_type, semantic_info_field_name, chunking, semantic_field_search_analyzer, model_selection, dense_embedding_config, sparse_encoding_config and skip_existing_embedding. model_id and search_model_id resolve model classes throughResource.remote_id_for.knn_vectoradds data_type, space_type, mode, compression_level and model_id, and its examples use the faiss engine.Verified on OpenSearch 3.9.0. An on_disk, 32x knn_vector mapping round-trips. The server recognizes a semantic field and checks its model_id when the index is created.
Closes #140