Skip to content

Commit

Permalink
Update Apache Lucene to 9.7.0-snapshot-204acc3
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta committed Jun 2, 2023
1 parent 1860d7d commit ee021e4
Show file tree
Hide file tree
Showing 51 changed files with 45 additions and 31 deletions.
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
opensearch = 3.0.0
lucene = 9.7.0-snapshot-4d1ed9e
lucene = 9.7.0-snapshot-204acc3

bundled_jdk_vendor = adoptium
bundled_jdk = 20.0.1+9
Expand Down
24 changes: 17 additions & 7 deletions libs/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,23 @@ tasks.named('forbiddenApisMain').configure {
tasks.named("thirdPartyAudit").configure {
ignoreMissingClasses(
// from log4j
'org.osgi.framework.Bundle',
'org.osgi.framework.BundleActivator',
'org.osgi.framework.BundleContext',
'org.osgi.framework.BundleEvent',
'org.osgi.framework.SynchronousBundleListener',
'org.osgi.framework.wiring.BundleWire',
'org.osgi.framework.wiring.BundleWiring'
*[
'org.osgi.framework.Bundle',
'org.osgi.framework.BundleActivator',
'org.osgi.framework.BundleContext',
'org.osgi.framework.BundleEvent',
'org.osgi.framework.SynchronousBundleListener',
'org.osgi.framework.wiring.BundleWire',
'org.osgi.framework.wiring.BundleWiring',
] + (BuildParams.runtimeJavaVersion < JavaVersion.VERSION_20) ? [] : [
'jdk.incubator.vector.ByteVector',
'jdk.incubator.vector.FloatVector',
'jdk.incubator.vector.IntVector',
'jdk.incubator.vector.ShortVector',
'jdk.incubator.vector.Vector',
'jdk.incubator.vector.VectorOperators',
'jdk.incubator.vector.VectorSpecies'
]
)
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3aa698cf90f074cbf24acfd7feaaad84c5a6f829

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c31671978777d97c026b13decfbef1d7eeed4410

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e31f7c161ad2b7652b1ac9100b4fa67d52be86eb

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ed13aaa5843c76ba8bb9fcd1cac6de8855ea7f1c

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f8673a2b86d3868e9ef2745d1d3fa9ad5a63e84f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f7a585d5f62033f19a5ec79b66a74cc24c9e9d10

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
40ba622c3aa91a0a8f2747617fef8f59bf212345

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e08432a3db0bde29f425812896bd695c5477b05f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a44008e83286060f0265a32f9a9b586e86ec03b1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5aa5989b931c68eee90b22bca3f1f280a7d5c1ee

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2326fb4762cd14eff6bea770d5c85a848e7a2482

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3aa698cf90f074cbf24acfd7feaaad84c5a6f829

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b3251c58b21c5c205c63bbe618c0d3c1393908e1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2313a0755a5774eb5dfcdc116dc15bd9367c8cc1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
25fddcaf47d5614f48dc264f79151eb87990abd9

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7c2aad4c1baa818a94bd787615e70824e6ae3a9d

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
56211acb2a31b1967568eba9953db502a53f9010

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c45b1847150e2e2e6302177b41faf95df2ca4fbf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d40fe6400f21564ccb50b6716ec42d8dcd526b9d

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e9347773d0b269768c58dd0b438bdc4b450f9185

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7055502c9a77b9a93d1b96c99397fd765dd7891f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a2c5a7be5887dacf89c251936c3f3388ca20d28e

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1a076a8db84fa85634cc4894ee4fc78b5e69525c

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
import org.apache.lucene.search.Query;
import org.apache.lucene.search.TermQuery;
import org.apache.lucene.util.QueryBuilder;
import org.apache.lucene.util.TermAndBoost;
import org.apache.lucene.util.graph.GraphTokenStreamFiniteStrings;
import org.opensearch.OpenSearchException;
import org.opensearch.common.io.stream.StreamInput;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
import org.apache.lucene.search.Query;
import org.apache.lucene.search.TermQuery;
import org.apache.lucene.util.BytesRef;
import org.apache.lucene.util.TermAndBoost;
import org.opensearch.common.lucene.search.Queries;
import org.opensearch.index.mapper.MappedFieldType;
import org.opensearch.index.query.AbstractQueryBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ public abstract class AnalysisFactoryTestCase extends OpenSearchTestCase {
// LUCENE-10352
.put("daitchmokotoffsoundex", Void.class)
.put("persianstem", Void.class)
// https://github.com/apache/lucene/pull/12169
.put("word2vecsynonym", Void.class)
.immutableMap();

static final Map<String, Class<?>> KNOWN_CHARFILTERS = new MapBuilder<String, Class<?>>()
Expand Down

0 comments on commit ee021e4

Please sign in to comment.