Merge pull request #14784 from mikemccand/upgrade_lucene_1714615

Upgrade Lucene to 5.4.0-snapshot-1714615
This commit is contained in:
Michael McCandless 2015-11-16 16:07:46 -05:00
commit 01f12fc8d5
44 changed files with 33 additions and 23 deletions

View File

@ -1,5 +1,5 @@
elasticsearch = 3.0.0-SNAPSHOT
lucene = 5.4.0-snapshot-1712973
lucene = 5.4.0-snapshot-1714615
# optional dependencies
spatial4j = 0.5

View File

@ -172,6 +172,16 @@ public class GeoDistanceRangeQuery extends Query {
}
return false;
}
@Override
public float matchCost() {
if (distanceBoundingCheck == GeoDistance.ALWAYS_INSTANCE) {
return 0.0f;
} else {
// TODO: is this right (up to 4 comparisons from GeoDistance.SimpleDistanceBoundingCheck)?
return 4.0f;
}
}
};
return new ConstantScoreScorer(this, score(), twoPhaseIterator);
}

View File

@ -31,7 +31,7 @@ grant codeBase "${codebase.securesm-1.0.jar}" {
//// Very special jar permissions:
//// These are dangerous permissions that we don't want to grant to everything.
grant codeBase "${codebase.lucene-core-5.4.0-snapshot-1712973.jar}" {
grant codeBase "${codebase.lucene-core-5.4.0-snapshot-1714615.jar}" {
// needed to allow MMapDirectory's "unmap hack"
permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";

View File

@ -30,7 +30,7 @@ grant codeBase "${codebase.securemock-1.1.jar}" {
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
};
grant codeBase "${codebase.lucene-test-framework-5.4.0-snapshot-1712973.jar}" {
grant codeBase "${codebase.lucene-test-framework-5.4.0-snapshot-1714615.jar}" {
// needed by RamUsageTester
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
};

View File

@ -1 +0,0 @@
d70e990753cda92e9e817eb7e19baf8a17e663f0

View File

@ -0,0 +1 @@
95e58f09a8878e74f2cceba8aca898d7464782a8

View File

@ -1 +0,0 @@
68387395739fa891ca728c84b3f79d41d8becc3a

View File

@ -0,0 +1 @@
bf7600f7556e4cbdfb7b93947e0ef2312d4bfa6f

View File

@ -1 +0,0 @@
d984920437acc95a0f488c6df35ad2e846103471

View File

@ -0,0 +1 @@
d8d3f55ea169ec7a483c076d8d786d2fa7ec0447

View File

@ -1 +0,0 @@
eed34253185f1c3cf319d1a19714692471f916b8

View File

@ -0,0 +1 @@
a77cedd6e706317f2f3c1b693736ed191a30a488

View File

@ -1 +0,0 @@
726b97ce4293dcf3b9e6cd6e11d6c44f21a69e91

View File

@ -0,0 +1 @@
84d9d5617fae821a7cf1f0f5ac961f4128a936e9

View File

@ -1 +0,0 @@
e594cd351b1345f1c0c5c768479942cc5050d04f

View File

@ -0,0 +1 @@
9e7646fb8cfbb72e061eba83467a05671cfa5ee1

View File

@ -1 +0,0 @@
ed123b7bc78460396899abb90649dad89f7744e0

View File

@ -0,0 +1 @@
068417b06ee7adf7f751bbeabdb2ed14e5ef3172

View File

@ -1 +0,0 @@
ca9cd3d0040328219c0ddfa28cef7fcb6559b98c

View File

@ -0,0 +1 @@
f12de7f380e1f40b9432c90a2bb0b9ba67e94c41

View File

@ -1 +0,0 @@
8a814d31b827f7b418b8f3aeb0417c43e2edf533

View File

@ -0,0 +1 @@
8313aa54e3d13e40bf7bf32b6ee68c7c4b547d6a

View File

@ -1 +0,0 @@
ecd788599b312a3bbd3aaa9c12d5714e72c1cf1e

View File

@ -0,0 +1 @@
62696f81612a2594c5eac93c9db57c108d3e951a

View File

@ -1 +0,0 @@
50aa4f366fd7832b8a1c2fb50843ee1058805902

View File

@ -0,0 +1 @@
a506a09e97070b74c226627ab8adcde9f32576ef

View File

@ -1 +0,0 @@
e301e9e35e6f33e658ccd0ae06b32336b13a935c

View File

@ -0,0 +1 @@
22924c220508d02a30e9425f6293fcff1621a23a

View File

@ -1 +0,0 @@
864e2e23f0e64c9d9dd412c0b0aaa36705e37786

View File

@ -0,0 +1 @@
af3be612c990303f6c575411b436c967f665876c

View File

@ -1 +0,0 @@
0279e2978e391523da6f5c577d598be0cc94f883

View File

@ -0,0 +1 @@
c797cf414ac18868e804afe6be65c30046a5d2dc

View File

@ -1 +0,0 @@
8cc60f870ebfb5e27f01810032c6d57765978b37

View File

@ -0,0 +1 @@
392aa5769188f7290628f4e2740ddad830d19069

View File

@ -1 +0,0 @@
de798609f67720bee73c0a5139b3b87cb6d0aa78

View File

@ -0,0 +1 @@
b08b3182b931cb22c41e5535bc47acb6f6bf67df

View File

@ -1 +0,0 @@
bfb5d0a5626532e2256f5a430a2b9fca7243c9b9

View File

@ -0,0 +1 @@
1952d76f8f0d339f7f6c3500f61954696f08d743

View File

@ -1 +0,0 @@
286fa90cd48c8500f99852fc597a08bc00cf3302

View File

@ -0,0 +1 @@
f27b8e582861492f3743b90094fdd28286ddb270

View File

@ -1 +0,0 @@
37598eb36c271b93707d9f106f84a4dcc60b97c9

View File

@ -0,0 +1 @@
3c39cf9826697f1558d999a52f4b0faf526950e4

View File

@ -1 +0,0 @@
71f1017b9dff2336be8389ad09c506cfad15b5bf

View File

@ -0,0 +1 @@
1a4ece7c891f99b5a61b72dbe86f69ce26fc18ad