Karl Wright
7ed472fb52
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-29 13:33:09 -04:00
Karl Wright
595a55bbb5
LUCENE-7241: Add public functionality for handling large polygons in geo3d.
2016-04-29 13:32:55 -04:00
Adrien Grand
f7b333f105
LUCENE-7264: Fix test bug in TestReqExclBulkScorer.
2016-04-29 13:30:00 +02:00
Adrien Grand
aa81ba8642
LUCENE-7264: Fewer conditionals in DocIdSetBuilder.
2016-04-29 10:35:27 +02:00
Karl Wright
7bc50ec1ee
Merge branch 'LUCENE-7241'
2016-04-28 20:00:19 -04:00
Karl Wright
7d33e774c2
Fix javadoc
2016-04-28 19:58:55 -04:00
Karl Wright
31176d1de2
Add more tests, and catch degenerate case early
2016-04-28 19:27:36 -04:00
Karl Wright
da896f803d
Finish debugging simple case
2016-04-28 19:20:03 -04:00
Chris Hostetter
791d1e7393
SOLR-9028: Fixed some test related bugs preventing SSL + ClientAuth from ever being tested
2016-04-28 13:18:01 -07:00
Karl Wright
3d7fd5e1df
Improve path determination code
2016-04-28 15:09:48 -04:00
Karl Wright
72d536cb11
Lots of fixes
2016-04-28 13:14:35 -04:00
Adrien Grand
ef45d4b2e1
LUCENE-7261: Speed up LSBRadixSorter.
2016-04-28 18:20:41 +02:00
Karl Wright
d990d975ac
Rewrite tree handling to actually work.
2016-04-28 08:12:42 -04:00
Karl Wright
86be6a67db
Use more accurate version of inside cutoff planes.
2016-04-27 20:09:06 -04:00
Karl Wright
f896afc88b
Fix initialization bugs that prevented the code from working.
2016-04-27 17:19:30 -04:00
Karl Wright
9dd7921f9d
More robust logic for picking the intersection point and path
2016-04-27 13:54:28 -04:00
Robert Muir
ebd120465a
LUCENE-7259: speed up MatchingPoints cost estimation
2016-04-27 12:02:27 -04:00
Karl Wright
be0fff05bc
Flesh out remaining methods
2016-04-27 08:26:03 -04:00
Karl Wright
7a4c077454
Finish handling for intersection point
2016-04-27 07:30:07 -04:00
Adrien Grand
c7cdf2832b
LUCENE-7257: PointValues aggregated stats fail if the provided field does not have points on one of the leaves.
2016-04-27 11:41:04 +02:00
Karl Wright
117f79ddd2
Restructure DualCrossing counter so that the plane inside and outside boundaries are used to detect inside and outside crossings. Also identify the case for special treatment of edges lying on the intersection point.
2016-04-26 13:49:47 -04:00
Christine Poerschke
9c69c4cf12
LUCENE-7252: add TestCoreParser.testTermQueryEmptyXML test
2016-04-26 17:41:26 +01:00
Christine Poerschke
9d8fad7a63
Make the static CoreParser.parseXML method package-private instead of private so that it's visible to and can be used by tests.
2016-04-26 15:10:58 +01:00
Robert Muir
6fa5166e41
LUCENE-7254: (sandbox/ only) Don't let abuse cases slow down spatial queries
2016-04-26 09:17:21 -04:00
Karl Wright
478e0e1054
Add GeoPolygonFactory support for the new shape.
2016-04-26 08:56:53 -04:00
Karl Wright
bb7d4585c4
Separate point filtering from edge filtering.
2016-04-26 08:03:02 -04:00
Karl Wright
f3748ebaa4
Introduce notion of inside/outside for DualCrossing.
2016-04-26 07:46:44 -04:00
Karl Wright
42d3f3d1c1
Have two separate crossing counters; one for dual leg, one for single.
2016-04-26 02:46:03 -04:00
Karl Wright
4105fda9c1
Separate the above and below planes everywhere so we can compute intersections and bounds.
2016-04-25 15:50:45 -04:00
Robert Muir
837264a42e
LUCENE-7251: remove LatLonGrid, remove slow polygon methods, speed up multiple components
2016-04-25 15:31:54 -04:00
Karl Wright
641d221cba
Get it to compile
2016-04-25 14:33:38 -04:00
Karl Wright
8b50cb8a8f
Handle the case where the last leg lands on an edge.
2016-04-25 13:05:12 -04:00
Karl Wright
d41537d0e2
Complete the logic for following a path, except for the path endpoint on edge condition.
2016-04-25 12:16:56 -04:00
Mike McCandless
fe795c9f7a
fix stale javadocs
2016-04-25 11:14:39 -04:00
Karl Wright
282c9a8fec
Flesh out logic for handling vertex on plane case.
2016-04-25 10:15:11 -04:00
Christine Poerschke
fd7b2159d8
LUCENE-7247: TestCoreParser.dumpResults verbose and test-fail logging tweaks
2016-04-25 09:39:29 +01:00
Karl Wright
d287ecaeed
Flesh out the additional method needed in Plane, as well as intersection logic.
2016-04-25 02:40:31 -04:00
Robert Muir
e3e9114921
implement grow() for spatial3d intersector: easy speedup
2016-04-24 20:09:05 -04:00
Robert Muir
0dc32e3d6b
implement grow() for polygon queries too: easy speedup.
2016-04-24 18:47:50 -04:00
Karl Wright
b9c2bf7d28
More work on GeoComplexPolygon
2016-04-24 17:44:40 -04:00
Robert Muir
45c48da54a
LUCENE-7240: Remove DocValues from LatLonPoint, add DocValuesField for that
2016-04-24 17:15:30 -04:00
Mike McCandless
7acf8babae
LUCENE-7175: give enough heap for large dim count, bytes per dim, when writing points
2016-04-24 05:58:41 -04:00
Karl Wright
69be7dc2a3
Two nested classes made private that should never have been public.
2016-04-24 02:23:05 -04:00
Karl Wright
c75df440d3
Add Edge subclass
2016-04-24 02:18:23 -04:00
Karl Wright
97e8f1aead
LUCENE-7250: Handle holes properly for distance and relationship calculation.
2016-04-23 06:44:42 -04:00
Karl Wright
a5e24b213d
First cut of new class
2016-04-23 03:48:09 -04:00
Karl Wright
38ebd906e8
LUCENE-7244: Complain if the holes are outside the polygon.
2016-04-22 16:37:31 -04:00
Robert Muir
88c9da6c89
LUCENE-7249: LatLonPoint polygon should use tree relate()
2016-04-22 15:11:03 -04:00
Robert Muir
776f9ec7c8
LUCENE-7242: LatLonTree should build a balanced tree
2016-04-22 12:09:15 -04:00
Adrien Grand
bf232d7635
LUCENE-7237: LRUQueryCache now prefers returning an uncached Scorer than waiting on a lock.
2016-04-22 14:09:44 +02:00
Adrien Grand
927a44881c
LUCENE-7243: Removed the LeafReaderContext parameter from QueryCachingPolicy#shouldCache.
2016-04-22 13:09:26 +02:00
Robert Muir
4fd5d88080
LUCENE-7239: Use interval tree to speed up LatLonPoint.newPolygonQuery
2016-04-21 20:15:33 -04:00
markrmiller
f3de223774
SOLR-8933: Solr should not close container streams.
2016-04-21 11:53:58 -04:00
nknize
545a14000b
LUCENE-7186: add a numerically stable morton encoding method to GeoEncodingUtils
2016-04-21 10:14:36 -05:00
Adrien Grand
2ee8426d5e
LUCENE-7238: Explicitly disable the query cache in MemoryIndex.createSearcher.
2016-04-21 17:01:43 +02:00
Adrien Grand
81446cf345
LUCENE-7235: Avoid taking the lock in LRUQueryCache when not necessary.
2016-04-21 15:31:13 +02:00
Karl Wright
2ff8bb0c8b
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-21 08:31:14 -04:00
Karl Wright
42b4f045c0
LUCENE-7226: Add leniency support for filtering points, in order to be able to use OSM data.
2016-04-21 08:30:52 -04:00
Adrien Grand
91fd163112
LUCENE-7234: Add InetAddressPoint.nextUp/nextDown
2016-04-20 15:45:38 +02:00
Adrien Grand
2724b99b5c
LUCENE-7232: Fixed InetAddressPoint.newPrefixQuery.
2016-04-20 15:13:20 +02:00
Adrien Grand
858082c4ca
LUCENE-7209: Fixed explanations of FunctionScoreQuery.
2016-04-20 14:52:12 +02:00
Karl Wright
0221516716
LUCENE-7226: Slight improvements to filtering and pole discovery operations.
2016-04-19 20:12:05 -04:00
Karl Wright
2276b9f270
Fix javadoc error
2016-04-19 13:44:06 -04:00
Karl Wright
5bb9084bd5
Fix test to recognize null polygon response.
2016-04-19 12:06:15 -04:00
Karl Wright
2342290816
LUCENE-7212: Structural changes necessary to support distance-limited bounds.
2016-04-19 10:20:00 -04:00
Karl Wright
02f1dacc3d
LUCENE-7192: Catch the case where we have two points in the same poly that are not adjacent but identical.
2016-04-19 09:09:40 -04:00
Karl Wright
46062fbd86
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-19 08:28:36 -04:00
Karl Wright
75cdcbab10
LUCENE-7192: Revamp how coplanar points are detected and filtered, for OpenStreetMap compatibility.
2016-04-19 08:28:06 -04:00
Robert Muir
af09c618eb
LUCENE-7229: Improve Polygon.relate for faster tree traversal/grid construction
2016-04-18 20:22:40 -04:00
Robert Muir
b839325740
LUCENE-7185: fix buggy worst-case error and add test for absurd distances
2016-04-18 19:47:22 -04:00
Karl Wright
7bd116c447
LUCENE-7228: Bounds computations which use Lagrangian multipliers are inherently less precise, so make sure that the bounds values exceed the size of the shape by a comfortable amount.
2016-04-18 13:53:59 -04:00
Karl Wright
a7b138317a
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-18 13:28:30 -04:00
Karl Wright
15f94c550f
LUCENE-7225: Detect nonsense polygon as an error rather than creating failures.
2016-04-18 13:28:21 -04:00
Robert Muir
ddb8d077ec
Don't pick crazy compression parameters for this monsterish test
2016-04-18 10:11:51 -04:00
Robert Muir
cc099d8fc6
LUCENE-7185: handle underflow
2016-04-18 09:15:04 -04:00
Robert Muir
730a04723f
don't use DirectPostingsFormat for Legacy geopoint tests: it just uses tons of RAM
2016-04-18 08:51:41 -04:00
Christine Poerschke
c57db02580
LUCENE-7219: Make queryparser/xml (Point|LegacyNumeric)RangeQuery builders match the underlying queries' (lower|upper)Term optionality logic. (Kaneshanathan Srivisagan, Christine Poerschke)
2016-04-18 12:09:31 +01:00
Tommaso Teofili
4751b83c97
LUCENE-7161 - give enough similar docs for mlt to match
2016-04-18 11:47:46 +02:00
Robert Muir
c135e9a7d6
LUCENE-7185: improve random test point/box generation for spatial tests
2016-04-18 00:19:02 -04:00
Karl Wright
aafdc372d9
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-17 15:37:20 -04:00
Karl Wright
e90ed57b94
LUCENE-7226: Remove independent check for backtrack, and remove GeoPolygonFactory methods that use point index for anything.
2016-04-17 15:37:02 -04:00
Robert Muir
72cb73c6b9
LUCENE-7170: move BaseGeoPointTestCase to test-framework
2016-04-17 08:52:59 -04:00
Karl Wright
35e0e92bb3
LUCENE-7226: Clean polygon data, where feasible.
2016-04-17 08:13:44 -04:00
Karl Wright
c08f644841
LUCENE-7225: Undo unneeded conflict detection logic in test.
2016-04-16 16:11:49 -04:00
Karl Wright
7b6423c2c7
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-16 10:14:35 -04:00
Karl Wright
22a23f66f7
LUCENE-7225: Undo fancy visit code; it won't do anything useful anyway.
2016-04-16 10:12:53 -04:00
Karl Wright
8ffb2d19e8
LUCENE-7225: Handle case where we don't know what truth is properly.
2016-04-16 08:29:43 -04:00
Mike McCandless
aeea493311
catch user (me) silliness when using EarthDebugger
2016-04-16 05:35:19 -04:00
Karl Wright
922210401b
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-16 04:07:39 -04:00
Karl Wright
bf3f960e76
LUCENE-7225: Fix Geo3DRelations test to use the correct measure of 'truth' in assessing relationships.
2016-04-16 04:07:10 -04:00
Mike McCandless
ad86feca09
improve javadocs and argument validation for LatLonPoint.nearest
2016-04-15 16:55:38 -04:00
Robert Muir
d5e0b36d50
remove dead code
2016-04-15 14:55:33 -04:00
Robert Muir
3e6024ffdd
improve javadocs for LatLonPoint.nearest()
2016-04-15 14:45:22 -04:00
Mike McCandless
c7d4080820
LUCENE-7223: improve XXXPoint javadocs to explain that a StoredField is needed if you want to retrieve the original value at search time
2016-04-15 13:34:16 -04:00
Robert Muir
a60265ef5a
LUCENE-7222: Improve Polygon.contains()
2016-04-15 12:53:09 -04:00
Christine Poerschke
cb840f5242
LUCENE-7210: TestCoreParser.afterClass now resets (static) indexData/coreParser/analyzer to null.
2016-04-15 12:52:44 +01:00
Karl Wright
5348504d45
LUCENE-7221: Do not attempt to carve out holes from bounds.
2016-04-15 07:11:15 -04:00
Karl Wright
5f0245febe
LUCENE-7221: Fix broken bounds for GeoCircles.
2016-04-15 03:01:11 -04:00
Karl Wright
7c098913e2
LUCENE-7221: Merge issue
2016-04-14 20:55:54 -04:00
Karl Wright
1d76b2c49b
LUCENE-7221: Limit the number of requests to getRelationship() and isWithin() using bounds.
2016-04-14 20:46:38 -04:00
Karl Wright
43b8456cdf
LUCENE-7221: Performance improvements for large polygons.
2016-04-14 16:23:20 -04:00
Christine Poerschke
88c4b095bc
LUCENE-7210: Add missing @Override to TestCorePlus(Queries|Extensions)Parser's newCoreParser method.
2016-04-14 19:38:43 +01:00
Mike McCandless
68e9efc7ac
LUCENE-7069: can't wrap with exotic readers when making IndexSearcher
2016-04-14 14:10:52 -04:00
Mike McCandless
5238de937a
LUCENE-7069: woops, approxBestDistance was way too approximate when the point was inside the cell
2016-04-14 12:05:10 -04:00
Christine Poerschke
8d5d201343
LUCENE-7210: Make TestCore*Parser's analyzer choice override-able. (Christine Poerschke, Daniel Collins)
2016-04-14 16:03:11 +01:00
Mike McCandless
f6c7fc7a26
LUCENE-7069: add LatLonPoint.nearest to find N nearest points
2016-04-14 11:02:25 -04:00
Mike McCandless
af5742cc0a
LUCENE-7218: remove wrong comment
2016-04-14 05:55:15 -04:00
Mike McCandless
60033b308a
improve exception messages when requested slice is out of bounds
2016-04-14 05:52:53 -04:00
Robert Muir
2335a458d8
LUCENE-7215: don't invoke full haversin for LatLonPoint.newDistanceQuery
2016-04-13 19:02:11 -04:00
Robert Muir
1a1c8dbfb3
LUCENE-7213: fix test bug when LatLonPoint.newBoxQuery returns MatchNoDocsQuery.
2016-04-13 18:52:32 -04:00
Karl Wright
e4dcf423e3
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-13 16:15:53 -04:00
Karl Wright
6e5ec3bb4c
Disable GeoConvexPolygon and GeoConcavePolygon sanity checks, since these are now package private and the check happens in GeoPolygonFactory anyway.
2016-04-13 16:15:43 -04:00
Robert Muir
fc19c99e0e
LUCENE-7214: Remove two-phase iteration from LatLonPoint.newDistanceQuery
2016-04-13 15:57:04 -04:00
David Smiley
f7f64c2172
LUCENE-7211: Use DocIdSetBuilder instead of FixedBitSet in spatial RPT intersects predicate.
2016-04-13 10:39:09 -04:00
Robert Muir
cd673ebec9
LUCENE-7185: add proper tests for grid bugs found here, and fix related bugs still lurking
2016-04-13 10:33:26 -04:00
Christine Poerschke
f2f484680f
LUCENE-7205: Remove repeated nl.getLength() calls in (Boolean|DisjunctionMax|FuzzyLikeThis)QueryBuilder.
2016-04-13 11:27:17 +01:00
Mike McCandless
e076b4c5b4
improve randomized polygon generation to sometimes include regular ngons
2016-04-13 05:51:38 -04:00
Karl Wright
69f3d1fe5f
LUCENE-7204: Add a test for (and make a fix for) legitimately coplanar polygon points.
2016-04-13 02:51:25 -04:00
Karl Wright
9a150920a6
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-12 15:37:47 -04:00
Karl Wright
414bdea97a
LUCENE-7204: Add check for backtracking over polygon path.
2016-04-12 15:37:13 -04:00
Robert Muir
8f5ef078b0
LUCENE-7207: fix test bug. shrinking a box which is a line can create a cross-dateline query!
2016-04-12 09:27:30 -04:00
Mike McCandless
e034b04b06
LUCENE-7189: improve geo debugging technology
2016-04-12 06:10:08 -04:00
Karl Wright
a3ee984bc8
LUCENE-7203: Fix the javadoc broken in the previous commit.
2016-04-12 06:05:22 -04:00
Karl Wright
91f74ee254
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-12 06:03:24 -04:00
Karl Wright
aa4236a612
LUCENE-7203: Improve polygon intersection detection using a small amount of upfront work.
2016-04-12 06:03:04 -04:00
yonik
c1a70f31a6
LUCENE-7188: remove incorrect sanity check in NRTCachingDirectory.listAll() that throws IllegalStateException
2016-04-11 23:51:41 -04:00
Karl Wright
61e3c4020c
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-11 12:55:38 -04:00
Karl Wright
83bde55865
LUCENE-7201: Handle illegal rectangles during testing.
2016-04-11 12:55:21 -04:00
Karl Wright
05dc90215a
LUCENE-7201: Handle backside whole-world case for bbox generation.
2016-04-11 12:52:48 -04:00
Adrien Grand
88965a0bec
Fix javadoc generation.
2016-04-11 18:46:47 +02:00
Robert Muir
901a3af301
LUCENE-7185: fix random number generation used for spatial tests.
...
Note that GeoPoint tests are still on the old RNG as we haven't get made them happy.
2016-04-11 10:36:10 -04:00
Mike McCandless
739c752cd3
LUCENE-7189: use fewer sampling points for small earth-surface rectangles
2016-04-11 05:45:42 -04:00
Mike McCandless
38bf7dd834
fix silly stack-building test bug in BKD visitor forensics
2016-04-11 05:42:59 -04:00
Mike McCandless
604fb28b58
fix rare test bug
2016-04-11 05:24:34 -04:00
Tommaso Teofili
273d586be4
LUCENE-7196 - added missing misc dependency
2016-04-11 10:03:37 +02:00
Tommaso Teofili
112078eaf9
LUCENE-7196 - guaranteed class coverage in split indexes through grouping by class
2016-04-11 09:59:22 +02:00
Martijn van Groningen
d7867b80f8
LUCENE-7187: Block join queries' Weight#extractTerms(...) implementations should delegate to the wrapped weight.
2016-04-11 09:20:39 +02:00
Mike McCandless
dd8c199c0b
fix failing test: 6.0 has back compat support in 7.0 ;)
2016-04-10 11:03:35 -04:00
Karl Wright
22ccccfc3e
LUCENE-7199: Use a more refined algorithm for picking the random pole used in clockwise/counterclockwise determination.
2016-04-10 08:58:19 -04:00
Karl Wright
a4bf526a62
LUCENE-7194: Roll our own toRadians() method, and also make it less likely we'll need to restaple the toString() tests.
2016-04-10 05:11:12 -04:00
Karl Wright
d377e7fd34
LUCENE-7197: Fix two test failures and add more forensics that helped resolve the issue.
2016-04-09 16:12:39 -04:00
Karl Wright
4d3a633bf1
Augment explain output from geo3d BKD tree tests to include shape relationships etc.
2016-04-09 00:56:27 -04:00
Karl Wright
23b953cb4f
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-08 20:35:55 -04:00
Karl Wright
4537a66bb1
Stop tests from failing just because of toString test
2016-04-08 20:34:23 -04:00
nknize
455f3dd694
LUCENE-7184: update CHANGES.txt
2016-04-08 15:15:57 -05:00
Karl Wright
eb8751256d
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-08 15:53:30 -04:00
Karl Wright
4c4730484d
LUCENE-7195: Clockwise/counterclockwise detection was rotating coordinates in the wrong direction.
2016-04-08 15:53:12 -04:00
nknize
48f77829f4
adds 6.0.0 back compat test indexes
2016-04-08 14:29:31 -05:00
nknize
d896eab989
minor trimming from spatial module's GeoEncodingUtils
2016-04-08 10:55:40 -05:00
Karl Wright
771680cfd0
LUCENE-7192: Permit adjacent points in a polygon to be coplanar.
2016-04-08 09:14:47 -04:00
Karl Wright
9b65416e60
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-08 06:07:13 -04:00
Tommaso Teofili
c906b4fc5a
LUCENE-7193 - added missing timeout param to tests
2016-04-08 11:06:43 +02:00
Tommaso Teofili
2507015f4c
LUCENE-7193 - add generic f1-measure metric to confusion matrix
2016-04-08 11:06:43 +02:00
Karl Wright
99fa55906c
LUCENE-7191: Tests now exercise the query factory methods in Geo3DPoint.
2016-04-08 01:33:46 -04:00
Mike McCandless
1848477bd8
LUCENE-7168: use center value on decode
2016-04-07 18:48:47 -04:00
Karl Wright
5e4777346a
LUCENE-7190: Make some methods private in public classes, and make a very few constants public.
2016-04-07 18:31:19 -04:00
Karl Wright
4ffba0b400
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-07 17:59:45 -04:00
Karl Wright
a06a6dfaad
LUCENE-7173: Iterate at least 100 times each for polygon construction when testing.
2016-04-07 17:59:33 -04:00
Mike McCandless
07d99765f5
LUCENE-7189: make it easier to write WebGL earth HTML for debugging geo failures
2016-04-07 17:54:39 -04:00
nknize
d4bb6912fd
fix bug in testLat/LonQuantization
2016-04-07 15:23:04 -05:00
nknize
b5ce2f67fd
LUCENE-7184: Refactor LatLonPoint encoding methods to new GeoEncodingUtils helper class in core geo package. Also refactors LatLonPointTests to TestGeoEncodingUtils.
2016-04-07 14:07:20 -05:00
Robert Muir
05d62a3577
LUCENE-7185: fix tie-breaker sort bug
2016-04-07 11:27:52 -04:00
Mike McCandless
df07e0c30f
LUCENE-7168: fix ceil/floor decode to match encode
2016-04-07 09:27:48 -04:00
Karl Wright
74aadd3a7e
Fix up internal method signatures to make some degree of greater sense, in GeoPolygonFactory.
2016-04-07 07:40:07 -04:00
Mike McCandless
60fa46578f
fix wrong description of how to run IndexFiles demo
2016-04-07 05:29:09 -04:00
Robert Muir
e0c507a400
LUCENE-7185: fix edge case bugs in LatLonPoint bounding box query
2016-04-07 00:09:56 -04:00
Robert Muir
2965ac2ca1
LUCENE-7185: fix edge case bug in test logic (min=max=180), don't leak Directory for edge cases!
2016-04-07 00:08:03 -04:00
Robert Muir
b59ace99e4
LUCENE-7185: make an empty grid the simple way
2016-04-06 21:49:24 -04:00
Mike McCandless
c2289de3c7
LUCENE-7168: improve encode and quantization testing for geo3d
2016-04-06 19:18:56 -04:00
Karl Wright
0163574f9c
LUCENE-7173: Get the random nested polygon code working.
2016-04-06 18:57:00 -04:00
Karl Wright
eda2a31959
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-06 17:18:10 -04:00
Karl Wright
68e792e3d4
LUCENE-7173: Begin adding tests for random polygons with nesting. Also found and fixed a tiling problem.
2016-04-06 17:17:50 -04:00
Robert Muir
370f2d3488
don't test LatLonPoint's quantization with epsilons: demand exact answers
2016-04-06 14:18:14 -04:00
Christine Poerschke
a893aaaf4d
Tweak TestRateLimiter.testThreads logic.
...
(Make visible the fact that the machine/actualMBPerSec was way-too-slow i.e. the not-too-fast portion of the test wasn't really checked.)
2016-04-06 18:18:57 +01:00
Karl Wright
6cf0e2a3e7
LUCENE-7173: Add complex test logic for creating nested polygons
2016-04-06 09:22:11 -04:00
Christine Poerschke
2259288ca0
LUCENE-7178: TestCoreParser tweaks
...
Summary:
* rename testSimpleXML to testTermQueryXML
* rename testSimpleTermsQueryXML to testTermsQueryXML
* try-with-resources and file-not-found-assert for TestCoreParser.parse
* TestCoreParser.dumpResults verbose logging now includes qType and numDocs
(Ramkumar Aiyengar, Nathan Visagan, Christine Poerschke)
2016-04-06 13:38:47 +01:00
Karl Wright
e6fd37c4a1
LUCENE-7176: Hide GeoPath implementation in a factory/interface.
2016-04-05 03:41:48 -04:00
Karl Wright
dc2f17483a
LUCENE-7167: Re-enable test I disabled because of the package-private changes.
2016-04-05 03:00:15 -04:00
Karl Wright
885d567bed
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-04-05 00:37:11 -04:00
Karl Wright
7289bc36f6
LUCENE-7173: Bring polygon API into compliance with 2D version.
2016-04-04 18:56:59 -04:00
Uwe Schindler
b0af7a4adf
LUCENE-7174: Upgrade randomizedtesting to 2.3.4
2016-04-04 23:01:48 +02:00
Steve Rowe
deefaf1ad9
Add Points format to o.a.l.codec package description
2016-04-04 16:53:12 -04:00
Karl Wright
9bef6c000b
LUCENE-7157: More javadoc fixes
2016-04-04 14:51:28 -04:00
Karl Wright
94f8e10813
LUCENE-7157: More javadoc fixes
2016-04-04 14:41:42 -04:00
Karl Wright
d900588887
LUCENE-7167: Fix spatial-extras tests that were broken by package private changes. One test is commented out while I search for a good way to do what it needs.
2016-04-04 13:59:10 -04:00
Karl Wright
c2c68ece23
LUCENE-7157: Fix up javadoc
2016-04-04 13:43:46 -04:00
Robert Muir
c1a3e1b8d0
LUCENE-7159: Speed up LatLonPoint point-in-polygon performance
2016-04-04 12:51:03 -04:00
Karl Wright
ed6f2b0d0c
LUCENE-7157: Update API javadoc and Polygon method visibilities
2016-04-04 12:13:37 -04:00
Karl Wright
0843e95f0c
LUCENE-7167:
...
Make solid variants package private
More public->package private
2016-04-04 11:49:39 -04:00
Karl Wright
1040fcbf42
LUCENE-7157
...
Add and use clockwise/counterclockwise construction of geo polygons
All code in place but isn't working
Add GeoConcavePolygon, and make more efficient intersection code for GeoConvexPolygon
Finish code, but it fails tests due to looping
Fix some problems
Fix typo
Get one test to run at least
Get it to work
Turn off debugging
Get rid of unused code
Fix beasting failure
Boundary edges have to use sided planes that are inverted in order to constrain the intersections right.
Add test
Use a more rigorous membership structure for bounding edges.
Fix bounding issue
Remove dependence on hash order
Get everything working again
Get everything working
Remove System.out
2016-04-04 11:42:40 -04:00
Robert Muir
ef6a0d0013
LUCENE-7159: improve testing of polygon tree methods
2016-04-03 14:07:56 -04:00
Robert Muir
d30ebffc95
LUCENE-7163: move Polygon's test too
2016-04-03 13:33:24 -04:00
Robert Muir
9a47912161
package-info.java -> package.html because this package is already defined in core/
2016-04-03 12:09:46 -04:00
nknize
9ed95bc6e8
Fix missing import from refactor. Update change log
2016-04-02 14:06:20 -05:00
nknize
6c219e99e4
LUCENE-7163: refactor GeoRect, Polygon, and GeoUtils tests to geo package in core.
2016-04-02 13:57:02 -05:00
Robert Muir
f8ea8b855e
LUCENE-7166: fix quantization bugs in LatLonPoint and GeoPointField, remove test leniency
...
Squashed commit of the following:
commit 83c0f9b6158495b8b3d7108059a23bdf38e0f7f3
Author: Robert Muir <rmuir@apache.org>
Date: Fri Apr 1 23:33:29 2016 -0400
fix geopoint
commit 97ebd2de516e61c236542fb2fb28e71cf6bdc403
Author: Robert Muir <rmuir@apache.org>
Date: Fri Apr 1 23:06:05 2016 -0400
fix test and LatLonPoint encoding/quantization/box queries
2016-04-02 07:16:55 -04:00
Robert Muir
0166171566
LUCENE-7162: set SerialMergeScheduler in all spatial tests.
...
We can test thread safety of e.g. BKD structures elsewhere in a simpler way. It is important
for geo tests to be simpler and easier to reproduce and debug.
2016-04-01 13:28:11 -04:00
nknize
3f217aba6d
LUCENE-7152: Refactor GeoUtils from lucene-spatial to core module.
2016-04-01 11:03:11 -05:00
Robert Muir
c071a3a8b5
LUCENE-7160: LatLonPoint quantization should use the same rounding mode as GeoPointField
2016-04-01 08:32:16 -04:00
Mike McCandless
cf7967cc46
LUCENE-7158: use the same value (from WGS84) for earth's mean radius when we approximate it as a sphere
2016-04-01 05:40:50 -04:00
Robert Muir
cc75be53f9
LUCENE-7153: remove extra PIP copy, this is in Polygon.java now
2016-04-01 00:23:22 -04:00
Robert Muir
81c83b4431
LUCENE-7153: give GeoPointField and LatLonPoint full polygon support
2016-03-31 22:28:46 -04:00
Robert Muir
2af578e167
completely untested logic to try to make javadocs work across our rats nest of spatial modules !
2016-03-31 22:00:49 -04:00
Mike McCandless
bf0e59223d
LUCENE-7150: add Geo3DPoint.newDistance/Box/PolygonQuery
2016-03-31 11:54:01 -04:00
Tommaso Teofili
d08f327a7f
LUCENE-7156 - fixed precision and accuracy calculations
2016-03-31 14:45:31 +02:00
nknize
e1b45568b4
* LUCENE-7094: BBoxStrategy and PointVectorStrategy now support PointValues (in addition to legacy numeric trie). Their APIs were changed a little and also made more consistent. PointValues/Trie is optional, DocValues is optional, stored value is optional.
2016-03-30 18:14:20 -05:00
Mike McCandless
c47a2996b5
LUCENE-7122: handle fixed length byte[] values more efficiently in OfflineSorter
2016-03-30 05:52:05 -04:00
Ryan Ernst
045659533c
LUCENE-7147: Improve disjoint check for geo distance query traversal
2016-03-29 12:14:41 -07:00
Robert Muir
e5836318dd
disable test method for deprecated encoding: its too memory-hungry
2016-03-29 09:51:09 -04:00
Robert Muir
5619838e1c
quantize random rects in test too (for now) until we can really remove this leniency...
2016-03-29 00:16:52 -04:00
Robert Muir
7476d0622f
this test uses NaN to mean missing. don't try to quantize it.
2016-03-28 16:02:02 -04:00
Robert Muir
9189bdc1c2
don't quantize ALL generated points in this test, just the ones we index (except for some leniency: see the TODO).
...
This may cause more test failures!
2016-03-28 14:39:01 -04:00
Robert Muir
8c5115ea9a
LUCENE-7145: consolidate polygon range checks, tests, box usage. make cannot -> must not consistent so we can test this stuff.
2016-03-28 14:12:49 -04:00
Mike McCandless
565525fdb7
fix nocommit
2016-03-28 14:13:44 -04:00
Robert Muir
2b4ab3cbde
minor test cleanups
2016-03-28 12:00:53 -04:00
Robert Muir
956e4363f1
factor out polygon/box generation into GeoTestUtil. removes lots of leniency and unnecessary quantization! may cause failures!!!!
2016-03-28 11:48:14 -04:00
Mike McCandless
010f02216d
simplify base geo test class
2016-03-28 11:08:53 -04:00
Robert Muir
1b3a3c113e
geo tests: simplify random generation
2016-03-28 10:54:03 -04:00
Mike McCandless
67ca5499a3
LUCENE-7144: forceMerge before pulling reader
2016-03-28 09:42:29 -04:00
Robert Muir
9a08113a53
LUCENE-7126: GeoPointDistanceRangeQuery not valid for multi-valued docs
2016-03-28 07:46:08 -04:00
Tommaso Teofili
e8dac9bfdf
LUCENE-6954 - keep info about relationship between fields and terms when retrieving terms in MLT
2016-03-28 10:07:30 +02:00
Mike McCandless
6f0488f730
clean up random poly generation; simplify geo util methods for validating lat/lon
2016-03-27 17:47:14 -04:00
Robert Muir
11d10699cc
test polygon queries with mike's surprise polygon generator
2016-03-27 16:58:14 -04:00
Robert Muir
6ac0c43b97
slightly improve polygon testing: test something other than boxes
2016-03-27 15:27:17 -04:00
Mike McCandless
7b93fc46b1
LUCENE-7142: BKDWriter wasn't splitting correctly with long ords; improve tests so we sometimes long ords even for small number of points
2016-03-27 05:52:29 -04:00
Mike McCandless
6d288704c4
the scratch BytesRef must be private to each offline reader
2016-03-26 06:25:53 -04:00
Mike McCandless
78d5cfefe2
LUCENE-7141: switch OfflineSorter's ByteSequencesReader to BytesRefIterator
2016-03-26 03:47:06 -04:00
Mike McCandless
c93c88dfb4
fix bug in exception's message
2016-03-25 20:15:07 -04:00
Mike McCandless
1e9fb843a9
add missing javadocs
2016-03-25 19:47:14 -04:00
Mike McCandless
a9eb26c44a
randomize how BKDWriter splits in RandomCodec so we exercise geo shape APIs with more exotic rectangles
2016-03-25 15:40:16 -04:00
Martijn van Groningen
2babaf8c3d
LUCENE-7095: Add point values support to the numeric field query time join
2016-03-25 17:23:03 +01:00
Adrien Grand
9448bd007b
LUCENE-7112: WeightedSpanTermExtractor.extractUnknownQuery is only called on queries that could not be extracted.
2016-03-25 15:45:43 +01:00
Mike McCandless
c498fcdc43
LUCENE-7139: move these fixed tests out of the loop
2016-03-25 08:24:08 -04:00
Mike McCandless
626bed8bc6
LUCENE-7140: add spatial3d PlanetModel.bisection method
2016-03-25 08:21:44 -04:00
Mike McCandless
b8feb92271
LUCENE-7139: fix bugs in geo3d's vincenty distance implementation
2016-03-25 07:59:56 -04:00
Mike McCandless
5d16e75819
BKDWriter optimization: avoid copying unnecessary bytes when marking the right tree ords
2016-03-25 07:44:40 -04:00
Robert Muir
fc7f559138
LUCENE-7136: remove threads from BaseGeoPointTestCase
2016-03-24 14:13:24 -04:00
Robert Muir
ff70c680a2
LUCENE-7137: consolidate many tests across Points and GeoPoint queries/fields
2016-03-24 12:41:30 -04:00
Mike McCandless
5b3e07a98a
BKDWriter: also fix split to read ord after docID
2016-03-24 11:22:03 -04:00
Mike McCandless
f859bab35f
simplify BKDWriter's comparator tie break for its temp files; add test case verifying tie break by docID
2016-03-24 10:02:48 -04:00
Mike McCandless
5174c4934c
fix test bug: pass the correct point count when creating BKDWriter
2016-03-24 05:13:59 -04:00
yonik
cb41903039
LUCENE-7119: allow bypass of docvalues check in DocTermOrds
2016-03-23 23:04:50 -04:00
Mike McCandless
97b6270337
LUCENE-7133: check field name in equals/hashCode for point queries
2016-03-23 17:12:14 -04:00
Mike McCandless
390166fa25
disable query cache when this test uses threads, so seeds reliably reproduce
2016-03-23 06:21:09 -04:00
Mike McCandless
6a5e935aa6
GeoPointField now validates incoming lat/lon
2016-03-23 04:42:15 -04:00
Mike McCandless
99c3bb2371
LUCENE-7128: fix a few more lon/lat places; remove more dead code
2016-03-22 18:21:24 -04:00
Robert Muir
5385c8d92f
LUCENE-7130: fold optimizations from LatLonPoint to GeoPointField
2016-03-22 17:47:09 -04:00
Robert Muir
1e5f74a02b
LUCENE-7127: remove epsilon-based testing from lucene/spatial, fix distance bugs.
2016-03-22 16:54:08 -04:00
Mike McCandless
275a259b1f
LUCENE-7128: clean up new geo APIs to consistently take lat before lon, make methods private when possible, use lat/lon instead of y/x naming, remove unused code
2016-03-22 11:52:26 -04:00
Mike McCandless
6a474df367
remove unnecessary confusing parameters
2016-03-22 11:35:02 -04:00
Robert Muir
ca3cad194b
Separate simple tests from random tests, separate tests for different encodings.
...
We can simplify the random tests to be easier to debug (like sandbox latlonpoint), but first
we need to ensure that no coverage is lost: otherwise we might weaken tests with quantization.
2016-03-21 23:44:10 -04:00
Robert Muir
4d0aa7709a
move tests from sandbox/ to spatial/ since they test GeoUtils methods (now with no unwanted quantization)
2016-03-21 23:09:49 -04:00
Robert Muir
69da13ff6f
LUCENE-7125: remove additional confusion (we already quantize once, don't do it again).
2016-03-21 22:47:31 -04:00
Robert Muir
d74572ac9c
LUCENE-7125: remove BKD_TOLERANCE from LatLonPoint polygon tests
2016-03-21 22:01:52 -04:00
Gregory Chanan
56292fd4ef
LUCENE-7115: Speed up FieldCache.CacheEntry toString by setting initial StringBuilder capacity
2016-03-21 11:51:49 -07:00
Robert Muir
ce3114233b
LUCENE-7123: deduplicate/cleanup spatial distance
2016-03-21 10:34:03 -04:00
Steve Rowe
751a53fe00
LUCENE-7111: DocValuesRangeQuery.newLongRange behaves incorrectly for Long.MAX_VALUE and Long.MIN_VALUE
2016-03-21 08:59:43 -04:00
Mike McCandless
0e189bca2d
LUCENE-7120: re-use readers while recursing in BKDWriter so we get more thorough checksum verification on its temp files
2016-03-21 05:49:47 -04:00
Ryan Ernst
7f9c4d886d
LUCENE-7118: Move numDims check before modulo numDims
2016-03-20 13:49:33 -07:00
Ryan Ernst
54e662b6da
LUCENE-7118: Fix packed points upper/lower bound length check
2016-03-20 13:39:50 -07:00
Robert Muir
e1a1dbfabc
LUCENE-7117, LUCENE-7118: Remove multidimensional arrays from PointRangeQuery
2016-03-20 16:05:17 -04:00
Mike McCandless
d392940092
LUCENE-7121: don't write ord for single-valued points, saving 4 bytes per point
2016-03-20 09:16:43 -04:00
Uwe Schindler
093a3e8711
Update tools for maximum Java 9 compatibility (especially Groovy)
2016-03-20 11:59:56 +01:00
Uwe Schindler
f93f90ca1b
SOLR-8874: Make Solr tests work with Java 9 Jigsaw
2016-03-19 14:53:59 +01:00
Mike McCandless
cc774994fc
make a separate explicit test case for testing threads
2016-03-19 09:04:04 -04:00
Mike McCandless
ef7a012513
LUCENE-7113: add best-effort checksum verification to temp files written by OfflineSorter and BKDWriter
2016-03-19 05:18:15 -04:00
yonik
5ea86b14c3
SOLR-8867: fix frange/FunctionValues.getRangeScorer to not match missing values, getRangeScorer refactored to take LeafReaderContext
2016-03-17 16:58:27 -04:00
Adrien Grand
c1e95d7b4d
More javadocs about exclusive bounds.
2016-03-17 16:25:27 +01:00
Mike McCandless
85945ef2a7
add asserts
2016-03-17 10:10:28 -04:00
Steve Rowe
6ebf61535e
SOLR-7339: Upgrade to Jetty 9.3.8.v20160314
2016-03-17 01:46:36 -04:00
Adrien Grand
24830b7f18
LUCENE-7106: Add helpers to compute aggregated stats on points.
2016-03-16 15:34:40 +01:00
Robert Muir
2c8b2a6cd3
remove obselete warning: this sort makes bounding boxes for you
2016-03-16 09:30:45 -04:00
Robert Muir
6ea458a0ed
LUCENE-7109: LatLonPoint.newPolygonQuery should use two-phase iterator
2016-03-16 09:26:15 -04:00
Robert Muir
870baafc82
LUCENE-7105: Optimize LatLonPoint.newDistanceQuery
2016-03-15 11:18:15 -04:00
Mike McCandless
3ba7456f70
LUCENE-7108: this test was running the wrong range query
2016-03-15 09:50:12 -04:00
Martijn van Groningen
c1dfeb8ef8
LUCENE-7093: Added point values support to the memory index
2016-03-15 13:13:19 +01:00
Mike McCandless
82c06190a3
LUCENE-7101: OfflineSorter had O(N^2) merge cost, and used too many temporary file descriptors, for large sorts
2016-03-15 07:36:02 -04:00
Mike McCandless
56ca641b5b
re-enable accidentally turned off test evilness
2016-03-15 05:18:53 -04:00
Martijn van Groningen
cf3eea2640
LUCENE-7091: Added doc values support to memory index
2016-03-15 09:57:40 +01:00
Martijn van Groningen
8185c8a11d
Change entry to reflect that LUCENE-7087 has been backported to 6.0
2016-03-15 09:49:17 +01:00
Robert Muir
02bb6c0155
LUCENE-7104: remove "sort missing first" from LatLonPoint.newDistanceSort and simplify/speedup code
2016-03-14 19:07:30 -04:00
Robert Muir
1660b5630a
LUCENE-7103: further optimize LatLonPoint.newDistanceSort
2016-03-14 16:25:31 -04:00
Robert Muir
0f949c8153
LUCENE-7102: LatLonPoint.newDistanceSort fails with "sort missing first"
2016-03-14 14:08:25 -04:00
Robert Muir
80fe00ba18
LUCENE-7099: improve test to exercise searchAfter
2016-03-14 12:19:19 -04:00
Mike McCandless
c8b06b68e6
fix test bug: this test expects single segment index
2016-03-14 10:42:03 -04:00
Mike McCandless
f706c9de82
fix test bug: these tests expect only one segment
2016-03-14 10:21:57 -04:00
Mike McCandless
8cbe471377
LUCENE-7097: let IntroSorter go 2X deeper in quicksort before switching to heapsort
2016-03-14 06:03:17 -04:00
Mike McCandless
3c7e55da3a
fix wrong param order in 2B tests
2016-03-13 08:56:51 -04:00
Mike McCandless
983908c809
optimize offline -> offline partition
2016-03-13 08:55:31 -04:00
Mike McCandless
d8eac8e38a
let BKD use 256 MB heap in 2B tests
2016-03-13 06:53:24 -04:00
Mike McCandless
f474f523dc
improve 2B points test; add new 2B test against BKD directly
2016-03-13 06:41:19 -04:00
Mike McCandless
b466cb6376
make BKD's temp file names a bit more descriptive
2016-03-13 06:28:49 -04:00
Mike McCandless
fcd90b9ba6
fix int overflow
2016-03-13 06:28:18 -04:00
Mike McCandless
fa9700737a
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-03-13 05:35:34 -04:00
Mike McCandless
b420ad4e3c
don't wrap searchers in this test
2016-03-13 05:35:02 -04:00
Mike McCandless
41ef29a2c3
optimize BKD leaf block writing: use incoming sorted points to compute commonn prefix (saves one pass); remove an extra copy bytes
2016-03-13 05:31:11 -04:00
Robert Muir
576a40596d
LUCENE-7099: use two-phase iteration in LatLonPoint.newDistanceQuery
2016-03-12 10:59:43 -05:00
Mike McCandless
0ff341f747
remove O(N^2) asserts
2016-03-12 06:17:03 -05:00
Mike McCandless
b8cfcaf344
LUCENE-7098: reduce OfflineSorter and BKDWriter IO by using 4 bytes instead of 8 bytes to encord ord in the common case
...
Squashed commit of the following:
commit 5ac2dcf2a972e46ccda3e7a8d8df5d0af58f712a
Merge: 68acf7f 684b222
Author: Mike McCandless <mikemccand@apache.org>
Date: Fri Mar 11 19:04:13 2016 -0500
Merge branch 'master' into intords
commit 68acf7f9ee2e0249d90075bc035721c0a91619f7
Author: Mike McCandless <mikemccand@apache.org>
Date: Fri Mar 11 19:04:01 2016 -0500
rename to totalPointCount and add comment; enforce that the caller doesn't exceed what they said; simplify the longOrds check to just compare to Integer.MAX_VALUE
commit afc964b56015475e8c354fdc8b0e05c7fa074ec2
Merge: db79e36 fe21f7a
Author: Mike McCandless <mikemccand@apache.org>
Date: Fri Mar 11 10:17:09 2016 -0500
Merge branch 'master' into intords
Conflicts:
lucene/core/src/test/org/apache/lucene/index/Test2BPoints.java
commit db79e365e097153a05813eaa70603c601bce1853
Author: Mike McCandless <mikemccand@apache.org>
Date: Fri Mar 11 10:15:05 2016 -0500
use int (4 bytes) not lon (8 bytes) if the number of points is less than ~2.1B
2016-03-12 05:12:46 -05:00
Mike McCandless
459d6fd9f9
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
2016-03-12 04:57:02 -05:00
Mike McCandless
3bc2b9e642
don't wrap index reader in this test: it requires leaf readers
2016-03-12 04:56:23 -05:00
Robert Muir
e169050dc3
LUCENE-7099: speed up embarrasingly slow sandbox/ distance sort
2016-03-11 21:20:07 -05:00
Robert Muir
b3ee746a8b
LUCENE-7099: add newDistanceSort to sandbox LatLonPoint
2016-03-11 19:29:22 -05:00
Mike McCandless
684b222221
Replace O(N^2) cost bitset clearing with O(N)
2016-03-11 18:43:34 -05:00
Mike McCandless
1e05d3be76
fix int overflow bug in BKDWriter that prevented it from indexing > 2.1B points; try to improve runtime of Test2BPoints
2016-03-11 06:48:30 -05:00
Mike McCandless
fafbb2b6c7
remove dead code
2016-03-11 05:34:19 -05:00
Mike McCandless
af34993843
remove TODO that was in fact done
2016-03-11 04:54:01 -05:00
Mike McCandless
1a233d83de
test bug: close the right reader (the one we passed to newSearcher)
2016-03-11 04:53:43 -05:00
Mike McCandless
859ad950cc
fix rare-ish test bug
2016-03-10 16:34:04 -05:00
Mike McCandless
7523ca1162
LUCENE-7086: move SlowCompositeReaderWrapper to misc module, and throw clear exc if you try to use in with points
...
Squashed commits:
commit e26b065c71388407bc6725256ca43d7bb30dee29
Author: Mike McCandless <mikemccand@apache.org>
Date: Thu Mar 10 14:16:45 2016 -0500
simplify the checking for incoming points
commit b7254376dcb398c7739aab4544118bb4526961d5
Merge: 8ec82a0 d35d569
Author: Mike McCandless <mikemccand@apache.org>
Date: Thu Mar 10 14:05:24 2016 -0500
Merge branch 'master' into slow_wrapper
Conflicts:
lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCache.java
lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCacheReopen.java
commit 8ec82a0d9a0dd946d96da20962bb2ea95758edbe
Author: Mike McCandless <mikemccand@apache.org>
Date: Thu Mar 10 13:56:25 2016 -0500
LUCENE-7086: move SlowCompositeReaderWrapper to misc module
2016-03-10 16:08:59 -05:00
Robert Muir
d35d5694d8
LUCENE-7090, LUCENE-7075: deprecate single-valued LegacyNumerics fieldcaching, provide Points-based replacement.
2016-03-10 08:29:56 -05:00
Martijn van Groningen
0b8b16f9f2
LUCENE-7087: Let MemoryIndex#fromDocument(...) accept 'Iterable<? extends IndexableField>' as document instead of 'Document'
2016-03-10 14:05:54 +01:00
Robert Muir
162636bf05
LUCENE-7081: prefix-compress compressible fixed-width data (like InetAddress/BigInteger)
2016-03-10 07:25:48 -05:00
Robert Muir
89cc676f2b
LUCENE-7089, LUCENE-7075: add points to flexible queryparser to replace legacy numerics support
2016-03-09 21:06:41 -05:00
Mike McCandless
dee8b5e40a
don't use slow composite wrapper in these tests
2016-03-09 14:11:04 -05:00
Robert Muir
a7ff1c8d3e
LUCENE-7076: improve deprecation message for LegacyNumericRangeQuery
2016-03-09 12:16:59 -05:00
Robert Muir
58623e00cc
LUCENE-7079: add newSetQuery(String, Collection) to primitive Point types
2016-03-09 11:25:37 -05:00
Mike McCandless
dacbf333e4
CheckIndex failed to say it was checking points
2016-03-09 11:03:37 -05:00
Christine Poerschke
f1ad769666
LUCENE-7084: fail precommit on comparingIdentical. also replaces one assert in the SingletonSortedSetDocValues constructor with equivalent test (TestSortedSetDocValues.testNoMoreOrdsConstant).
2016-03-09 16:00:15 +00:00
Robert Muir
116ece2fe4
LUCENE-7088, LUCENE-7075: Add PointRangeQueryBuilder to xml-queryparser to replace LegacyNumericRangeQueryBuilder
2016-03-09 10:07:33 -05:00
Mike McCandless
770e508fd3
LUCENE-7085: PointRangeQuery.equals sometimes returns false even if queries were in fact equal
2016-03-09 10:07:15 -05:00
Mike McCandless
004e83bb6c
add 2B point test
2016-03-09 09:30:22 -05:00
Simon Willnauer
588aeeaab7
LUCENE-7080: Sort files to corrupt to prevent HashSet iteration order issues across JVMs
2016-03-09 10:56:13 +01:00
Mike McCandless
12f7ad6696
remove troublesome float tests since facets only actually expose doubles
2016-03-08 17:30:30 -05:00
Mike McCandless
a6c8ccbc99
fix random float test to do the +/- 1 ulp in float space
2016-03-08 17:22:31 -05:00
Mike McCandless
62b3aaa526
improve testing for sparse points
2016-03-08 15:21:37 -05:00
Mike McCandless
e3fcbfe7ce
don't use slow composite reader in this test
2016-03-08 13:34:08 -05:00
Mike McCandless
2cac33a5ce
LUCENE-7083: default points merge logic should not ask a reader to merge points on a field that doesn't exist in that segment
2016-03-08 13:28:28 -05:00
David Smiley
9393a3190c
LUCENE-6952: Make most Filter* classes abstract.
2016-03-08 12:36:46 -05:00
Robert Muir
f9fbf8bc1d
LUCENE-7075: clean up LegacyNumerics* usage in queries/ tests
2016-03-08 11:17:12 -05:00
Robert Muir
75f18ad404
LUCENE-7075: clean up LegacyNumeric* in .document javadocs
2016-03-08 10:55:13 -05:00
Robert Muir
4cc9ad44df
LUCENE-7075: remove legacy numericutils usage from test.
2016-03-08 08:41:24 -05:00
Robert Muir
862bf7b5ac
LUCENE-7075: convert test class to use points
2016-03-08 07:36:34 -05:00
Robert Muir
bfd58bc9de
LUCENE-7077: fail precommit on useless assignment
2016-03-08 06:42:35 -05:00
Robert Muir
5bb072d4b9
LUCENE-7076: Improve MIGRATE.txt/Point javadocs
2016-03-08 06:21:07 -05:00
David Smiley
f7f81c3284
LUCENE-7056: Geo3D package re-org
2016-03-07 20:14:19 -05:00
Mike McCandless
3d633c6e68
LUCENE-7071: reduce byte copying costs of OfflineSorter
2016-03-07 18:12:10 -05:00
Robert Muir
4df4cb07ac
LUCENE-7073: fix FieldType issues with Points
2016-03-07 16:13:05 -05:00
Mike McCandless
9082d5f8f4
make test less evil
2016-03-07 08:38:38 -05:00
Mike McCandless
b79067a456
LUCENE-7072: always use WGS84 planet model in Geo3DPoint
2016-03-07 05:23:04 -05:00
Uwe Schindler
6ce6c01318
Update URL to Lucene's KEYS file
2016-03-07 11:21:12 +01:00
Adrien Grand
e695b0ae07
LUCENE-7066: Optimize PointRangeQuery for the case that all documents have a value and all points from the segment match.
2016-03-07 09:55:39 +01:00
Mike McCandless
74e7e1509a
LUCENE-7070: insert missing 's' in PointFormat/Reader/Writer
2016-03-06 08:27:02 -05:00
Mike McCandless
74f4f9f98d
remove useless print
2016-03-05 18:12:50 -05:00
Mike McCandless
f1c044a2d7
fix very rare test bug that I somehow hit
2016-03-05 04:57:14 -05:00
Mike McCandless
9c8cbefbff
add END to the end of SimpleText's points data file
2016-03-05 04:51:14 -05:00
anshum
437170fa88
SOLR-8789: Remove the *Tests regular expression from the build xml, and instead rename CollectionsAPISolrJTests to CollectionsAPISolrJTest
2016-03-04 16:34:44 -08:00
anshum
6772ed09e8
SOLR-8789: Fix common-build.xml to run tests in classes that end in *Tests.java
2016-03-04 16:25:24 -08:00
Robert Muir
144273a814
LUCENE-7067: add missing checkIntegrity calls for Points
2016-03-04 17:25:22 -05:00
Mike McCandless
91e29bab67
add randomized test for GeoUtils.circleToBBox
2016-03-04 16:53:58 -05:00