Upgrade to 7.4.0-snapshot-1ed95c097b (#30357)
Upgrade to lucene-7.4.0-snapshot-1ed95c097b This version contains: * An Analyzer for Korean * An IntervalQuery and IntervalsSource that retrieve minimum intervals of positional queries. * A new API to retrieve matches (offsets and positions) of a query for a single document. * Support for soft deletes in the index writer. * A fixed shingle filter that handles index time synonyms. * Support for emoji sequence in ICUTokenizer (with an upgrade to icu 61.1)
This commit is contained in:
parent
0e6cbbd811
commit
dbd857341f
|
@ -1,5 +1,5 @@
|
|||
elasticsearch = 7.0.0-alpha1
|
||||
lucene = 7.3.0
|
||||
lucene = 7.4.0-snapshot-1ed95c097b
|
||||
|
||||
# optional dependencies
|
||||
spatial4j = 0.7
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
:version: 7.0.0-alpha1
|
||||
:major-version: 7.x
|
||||
:lucene_version: 7.3.0
|
||||
:lucene_version_path: 7_3_0
|
||||
:lucene_version: 7.4.0
|
||||
:lucene_version_path: 7_4_0
|
||||
:branch: master
|
||||
:jdk: 1.8.0_131
|
||||
:jdk_major: 8
|
||||
|
|
|
@ -130,6 +130,8 @@ public class CommonAnalysisFactoryTests extends AnalysisFactoryTestCase {
|
|||
filters.put("brazilianstem", BrazilianStemTokenFilterFactory.class);
|
||||
filters.put("czechstem", CzechStemTokenFilterFactory.class);
|
||||
filters.put("germanstem", GermanStemTokenFilterFactory.class);
|
||||
// this filter is not exposed and should only be used internally
|
||||
filters.put("fixedshingle", Void.class);
|
||||
return filters;
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
cb82d9db3043bbd25b4d0eb5022ed1e529c936d3
|
|
@ -0,0 +1 @@
|
|||
63ff4af3504881744695f6239fcb3e9c0e3240b1
|
|
@ -30,7 +30,7 @@ forbiddenApis {
|
|||
|
||||
dependencies {
|
||||
compile "org.apache.lucene:lucene-analyzers-icu:${versions.lucene}"
|
||||
compile 'com.ibm.icu:icu4j:59.1'
|
||||
compile 'com.ibm.icu:icu4j:61.1'
|
||||
}
|
||||
|
||||
dependencyLicenses {
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
6f06e820cf4c8968bbbaae66ae0b33f6a256b57f
|
|
@ -0,0 +1 @@
|
|||
28d33b5e44e72edcc66a5da7a34a42147f38d987
|
|
@ -1 +0,0 @@
|
|||
c09216a18658d5b2912566efff8665e45edc24b4
|
|
@ -0,0 +1 @@
|
|||
5f3c053ef858c58c74a687a40f5451d19b69850b
|
|
@ -89,9 +89,9 @@ public class IcuTokenizerFactory extends AbstractTokenizerFactory {
|
|||
// cjkAsWords nor myanmarAsWords are not configurable yet.
|
||||
ICUTokenizerConfig config = new DefaultICUTokenizerConfig(true, true) {
|
||||
@Override
|
||||
public BreakIterator getBreakIterator(int script) {
|
||||
public RuleBasedBreakIterator getBreakIterator(int script) {
|
||||
if (breakers[script] != null) {
|
||||
return (BreakIterator) breakers[script].clone();
|
||||
return (RuleBasedBreakIterator) breakers[script].clone();
|
||||
} else {
|
||||
return super.getBreakIterator(script);
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
c9d5bbd0affa90b46e173c762c35419a54977c35
|
|
@ -0,0 +1 @@
|
|||
a6e72085f7c2ade43ec0e5f52c227e6f715666ad
|
|
@ -1 +0,0 @@
|
|||
4e6c63fa8ae005d81d12f0d88ffa98346b443ac4
|
|
@ -0,0 +1 @@
|
|||
25c93466d0a2c41df0cf98de77d632f3f02fa98d
|
|
@ -1 +0,0 @@
|
|||
37b7ff0a6493f139cb77f5bda965ac0189c8efd1
|
|
@ -0,0 +1 @@
|
|||
4688aaa48607ac26f6bf2567052019ab3fb2ff5e
|
|
@ -1 +0,0 @@
|
|||
d189185da23b2221c4d532da5e2cacce735f8a0c
|
|
@ -0,0 +1 @@
|
|||
ad71de632c9363c3f200cd5a240686256c7db431
|
|
@ -1 +0,0 @@
|
|||
74462b51de45afe708f1042cc901fe7370413871
|
|
@ -0,0 +1 @@
|
|||
96a630a7c4916358f129f6bac8718108811efe1a
|
|
@ -1 +0,0 @@
|
|||
4325a5cdf8d3fa23f326cd86a2297fee2bc844f5
|
|
@ -0,0 +1 @@
|
|||
2b2be48f6622c150496e755497e7bdb8daa46030
|
|
@ -1 +0,0 @@
|
|||
3b618a21a924cb35ac1f27d3ca47d9ed04f43588
|
|
@ -0,0 +1 @@
|
|||
6cbafc48e8ac4966377665eb3bbe93f9addf04a5
|
|
@ -1 +0,0 @@
|
|||
040e2de30c5e6bad868b144e371730200719ceb3
|
|
@ -0,0 +1 @@
|
|||
0b06e4f6514256a3f187a9892e520638b9c59e63
|
|
@ -1 +0,0 @@
|
|||
20a5c472a8be9bec7aa40472791389e875b9e1f2
|
|
@ -0,0 +1 @@
|
|||
4c71cef87fe513a7a96c2a7980ed6f7c2b015763
|
|
@ -1 +0,0 @@
|
|||
1f92c7d3d9bc2765fe6195bcc4fcb160d11175cc
|
|
@ -0,0 +1 @@
|
|||
665e044d1180100940bccd7e8e41dde48e342da3
|
|
@ -1 +0,0 @@
|
|||
da4af75a7e4fe7843fbfa4b58e6a238b6b706d64
|
|
@ -0,0 +1 @@
|
|||
d343bbf5792f5969288b59b51179acd29d04f4ee
|
|
@ -1 +0,0 @@
|
|||
fc45b02a5086ec454e6d6ae81fc2cbe7be1c0902
|
|
@ -0,0 +1 @@
|
|||
8915f3c93af3348655bcc204289f9011835738a2
|
|
@ -1 +0,0 @@
|
|||
b6a2418a94b84c29c4b9fcfe4381f2cc1aa4c214
|
|
@ -0,0 +1 @@
|
|||
e7dc67b42eca3b1546a36370b6dcda0f83b2eb7d
|
|
@ -1 +0,0 @@
|
|||
6292a5579a6ab3423ceca60d2ea41cd86481e7c0
|
|
@ -0,0 +1 @@
|
|||
5946d5e2be276f66e9ff6d6111acabb03a9330d9
|
|
@ -1 +0,0 @@
|
|||
95b2563e5337377dde2eb987b3fce144be5e7a77
|
|
@ -0,0 +1 @@
|
|||
d9fc5fc63f3d861e5af72e11373368e8a4c6bba6
|
|
@ -1 +0,0 @@
|
|||
1efd2fa7cba1e359e3fbb8b4c11cab37024b2178
|
|
@ -0,0 +1 @@
|
|||
ee283c0a1a717f3e0915de75864a93d043efaee3
|
|
@ -1 +0,0 @@
|
|||
93512c2160bdc3e602141329e5945a91918b6752
|
|
@ -0,0 +1 @@
|
|||
e1adf0220a7c052ac81e2919ffac24ac0e5b007c
|
|
@ -1 +0,0 @@
|
|||
47090d8ddf99f6bbb64ee8ab7a76c3cd3165b88f
|
|
@ -0,0 +1 @@
|
|||
6d9306053942c48f43392a634f11a95462b5996e
|
|
@ -1 +0,0 @@
|
|||
ed8f07d67445d5acde6597996461640b2d92fa08
|
|
@ -0,0 +1 @@
|
|||
2334e8c5f4d0f98659b30e0c2035296e4aae8ff5
|
|
@ -1 +0,0 @@
|
|||
6034ccf6b27c659ab7a2678680bae8390fbfc40a
|
|
@ -0,0 +1 @@
|
|||
f2b2c454eb7b5d73b9df1390ea4730ce3dd4e463
|
|
@ -174,7 +174,7 @@ public class Version implements Comparable<Version>, ToXContentFragment {
|
|||
public static final Version V_6_4_0 = new Version(V_6_4_0_ID, org.apache.lucene.util.Version.LUCENE_7_3_0);
|
||||
public static final int V_7_0_0_alpha1_ID = 7000001;
|
||||
public static final Version V_7_0_0_alpha1 =
|
||||
new Version(V_7_0_0_alpha1_ID, org.apache.lucene.util.Version.LUCENE_7_3_0);
|
||||
new Version(V_7_0_0_alpha1_ID, org.apache.lucene.util.Version.LUCENE_7_4_0);
|
||||
public static final Version CURRENT = V_7_0_0_alpha1;
|
||||
|
||||
static {
|
||||
|
|
|
@ -131,6 +131,7 @@ public abstract class AnalysisFactoryTestCase extends ESTestCase {
|
|||
.put("englishminimalstem", MovedToAnalysisCommon.class)
|
||||
.put("englishpossessive", MovedToAnalysisCommon.class)
|
||||
.put("finnishlightstem", MovedToAnalysisCommon.class)
|
||||
.put("fixedshingle", MovedToAnalysisCommon.class)
|
||||
.put("frenchlightstem", MovedToAnalysisCommon.class)
|
||||
.put("frenchminimalstem", MovedToAnalysisCommon.class)
|
||||
.put("galicianminimalstem", MovedToAnalysisCommon.class)
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
040e2de30c5e6bad868b144e371730200719ceb3
|
|
@ -0,0 +1 @@
|
|||
0b06e4f6514256a3f187a9892e520638b9c59e63
|
|
@ -1 +0,0 @@
|
|||
040e2de30c5e6bad868b144e371730200719ceb3
|
|
@ -0,0 +1 @@
|
|||
0b06e4f6514256a3f187a9892e520638b9c59e63
|
Loading…
Reference in New Issue