Skip to content

Commit

Permalink
updated to use OpenSearch 2.8 and Lucene 9.6; updated a few classes d…
Browse files Browse the repository at this point in the history
…ue to reorganization of code in core

Signed-off-by: Mark Cohen <[email protected]>
  • Loading branch information
macohen committed Nov 15, 2023
1 parent 2c34bc4 commit 632837e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Build & Test Learning to Rank Plugin

on:
schedule:
- cron: '0 0 * * *' # every night
Expand All @@ -12,7 +13,6 @@ on:
- "feature/**"
workflow_dispatch:


jobs:
Build-ltr-plugin:
strategy:
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ publishing {
developers {
developer {
name = "OpenSearch"
url = "https://github.com/opensearch-project/search-processor"
url = "https://github.com/opensearch-project/opensearch-learning-to-rank-base"
}
}
}
Expand Down Expand Up @@ -170,4 +170,4 @@ jacocoTestReport {
// TODO: Enable these checks
dependencyLicenses.enabled = false
thirdPartyAudit.enabled = false
loggerUsageCheck.enabled = false
loggerUsageCheck.enabled = false
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
import org.opensearch.common.xcontent.XContentFactory;
import org.opensearch.core.xcontent.XContentParser;
import org.opensearch.common.xcontent.XContentType;
import org.opensearch.core.internal.io.Streams;
import org.opensearch.common.util.io.Streams;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/o19s/es/ltr/utils/Suppliers.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package com.o19s.es.ltr.utils;

import com.o19s.es.ltr.ranker.LtrRanker;
import org.opensearch.Assertions;
import org.opensearch.core.Assertions;

import java.util.Objects;
import java.util.function.Supplier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import com.o19s.es.ltr.ranker.linear.LinearRankerTests;
import org.apache.lucene.tests.util.LuceneTestCase;
import org.opensearch.common.ParsingException;
import org.opensearch.core.internal.io.Streams;
import org.opensearch.common.util.io.Streams;
import org.hamcrest.CoreMatchers;

import java.io.ByteArrayOutputStream;
Expand Down

0 comments on commit 632837e

Please sign in to comment.