From aa26e3bed55d687dd9023648b57314a571cf7cfd Mon Sep 17 00:00:00 2001 From: jzonthemtn Date: Mon, 30 Dec 2024 15:20:42 -0500 Subject: [PATCH] Working on converting to a standalone app. --- .../java/org/opensearch/eval/model/data/AbstractData.java | 8 ++++++++ .../org/opensearch/eval/model/data/ClickThroughRate.java | 8 ++++++++ .../java/org/opensearch/eval/model/data/QuerySet.java | 8 ++++++++ .../eval/model/data/RankAggregatedClickThrough.java | 8 ++++++++ .../opensearch/eval/runners/AbstractQuerySetRunner.java | 3 +++ 5 files changed, 35 insertions(+) diff --git a/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/AbstractData.java b/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/AbstractData.java index f815b3a..1aaab07 100644 --- a/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/AbstractData.java +++ b/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/AbstractData.java @@ -1,3 +1,11 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + */ package org.opensearch.eval.model.data; public abstract class AbstractData { diff --git a/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/ClickThroughRate.java b/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/ClickThroughRate.java index 6edcf40..b389130 100644 --- a/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/ClickThroughRate.java +++ b/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/ClickThroughRate.java @@ -1,3 +1,11 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + */ package org.opensearch.eval.model.data; import java.util.UUID; diff --git a/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/QuerySet.java b/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/QuerySet.java index 9f5327c..712005a 100644 --- a/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/QuerySet.java +++ b/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/QuerySet.java @@ -1,3 +1,11 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + */ package org.opensearch.eval.model.data; import java.util.Collection; diff --git a/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/RankAggregatedClickThrough.java b/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/RankAggregatedClickThrough.java index 90c74be..770b9cf 100644 --- a/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/RankAggregatedClickThrough.java +++ b/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/model/data/RankAggregatedClickThrough.java @@ -1,3 +1,11 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + */ package org.opensearch.eval.model.data; import java.util.UUID; diff --git a/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/runners/AbstractQuerySetRunner.java b/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/runners/AbstractQuerySetRunner.java index 306eaf6..3260ae0 100644 --- a/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/runners/AbstractQuerySetRunner.java +++ b/opensearch-search-quality-evaluation-framework/src/main/java/org/opensearch/eval/runners/AbstractQuerySetRunner.java @@ -10,6 +10,9 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; +import org.opensearch.client.opensearch.core.SearchRequest; +import org.opensearch.client.opensearch.core.SearchResponse; +import org.opensearch.eval.Constants; import org.opensearch.eval.engine.SearchEngine; import java.util.ArrayList;