Commit Graph

24910 Commits

Author SHA1 Message Date
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
Christine Poerschke 93511352ac SOLR-8938: Add optional -excluderegex argument to ZkCLI. 2016-04-07 12:54:42 +01: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
Shalin Shekhar Mangar 4205b1c804 SOLR-8948: OverseerTaskQueue.containsTaskWithRequestId encounters json parse error if a SolrResponse node is in the overseer queue 2016-04-06 11:56:27 +05:30
Gregory Chanan a5afd1cee8 SOLR-8892: Fix typo in CHANGES.txt 2016-04-05 12:10:57 -07:00
Gregory Chanan fd0d699747 SOLR-8892: Allow SolrInfoMBeans to return different statistics for /jmx vs web ui calls 2016-04-05 12:01:40 -07:00
David Smiley 3bbf8aaa8a SOLR-8875: Fix null clusterState from ZkStateWriter. Revert my sanity check asserts in Overseer. 2016-04-05 14:15:31 -04:00
Noble Paul ee98f6ab8d Merge remote-tracking branch 'origin/master' 2016-04-05 22:46:05 +05:30
Noble Paul 18fb9463de SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 22:45:36 +05:30
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
Uwe Schindler d0156b1126 SOLR-4509: Fix test failures with Java 9 module system by doing a correct cleanup 2016-04-02 20:13:43 +02: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