Commit Graph

24782 Commits

Author SHA1 Message Date
Karl Wright 6cf0e2a3e7 LUCENE-7173: Add complex test logic for creating nested polygons 2016-04-06 09:22:11 -04:00
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
Robert Muir 2af578e167 completely untested logic to try to make javadocs work across our rats nest of spatial modules ! 2016-03-31 22:00:49 -04:00
jbernste f8ae0d0deb SOLR-8888: Update CHANGES.txt 2016-03-31 20:56:44 -04:00
jbernste 3500b45d6d SOLR-8888: Add shortestPath Streaming Expression 2016-03-31 16:24:51 -04:00
nknize 7263491d8e replace svn up with git pull in buildAndPushRelease.py 2016-03-31 13:40:04 -05:00
Mike McCandless bf0e59223d LUCENE-7150: add Geo3DPoint.newDistance/Box/PolygonQuery 2016-03-31 11:54:01 -04:00
jbernste 0b2040d61c SOLR-8924: RollupStream breaks with null values in the group by buckets 2016-03-31 11:40:53 -04:00
Jan Høydahl 6e446c0b92 LUCENE-7155: Script addVersion.py does not detect the new naming convention for bugfix branches 2016-03-31 15:35:48 +02:00
Tommaso Teofili d08f327a7f LUCENE-7156 - fixed precision and accuracy calculations 2016-03-31 14:45:31 +02:00
nknize e1b45568b4 * 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:14:20 -05:00
David Smiley 5e5fd66257 SOLR-8903: Move SolrJ DateUtil to contrib/extraction as ExtractionDateUtil.
And removed obsolete methods.
2016-03-30 15:00:29 -04:00
David Smiley 39932f5758 SOLR-8904: fix accidental move of DateUtil to ExtractingDateUtil (wrong patch file) 2016-03-30 14:31:26 -04:00
David Smiley 94c04237cc 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.
2016-03-30 13:42:42 -04:00
markrmiller 34180ad5c3 SOLR-8864: TestTestInjection needs to cleanup after itself. 2016-03-30 12:33:14 -04:00
Mike McCandless c47a2996b5 LUCENE-7122: handle fixed length byte[] values more efficiently in OfflineSorter 2016-03-30 05:52:05 -04:00
Ryan Ernst 045659533c LUCENE-7147: Improve disjoint check for geo distance query traversal 2016-03-29 12:14:41 -07:00
Robert Muir e5836318dd disable test method for deprecated encoding: its too memory-hungry 2016-03-29 09:51:09 -04:00
Robert Muir 5619838e1c quantize random rects in test too (for now) until we can really remove this leniency... 2016-03-29 00:16:52 -04:00
Jan Høydahl aec11ebcf2 SOLR-8870: AngularJS support for qt style handlers, and fix slash encoding bug to support Query panel through proxy 2016-03-29 00:31:40 +02:00
Robert Muir 7476d0622f this test uses NaN to mean missing. don't try to quantize it. 2016-03-28 16:02:02 -04:00
Robert Muir 9189bdc1c2 don't quantize ALL generated points in this test, just the ones we index (except for some leniency: see the TODO).
This may cause more test failures!
2016-03-28 14:39:01 -04:00