Commit Graph

24915 Commits

Author SHA1 Message Date
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
jbernste ffdfceba53 SOLR-8888: Add shortestPath Streaming Expression 2016-03-31 16:35:49 -04:00
nknize 82ed2383f0 replace svn up with git pull in buildAndPushRelease.py 2016-03-31 13:41:01 -05:00
jbernste 74b5a7a972 SOLR-8924: RollupStream breaks with null values in the group by buckets 2016-03-31 12:05:18 -04:00
Mike McCandless 0dcf822f40 LUCENE-7150: add Geo3DPoint.newDistance/Box/PolygonQuery 2016-03-31 11:54:50 -04:00
Tommaso Teofili 2f9a966b70 LUCENE-7156 - fixed precision and accuracy calculations
(cherry picked from commit d08f327)
2016-03-31 14:53:11 +02:00
nknize 08dae30f73 * 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:42:50 -05:00
David Smiley 44e0ac3856 SOLR-8903: Move SolrJ DateUtil to contrib/extraction as ExtractionDateUtil.
And removed obsolete methods.
(cherry picked from commit 5e5fd66)
2016-03-30 15:07:52 -04:00
David Smiley 72f5eac2c5 SOLR-8904: switch from SimpleDateFormat to Instant.parse and format.
[value] and ms() and contrib/analytics now call DateMathParser to parse.  DateFormatUtil is now removed.
(cherry picked from commit 94c0423) (cherry picked from commit 39932f5)
2016-03-30 14:37:55 -04:00
markrmiller 28a51cef56 SOLR-8864: TestTestInjection needs to cleanup after itself. 2016-03-30 12:35:21 -04:00
Jan Høydahl f9a4deb7be SOLR-8870: AngularJS support for qt style handlers, and fix slash encoding bug to support Query panel through proxy
(cherry picked from commit aec11eb)
2016-03-30 12:58:44 +02:00
Mike McCandless e2d58ccb37 LUCENE-7122: handle fixed length byte[] values more efficiently in OfflineSorter 2016-03-30 05:53:10 -04:00