24864 Commits

Author SHA1 Message Date
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
Robert Muir
8c5115ea9a LUCENE-7145: consolidate polygon range checks, tests, box usage. make cannot -> must not consistent so we can test this stuff. 2016-03-28 14:12:49 -04:00
Mike McCandless
565525fdb7 fix nocommit 2016-03-28 14:13:44 -04:00
Robert Muir
2b4ab3cbde minor test cleanups 2016-03-28 12:00:53 -04:00
Robert Muir
956e4363f1 factor out polygon/box generation into GeoTestUtil. removes lots of leniency and unnecessary quantization! may cause failures!!!! 2016-03-28 11:48:14 -04:00
Mike McCandless
010f02216d simplify base geo test class 2016-03-28 11:08:53 -04:00
Robert Muir
1b3a3c113e geo tests: simplify random generation 2016-03-28 10:54:03 -04:00
Mike McCandless
67ca5499a3 LUCENE-7144: forceMerge before pulling reader 2016-03-28 09:42:29 -04:00
Robert Muir
9a08113a53 LUCENE-7126: GeoPointDistanceRangeQuery not valid for multi-valued docs 2016-03-28 07:46:08 -04:00
Tommaso Teofili
e8dac9bfdf LUCENE-6954 - keep info about relationship between fields and terms when retrieving terms in MLT 2016-03-28 10:07:30 +02:00
Mike McCandless
6f0488f730 clean up random poly generation; simplify geo util methods for validating lat/lon 2016-03-27 17:47:14 -04:00
Robert Muir
11d10699cc test polygon queries with mike's surprise polygon generator 2016-03-27 16:58:14 -04:00
Robert Muir
6ac0c43b97 slightly improve polygon testing: test something other than boxes 2016-03-27 15:27:17 -04:00
Mike McCandless
7b93fc46b1 LUCENE-7142: BKDWriter wasn't splitting correctly with long ords; improve tests so we sometimes long ords even for small number of points 2016-03-27 05:52:29 -04:00
Mike McCandless
6d288704c4 the scratch BytesRef must be private to each offline reader 2016-03-26 06:25:53 -04:00
Mike McCandless
78d5cfefe2 LUCENE-7141: switch OfflineSorter's ByteSequencesReader to BytesRefIterator 2016-03-26 03:47:06 -04:00
Mike McCandless
c93c88dfb4 fix bug in exception's message 2016-03-25 20:15:07 -04:00
Mike McCandless
1e9fb843a9 add missing javadocs 2016-03-25 19:47:14 -04:00
Ryan McKinley
6b7030d637 SOLR-8902: fix glob test (put back the fields.clear()) 2016-03-25 13:51:08 -07:00