Commit Graph

24789 Commits

Author SHA1 Message Date
Karl Wright 30d612f84e LUCENE-7195: Clockwise/counterclockwise detection was rotating coordinates in the wrong direction. 2016-04-08 15:54:29 -04:00
nknize 707960fb22 adds 6.0.0 back compat test indexes 2016-04-08 14:19:38 -05:00
Steve Rowe ddc02603a7 LUCENE-7174: IntelliJ config: remove trailing slashes on dir names to make IntelliJ happy 2016-04-08 12:32:14 -04:00
Steve Rowe ebb2127cca LUCENE-7174: IntelliJ config: switch JUnit library to include all jars under lucene/test-framework/lib/, rather than using the exact jar names, which is brittle, and causes trouble when people forget to update when jars are upgraded (like on this issue) 2016-04-08 12:32:08 -04:00
Karl Wright 3304f524d7 LUCENE-7192: Permit adjacent points in a polygon to be coplanar. 2016-04-08 09:19:05 -04:00
Karl Wright 7b9a4c69e5 LUCENE-7191: Tests now exercise the query factory methods in Geo3DPoint. 2016-04-08 06:09:02 -04:00
Tommaso Teofili 585dddca7e LUCENE-7193 - added missing timeout param to tests
(cherry picked from commit c906b4f)
2016-04-08 11:09:11 +02:00
Tommaso Teofili 646081c3dd LUCENE-7193 - add generic f1-measure metric to confusion matrix
(cherry picked from commit 2507015)
2016-04-08 11:08:26 +02:00
Mike McCandless dd9d5d06d2 LUCENE-7168: use center value on decode 2016-04-07 18:49:13 -04:00
Karl Wright 48f1d56c7e LUCENE-7190: Make some methods private in public classes, and make a very few constants public. 2016-04-07 18:32:41 -04:00
Karl Wright ecbf1a4d83 LUCENE-7173: Iterate at least 100 times each for polygon construction when testing. 2016-04-07 18:01:55 -04:00
Mike McCandless 347b9f0d7f LUCENE-7189: make it easier to write WebGL earth HTML for debugging geo failures 2016-04-07 17:55:05 -04:00
nknize f7a25f07ad fix bug in testLat/LonQuantization 2016-04-07 15:23:51 -05:00
nknize 6a6f73a26c LUCENE-7184: Refactor LatLonPoint encoding methods to new GeoEncodingUtils helper class in core geo package. Also refactors LatLonPointTests to TestGeoEncodingUtils. 2016-04-07 14:18:34 -05:00
Robert Muir 01867a5b31 LUCENE-7185: fix tie-breaker sort bug 2016-04-07 11:28:22 -04:00
Christine Poerschke 835dc33102 SOLR-8938: Add optional -excluderegex argument to ZkCLI. 2016-04-07 15:12:18 +01:00
Mike McCandless 16c6dd9a2d LUCENE-7168: fix ceil/floor decode to match encode 2016-04-07 09:28:34 -04:00
Karl Wright c1517c4a9c Fix up internal method signatures to make some degree of greater sense, in GeoPolygonFactory. 2016-04-07 07:41:35 -04:00
Mike McCandless 66859dcc66 fix wrong description of how to run IndexFiles demo 2016-04-07 05:29:39 -04:00
Robert Muir 6d537d2bad LUCENE-7185: fix edge case bugs in LatLonPoint bounding box query 2016-04-07 00:10:42 -04:00
Robert Muir cebac848a9 LUCENE-7185: fix edge case bug in test logic (min=max=180), don't leak Directory for edge cases! 2016-04-07 00:09:19 -04:00
Robert Muir e75db94767 LUCENE-7185: make an empty grid the simple way 2016-04-06 21:50:10 -04:00
Mike McCandless 6868a8cd74 LUCENE-7168: improve encode and quantization testing for geo3d 2016-04-06 19:19:31 -04:00
Karl Wright a3ea71e04e LUCENE-7173: Get the random nested polygon code working. 2016-04-06 18:59:13 -04:00
Karl Wright 69514992bc LUCENE-7173: Begin adding tests for random polygons with nesting. Also found and fixed a tiling problem. 2016-04-06 17:44:06 -04:00
Karl Wright 558aac376a LUCENE-7173: Add complex test logic for creating nested polygons 2016-04-06 17:43:44 -04:00
Robert Muir 99edbaaa12 don't test LatLonPoint's quantization with epsilons: demand exact answers 2016-04-06 14:18:53 -04:00
Christine Poerschke a903eeaae8 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:47:27 +01:00
Christine Poerschke 3d6f2aa31c 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:44:34 +01:00
Shalin Shekhar Mangar 6c7487351f SOLR-8948: OverseerTaskQueue.containsTaskWithRequestId encounters json parse error if a SolrResponse node is in the overseer queue
(cherry picked from commit 4205b1c)
2016-04-06 11:57:27 +05:30
Gregory Chanan 2b0963ee38 SOLR-8892: Allow SolrInfoMBeans to return different statistics for /jmx vs web ui calls 2016-04-05 12:07:18 -07:00
David Smiley 4cfd33f743 SOLR-8875: Fix null clusterState from ZkStateWriter. Revert my sanity check asserts in Overseer.
(cherry picked from commit 3bbf8aa)
2016-04-05 14:18:27 -04:00
Noble Paul 88d2b3bfbe SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 23:21:07 +05:30
Noble Paul d67ec54932 SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 23:20:55 +05:30
Karl Wright 784e3e3863 LUCENE-7176: Hide GeoPath implementation in a factory/interface. 2016-04-05 06:10:48 -04:00
Karl Wright 56a4b6af37 LUCENE-7167: Re-enable test I disabled because of the package-private changes. 2016-04-05 03:01:25 -04:00
Karl Wright 1a33e75c29 LUCENE-7173: Bring polygon API into compliance with 2D version. 2016-04-05 00:52:03 -04:00
Uwe Schindler b37da2b87d LUCENE-7174: Upgrade randomizedtesting to 2.3.4 2016-04-04 23:42:17 +02:00
Steve Rowe 3330abe46f Add Points format to o.a.l.codec package description 2016-04-04 16:54:15 -04:00
Karl Wright 974dc158e4 LUCENE-7157: More javadoc fixes 2016-04-04 15:56:45 -04:00
Karl Wright 76f9e55431 LUCENE-7157: More javadoc fixes 2016-04-04 15:56:27 -04:00
Karl Wright d119665ce4 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 15:56:07 -04:00
Karl Wright e509eb6851 LUCENE-7157: Fix up javadoc 2016-04-04 15:55:39 -04:00
Karl Wright 882d1d4409 LUCENE-7157: Update API javadoc and Polygon method visibilities 2016-04-04 15:55:14 -04:00
Karl Wright c698928b06 LUCENE-7167:
Make solid variants package private

More public->package private
2016-04-04 15:54:48 -04:00
Karl Wright 0399eb4b67 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 13:13:17 -04:00
Robert Muir 1113443fc6 LUCENE-7159: Speed up LatLonPoint point-in-polygon performance 2016-04-04 12:52:28 -04:00
Robert Muir bb2e01c3d9 LUCENE-7159: improve testing of polygon tree methods 2016-04-03 14:08:56 -04:00
Robert Muir 741a1e4eed LUCENE-7163: move Polygon's test too 2016-04-03 13:34:36 -04:00
Robert Muir a70c3df7a6 package-info.java -> package.html because this package is already defined in core/ 2016-04-03 12:10:50 -04:00