milvus/cpp/src/db/engine/EngineFactory.h
starlord 2c69cc3734 fix index nlist bug
Former-commit-id: f06514ca1962826241166f4ec55f6a4acd1a0105
2019-08-23 10:43:49 +08:00

27 lines
809 B
C++

/*******************************************************************************
* Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited.
* Proprietary and confidential.
******************************************************************************/
#pragma once
#include "db/Status.h"
#include "ExecutionEngine.h"
namespace zilliz {
namespace milvus {
namespace engine {
class EngineFactory {
public:
static ExecutionEnginePtr Build(uint16_t dimension,
const std::string& location,
EngineType index_type,
MetricType metric_type,
int32_t nlist);
};
}
}
}