24802 Commits

Author SHA1 Message Date
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
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
markrmiller
ce172acb8f SOLR-4509: Move to non deprecated HttpClient impl classes to remove stale connection check on every request and move connection lifecycle management towards the client. 2016-04-01 12:21:59 -04:00
nknize
3f217aba6d LUCENE-7152: Refactor GeoUtils from lucene-spatial to core module. 2016-04-01 11:03:11 -05:00
markrmiller
bfc6dcf92e SOLR-8856: Remove extra changes entry. 2016-04-01 10:28:32 -04: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