fix: CMake export, C API exports, drop/create scalar index, release CI#493
Open
ghshhf wants to merge 1 commit into
Open
fix: CMake export, C API exports, drop/create scalar index, release CI#493ghshhf wants to merge 1 commit into
ghshhf wants to merge 1 commit into
Conversation
…uild CI, drop/create scalar index - Fix alibaba#468: Add CMake package export support (find_package(zvec)) - Add install(EXPORT) to all CMakeLists.txt - Create cmake/zvecConfig.cmake.in template - Support find_package(zvec COMPONENTS c_api) - Fix alibaba#427: Support DROP + CREATE scalar index - Modify segment.cc to allow recreation of scalar index - Fix alibaba#443: Export missing C API functions - Add zvec_reranker_create_rrf/weighted/destroy - Add zvec_multi_query_set_reranker - Add zvec_doc_set_sparse_vector - Add alibaba#390: Release pre-built libraries CI workflow - Add .github/workflows/09-release-build.yml - Multi-platform: Ubuntu 20.04/22.04/24.04, macOS 13/14, Windows 2022/2025 - Add Fedora 39/40/41 builds via Docker container - Build both shared and static libraries - Add tests for drop-and-recreate scalar index
|
ghshhf seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
alleanathewondergirl
approved these changes
Jun 17, 2026
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.
Summary
This PR fixes multiple issues and adds CI improvements.
Changes
Fix #468: Add CMake package export support
install(EXPORT ...)toCMakeLists.txt(root, src, src/binding/c)cmake/zvecConfig.cmake.intemplatefind_package(zvec)andfind_package(zvec COMPONENTS c_api)Fix #427: Support DROP + CREATE scalar index
src/db/index/segment/segment.ccto allow recreation of scalar index after dropFeature_DropAndRecreateScalarIndex,Feature_DropAndRecreateScalarIndex_MultipleFieldsFix #443: Export missing C API functions
zvec_reranker_create_rrf(),zvec_reranker_create_weighted(),zvec_reranker_destroy()zvec_multi_query_set_reranker()zvec_doc_set_sparse_vector()ZVEC_EXPORTand proper opaque pointer typesAdd #390: Release pre-built libraries CI workflow
.github/workflows/09-release-build.ymlv*or manual dispatchTest plan
find_package(zvec))