upgrade lucene 5.4 snapshot

This commit is contained in:
Michael McCandless 2015-11-16 14:38:05 -05:00 committed by mikemccand
parent 9d7ca53022
commit a0bf253d16
24 changed files with 13 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

@ -1 +0,0 @@
68387395739fa891ca728c84b3f79d41d8becc3a

View File

@ -1 +0,0 @@
d984920437acc95a0f488c6df35ad2e846103471

View File

@ -1 +0,0 @@
eed34253185f1c3cf319d1a19714692471f916b8

View File

@ -1 +0,0 @@
726b97ce4293dcf3b9e6cd6e11d6c44f21a69e91

View File

@ -1 +0,0 @@
e594cd351b1345f1c0c5c768479942cc5050d04f

View File

@ -1 +0,0 @@
ed123b7bc78460396899abb90649dad89f7744e0

View File

@ -1 +0,0 @@
ca9cd3d0040328219c0ddfa28cef7fcb6559b98c

View File

@ -1 +0,0 @@
8a814d31b827f7b418b8f3aeb0417c43e2edf533

View File

@ -1 +0,0 @@
ecd788599b312a3bbd3aaa9c12d5714e72c1cf1e

View File

@ -1 +0,0 @@
50aa4f366fd7832b8a1c2fb50843ee1058805902

View File

@ -1 +0,0 @@
e301e9e35e6f33e658ccd0ae06b32336b13a935c

View File

@ -1 +0,0 @@
864e2e23f0e64c9d9dd412c0b0aaa36705e37786

View File

@ -1 +0,0 @@
0279e2978e391523da6f5c577d598be0cc94f883

View File

@ -1 +0,0 @@
8cc60f870ebfb5e27f01810032c6d57765978b37

View File

@ -1 +0,0 @@
de798609f67720bee73c0a5139b3b87cb6d0aa78

View File

@ -1 +0,0 @@
bfb5d0a5626532e2256f5a430a2b9fca7243c9b9

View File

@ -1 +0,0 @@
286fa90cd48c8500f99852fc597a08bc00cf3302

View File

@ -1 +0,0 @@
37598eb36c271b93707d9f106f84a4dcc60b97c9

View File

@ -1 +0,0 @@
71f1017b9dff2336be8389ad09c506cfad15b5bf