Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions engine/src/main/java/com/arcadedb/schema/IndexMetadata.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
package com.arcadedb.schema;

import com.arcadedb.serializer.json.JSONObject;

import java.util.*;

/*
* Copyright © 2021-present Arcade Data Ltd (info@arcadedata.com)
*
Expand All @@ -18,7 +12,16 @@
* 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.
*
* SPDX-FileCopyrightText: 2021-present Arcade Data Ltd (info@arcadedata.com)
* SPDX-License-Identifier: Apache-2.0
*/
package com.arcadedb.schema;

import com.arcadedb.serializer.json.JSONObject;

import java.util.*;

public class IndexMetadata {
public String typeName;
public List<String> propertyNames;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
package com.arcadedb.schema;

import com.arcadedb.serializer.json.JSONObject;
import io.github.jbellis.jvector.vector.VectorSimilarityFunction;

/*
* Copyright © 2021-present Arcade Data Ltd (info@arcadedata.com)
*
Expand All @@ -17,7 +12,15 @@
* 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.
*
* SPDX-FileCopyrightText: 2021-present Arcade Data Ltd (info@arcadedata.com)
* SPDX-License-Identifier: Apache-2.0
*/
package com.arcadedb.schema;

import com.arcadedb.serializer.json.JSONObject;
import io.github.jbellis.jvector.vector.VectorSimilarityFunction;

public class LSMVectorIndexMetadata extends IndexMetadata {
public int dimensions;
public VectorSimilarityFunction similarityFunction = VectorSimilarityFunction.COSINE;
Expand Down