Skip to content

Commit

Permalink
add oss license
Browse files Browse the repository at this point in the history
  • Loading branch information
Shanfeng Pang committed Apr 30, 2024
1 parent cbd3e35 commit 548f900
Show file tree
Hide file tree
Showing 14 changed files with 211 additions and 2 deletions.
15 changes: 15 additions & 0 deletions src/VectorIndex/Common/BM25InfoInDataParts.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include <VectorIndex/Common/BM25InfoInDataParts.h>

#include <Common/logger_useful.h>
Expand Down
15 changes: 15 additions & 0 deletions src/VectorIndex/Common/BM25InfoInDataParts.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#pragma once

#include <base/types.h>
Expand Down
15 changes: 15 additions & 0 deletions src/VectorIndex/Common/VIPartReader.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include <VectorIndex/Common/VIPartReader.h>

namespace VectorIndex
Expand Down
16 changes: 16 additions & 0 deletions src/VectorIndex/Storages/HybridSearchResult.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/


#pragma once

#include <Columns/IColumn.h>
Expand Down
15 changes: 15 additions & 0 deletions src/VectorIndex/Storages/MergeTreeBaseSearchManager.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include <VectorIndex/Storages/MergeTreeBaseSearchManager.h>

namespace DB
Expand Down
15 changes: 15 additions & 0 deletions src/VectorIndex/Storages/MergeTreeBaseSearchManager.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#pragma once

#include <mutex>
Expand Down
15 changes: 15 additions & 0 deletions src/VectorIndex/Storages/MergeTreeHybridSearchManager.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include <DataTypes/DataTypeArray.h>
#include <DataTypes/DataTypeNothing.h>
#include <DataTypes/DataTypeNullable.h>
Expand Down
15 changes: 15 additions & 0 deletions src/VectorIndex/Storages/MergeTreeHybridSearchManager.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#pragma once

#include <mutex>
Expand Down
15 changes: 15 additions & 0 deletions src/VectorIndex/Storages/MergeTreeTextSearchManager.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include <DataTypes/DataTypeArray.h>
#include <DataTypes/DataTypeNothing.h>
#include <DataTypes/DataTypeNullable.h>
Expand Down
15 changes: 15 additions & 0 deletions src/VectorIndex/Storages/MergeTreeTextSearchManager.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#pragma once

#include <mutex>
Expand Down
15 changes: 15 additions & 0 deletions src/VectorIndex/Storages/StorageSystemVIs.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include <Access/ContextAccess.h>
#include <Columns/ColumnString.h>
#include <DataTypes/DataTypeString.h>
Expand Down
15 changes: 15 additions & 0 deletions src/VectorIndex/Storages/StorageSystemVIs.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#pragma once

#include <boost/noncopyable.hpp>
Expand Down
15 changes: 15 additions & 0 deletions src/VectorIndex/Storages/StorageSystemVIsWithPart.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include "StorageSystemVIsWithPart.h"
#include <mutex>
#include <set>
Expand Down
17 changes: 15 additions & 2 deletions src/VectorIndex/Storages/StorageSystemVIsWithPart.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
#pragma once
/*
* Copyright (2024) MOQI SINGAPORE PTE. LTD. and/or its affiliates
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#pragma once

#include <Storages/IStorage.h>


namespace DB
{

Expand Down

0 comments on commit 548f900

Please sign in to comment.