feat: support core cpp sdk (#30)

* support core cpp sdk

* fix

* fix

* fix

* fix cr
This commit is contained in:
feihongxu0824
2026-01-26 20:01:44 +08:00
committed by GitHub
parent 5e2492b2cb
commit 0ebf5621a6
398 changed files with 1303 additions and 1166 deletions
+2 -2
View File
@@ -13,8 +13,8 @@
// limitations under the License.
#pragma once
#include "framework/index_builder.h"
#include "framework/index_meta.h"
#include <zvec/core/framework/index_builder.h>
#include <zvec/core/framework/index_meta.h>
#include "ivf_centroid_index.h"
namespace zvec {
+2 -2
View File
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "ivf_centroid_index.h"
#include "framework/index_framework.h"
#include <core/quantizer/quantizer_params.h>
#include <zvec/core/framework/index_framework.h>
#include "metric/metric_params.h"
#include "quantizer/quantizer_params.h"
namespace zvec {
namespace core {
+2 -2
View File
@@ -13,8 +13,8 @@
// limitations under the License.
#pragma once
#include <ailego/container/params.h>
#include "framework/index_framework.h"
#include <zvec/ailego/container/params.h>
#include <zvec/core/framework/index_framework.h>
#include "ivf_params.h"
#include "ivf_utility.h"
@@ -13,8 +13,8 @@
// limitations under the License.
#pragma once
#include <ailego/utility/time_helper.h>
#include "framework/index_framework.h"
#include <zvec/ailego/utility/time_helper.h>
#include <zvec/core/framework/index_framework.h>
namespace zvec {
namespace core {
+2 -2
View File
@@ -13,9 +13,9 @@
// limitations under the License.
#pragma once
#include "framework/index_framework.h"
#include <core/quantizer/quantizer_params.h>
#include <zvec/core/framework/index_framework.h>
#include "metric/metric_params.h"
#include "quantizer/quantizer_params.h"
#include "ivf_index_format.h"
#include "ivf_params.h"
#include "ivf_utility.h"
+2 -2
View File
@@ -13,9 +13,9 @@
// limitations under the License.
#pragma once
#include "framework/index_framework.h"
#include <core/quantizer/quantizer_params.h>
#include <zvec/core/framework/index_framework.h>
#include "metric/metric_params.h"
#include "quantizer/quantizer_params.h"
#include "ivf_distance_calculator.h"
#include "ivf_index_format.h"
#include "ivf_params.h"
+1 -1
View File
@@ -14,7 +14,7 @@
#pragma once
#include <ailego/container/bitmap.h>
#include "framework/index_framework.h"
#include <zvec/core/framework/index_framework.h>
namespace zvec {
namespace core {
+1 -1
View File
@@ -13,7 +13,7 @@
// limitations under the License.
#pragma once
#include "framework/index_searcher.h"
#include <zvec/core/framework/index_searcher.h>
#include "ivf_entity.h"
namespace zvec {
+2 -2
View File
@@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "ivf_searcher.h"
#include <ailego/utility/time_helper.h>
#include <framework/index_segment_storage.h>
#include <zvec/ailego/utility/time_helper.h>
#include <zvec/core/framework/index_segment_storage.h>
#include "ivf_centroid_index.h"
#include "ivf_index_provider.h"
#include "ivf_params.h"
+1 -1
View File
@@ -13,7 +13,7 @@
// limitations under the License.
#pragma once
#include "framework/index_searcher.h"
#include <zvec/core/framework/index_searcher.h>
#include "ivf_centroid_index.h"
#include "ivf_entity.h"
#include "ivf_searcher_context.h"
@@ -13,7 +13,7 @@
// limitations under the License.
#pragma once
#include <ailego/container/heap.h>
#include <zvec/ailego/container/heap.h>
#include "ivf_entity.h"
#include "ivf_utility.h"
+2 -2
View File
@@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "ivf_streamer.h"
#include <ailego/utility/time_helper.h>
#include <framework/index_segment_storage.h>
#include <zvec/ailego/utility/time_helper.h>
#include <zvec/core/framework/index_segment_storage.h>
#include "ivf_centroid_index.h"
#include "ivf_index_provider.h"
#include "ivf_params.h"
+1 -1
View File
@@ -14,7 +14,7 @@
#ifndef __IVF_STREAMER_H__
#define __IVF_STREAMER_H__
#include "framework/index_streamer.h"
#include <zvec/core/framework/index_streamer.h>
#include "ivf_centroid_index.h"
#include "ivf_entity.h"
#include "ivf_searcher_context.h"
+1 -1
View File
@@ -19,7 +19,7 @@
#include <numeric>
#include <vector>
#include <ailego/utility/matrix_helper.h>
#include <ailego/utility/time_helper.h>
#include <zvec/ailego/utility/time_helper.h>
namespace zvec {
namespace core {