Commit Graph

24976 Commits

Author SHA1 Message Date
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
nknize 4e70702782 Fix missing import from refactor. Update change log 2016-04-02 14:07:19 -05:00
nknize 951563aa42 LUCENE-7163: refactor GeoRect, Polygon, and GeoUtils tests to geo package in core. 2016-04-02 14:07:06 -05:00
Robert Muir 99d16feb7e 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:25:18 -04:00
markrmiller d9c3c7e6f0 SOLR-8855: The HDFS BlockDirectory should not clean up it's cache on shutdown. 2016-04-01 15:51:34 -04:00
Robert Muir ca9eca9de0 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:30:19 -04:00
nknize 637dce83e2 LUCENE-7152: Refactor GeoUtils from lucene-spatial to core module. 2016-04-01 11:05:36 -05:00
markrmiller 461c9b4fef SOLR-8856: Do not cache merge or 'read once' contexts in the hdfs block cache. 2016-04-01 10:26:54 -04:00
Robert Muir d9d88b8941 LUCENE-7160: LatLonPoint quantization should use the same rounding mode as GeoPointField 2016-04-01 08:33:50 -04:00
Mike McCandless 4ecfa98bdb LUCENE-7158: use the same value (from WGS84) for earth's mean radius when we approximate it as a sphere 2016-04-01 05:41:19 -04:00
Robert Muir 50909527d0 LUCENE-7153: remove extra PIP copy, this is in Polygon.java now 2016-04-01 00:24:27 -04:00
Robert Muir 2c0a8ed418 LUCENE-7153: give GeoPointField and LatLonPoint full polygon support 2016-03-31 22:29:44 -04:00
Robert Muir 1153264782 completely untested logic to try to make javadocs work across our rats nest of spatial modules ! 2016-03-31 22:11:18 -04:00
jbernste 586afc3db1 SOLR-8888: Update CHANGES.txt 2016-03-31 20:59:19 -04:00