Upgrade to Lucene 8.9 (#1080) (#1115)

This commit upgrades to the official lucene 8.9 release

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
This commit is contained in:
Nick Knize 2021-08-23 13:06:34 -04:00 committed by GitHub
parent c15e687bf9
commit e153629871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
48 changed files with 29 additions and 25 deletions

View File

@ -1,5 +1,5 @@
opensearch = 1.1.0
lucene = 8.8.2
lucene = 8.9.0
bundled_jdk_vendor = adoptopenjdk
bundled_jdk = 15.0.1+9

View File

@ -1 +0,0 @@
85c06b0d5b966e6d8a75dd568a6eb1a7c3b34bdd

View File

@ -0,0 +1 @@
c52e0f197d8f37fec8e679660a4814b8928e4db2

View File

@ -1 +0,0 @@
dcda3ccd38ca68e23ec57c8ca16d13553066672b

View File

@ -0,0 +1 @@
390ebbb1cdb3ab1e8e5286ae4d77d336fd3895ba

View File

@ -1 +0,0 @@
829b06a76ffaf0e551c5cda4a1e56990080ea6de

View File

@ -0,0 +1 @@
d7553997ad55671bb8c4c023f607f71463da4d0f

View File

@ -1 +0,0 @@
2c23e33c49fb255d96e0bf42ca7c58f030011727

View File

@ -0,0 +1 @@
99ae12d053d27e2b8d78d084e1bf1c893b896554

View File

@ -1 +0,0 @@
b0ccf32c2baa88815b89c157f19b264a24958180

View File

@ -0,0 +1 @@
144cbfb8c5a66ae9ac7abddb8855974599d1ea67

View File

@ -1 +0,0 @@
d7fb0c151dccc1954547acd3289cdf1369cda969

View File

@ -0,0 +1 @@
35f24955ae3d079a262a3aa7ac2ca2449c6d10ee

View File

@ -1 +0,0 @@
ca1b3379c99553c64d6b76271a5701f2bc2a2ce4

View File

@ -0,0 +1 @@
d2a6fb6327e54c4eccfaa0f8e74953cd69a31e07

View File

@ -1 +0,0 @@
2070b7dd21682b4b9bd23f77146a73d0e3f3b05f

View File

@ -0,0 +1 @@
37fd6e23bbb1c146c729bb32b6c043ed0642a73e

View File

@ -1 +0,0 @@
fa4b3c1d847f4bb91a3afaa990889dd164883d86

View File

@ -0,0 +1 @@
18f3bbff2b7672ea0b9cc18c8110ef69c763ae6b

View File

@ -1 +0,0 @@
f4a0475a1404d7be87e911f5c85f8b913ec9770b

View File

@ -0,0 +1 @@
fec88b5e71c699ceddc3ae0369481697ac9a5c96

View File

@ -1 +0,0 @@
e039fa90ee900c475bbc0943989ed5dccc556d3e

View File

@ -0,0 +1 @@
5c3f72357089f7f0c1ef44bbe7b4c67b6149a5af

View File

@ -1 +0,0 @@
207ac15287656b6ce61ea921fefec3070a8dd99d

View File

@ -0,0 +1 @@
9440fdd430b1c2dadbf3bc72656848d61e6f747f

View File

@ -1 +0,0 @@
2674644580108335c08a25fd2e0f0c7dee010700

View File

@ -0,0 +1 @@
94e80bdeab170b0ce1b36a32b6a790d23d7f6d7b

View File

@ -1 +0,0 @@
6eb956741169fe8a5643fa39b14aef2fc067d865

View File

@ -0,0 +1 @@
5ae97803efd3344597f6b6bdf823b18d130e8851

View File

@ -1 +0,0 @@
63b6e8e862c898d263b941ffa55fe6c85bcdf2df

View File

@ -0,0 +1 @@
09423a6dca2a9ba665e644d86a713d9a6b2b0d3f

View File

@ -1 +0,0 @@
a3a916c27c42ff6773c52d0be4045d4e5c00f7f8

View File

@ -0,0 +1 @@
067494d621ba2ef1f2e4da3ef167106f00b52051

View File

@ -1 +0,0 @@
1f324c3a6e1a7634bbada993b2c014d12d09cb83

View File

@ -0,0 +1 @@
c6bda4622abf240da6567a128242f46708fa6c00

View File

@ -1 +0,0 @@
67c6580f8a5187fdb7f9eb2404bdecc4635b3328

View File

@ -0,0 +1 @@
95a9d8cf8ca8eaf9f241fd323697d26d211721b2

View File

@ -1 +0,0 @@
b674deb4957a64db5c8f4afb9127400f4e65c334

View File

@ -0,0 +1 @@
af9f6c0287465e17a520b93b684474712433b293

View File

@ -1 +0,0 @@
227672b3b88c877b2df27608850ca15d834ec35c

View File

@ -0,0 +1 @@
c89f4e78712806e8d5bb4adfb21cf0722ad3f175

View File

@ -1 +0,0 @@
eb77b665a3b3e9ca6b3bb82c3342b843d9729d0d

View File

@ -0,0 +1 @@
0d1238c4e8bf4409b3bb3fbddf2e977b0f19b24b

View File

@ -1 +0,0 @@
36fd5301e7143f0fcb0ba933f96148dc1e132b66

View File

@ -0,0 +1 @@
98cb69950b48b829b6605a003c99aa7eb86fa9eb

View File

@ -71,7 +71,7 @@ public class Version implements Comparable<Version>, ToXContentFragment {
public static final Version V_EMPTY = new Version(V_EMPTY_ID, org.apache.lucene.util.Version.LATEST);
public static final Version V_1_0_0 = new Version(1000099, org.apache.lucene.util.Version.LUCENE_8_8_2);
public static final Version V_1_1_0 = new Version(1010099, org.apache.lucene.util.Version.LUCENE_8_8_2);
public static final Version V_1_1_0 = new Version(1010099, org.apache.lucene.util.Version.LUCENE_8_9_0);
public static final Version CURRENT = V_1_1_0;
public static Version readVersion(StreamInput in) throws IOException {

View File

@ -86,7 +86,7 @@ public final class NoOpEngine extends ReadOnlyEngine {
final Directory directory = commit.getDirectory();
final List<IndexCommit> indexCommits = DirectoryReader.listCommits(directory);
final IndexCommit indexCommit = indexCommits.get(indexCommits.size() - 1);
return new DirectoryReader(directory, new LeafReader[0]) {
return new DirectoryReader(directory, new LeafReader[0], null) {
@Override
protected DirectoryReader doOpenIfChanged() {
return null;

View File

@ -208,6 +208,10 @@ public abstract class AnalysisFactoryTestCase extends OpenSearchTestCase {
// LUCENE-8936
.put("spanishminimalstem", Void.class)
.put("delimitedboost", Void.class)
// LUCENE-9574: test flags on tokens vs a bitmask and drops tokens that have all specified flags
.put("dropifflagged", Void.class)
// LUCENE-9575: recognize arbitrary patterns that include punctuation
.put("patterntyping", Void.class)
.immutableMap();
static final Map<String,Class<?>> KNOWN_CHARFILTERS = new MapBuilder<String,Class<?>>()