This is an automated email from the ASF dual-hosted git repository. mkataria pushed a commit to branch OAK-11694_1 in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
commit 357665ac3a751bac47c505dabe07d9c9a09ba46d Author: Mohit Kataria <[email protected]> AuthorDate: Wed May 7 19:59:57 2025 +0530 OAK-11692: Added enricher status in inferenceConfig --- .../elastic/query/inference/VectorDocument.java | 56 ---------------------- 1 file changed, 56 deletions(-) diff --git a/oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/query/inference/VectorDocument.java b/oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/query/inference/VectorDocument.java deleted file mode 100644 index 2021bda439..0000000000 --- a/oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/query/inference/VectorDocument.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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://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. - */ -package org.apache.jackrabbit.oak.plugins.index.elastic.query.inference; - -import java.util.List; -import java.util.Map; - -public class VectorDocument { - - public static final String ID = "id"; - public static final String VECTOR = "vector"; - public static final String METADATA = "metadata"; - - public final String id; - - public final List<Float> vector; - - public final Map<String, Object> metadata; - - public VectorDocument() { - this.id = null; - this.vector = null; - this.metadata = null; - } - - public VectorDocument(String id, List<Float> vector, Map<String, Object> metadata) { - this.id = id; - this.vector = vector; - this.metadata = metadata; - } - - @Override - public String toString() { - return "VectorDocument{" + - "id='" + id + '\'' + - ", vector=" + vector + - ", metadata=" + metadata + - '}'; - } -} \ No newline at end of file
