Commit Graph

24681 Commits

Author SHA1 Message Date
Mike McCandless 9726903c99 LUCENE-7139: fix bugs in geo3d's vincenty distance implementation 2016-03-25 08:00:26 -04:00
Mike McCandless 90958799c6 BKDWriter optimization: avoid copying unnecessary bytes when marking the right tree ords 2016-03-25 07:45:14 -04:00
Robert Muir 39aaa108ac LUCENE-7136: remove threads from BaseGeoPointTestCase 2016-03-24 14:15:11 -04:00
Robert Muir 139aa0bec5 LUCENE-7137: consolidate many tests across Points and GeoPoint queries/fields 2016-03-24 12:42:04 -04:00
Mike McCandless 521ff41c84 BKDWriter: also fix split to read ord after docID 2016-03-24 11:22:37 -04:00
Mike McCandless 2ca08aa6ad simplify BKDWriter's comparator tie break for its temp files; add test case verifying tie break by docID 2016-03-24 10:03:27 -04:00
Mike McCandless d9de158676 fix test bug: pass the correct point count when creating BKDWriter 2016-03-24 05:14:38 -04:00
yonik 99d1478810 LUCENE-7119: allow bypass of docvalues check in DocTermOrds 2016-03-23 23:06:46 -04:00
yonik b978666d57 Fix StrField.toObject and toExternal to work with docValue IndexableField instances, optimize createFields 2016-03-23 20:44:22 -04:00
Kevin Risden 2b13210c3d SOLR-8810: Implement Connection.setReadOnly, Statement.set/getFetchSize, ResultSet.getType 2016-03-23 17:33:12 -05:00
Mike McCandless 064f599cc8 LUCENE-7133: check field name in equals/hashCode for point queries 2016-03-23 17:12:43 -04:00
Kevin Risden 39270d9df8 SOLR-8819: Implement DatabaseMetaDataImpl getTables() and fix getSchemas(). (Trey Cahill, Joel Bernstein, Kevin Risden) 2016-03-23 15:50:22 -05:00
yonik 82a537795f SOLR-8886: fix TrieField.toObject(IndexableField) for docValues 2016-03-23 12:40:05 -04:00
Mike McCandless 855763b063 disable query cache when this test uses threads, so seeds reliably reproduce 2016-03-23 06:23:53 -04:00
Mike McCandless 223568a238 GeoPointField now validates incoming lat/lon 2016-03-23 04:42:48 -04:00
Mike McCandless f2234dccb3 LUCENE-7128: fix a few more lon/lat places; remove more dead code 2016-03-22 18:21:52 -04:00
Robert Muir 7c4a40d50a LUCENE-7130: fold optimizations from LatLonPoint to GeoPointField 2016-03-22 17:48:52 -04:00
Robert Muir ee1aca8643 LUCENE-7127: remove epsilon-based testing from lucene/spatial, fix distance bugs. 2016-03-22 16:55:33 -04:00
Mike McCandless c5da271b9d LUCENE-7128: clean up new geo APIs to consistently take lat before lon, make methods private when possible, use lat/lon instead of y/x naming, remove unused code 2016-03-22 11:53:00 -04:00
Mike McCandless 86d7eefd1c remove unnecessary confusing parameters 2016-03-22 11:35:44 -04:00
Robert Muir ee6e0acf0f Separate simple tests from random tests, separate tests for different encodings.
We can simplify the random tests to be easier to debug (like sandbox latlonpoint), but first
we need to ensure that no coverage is lost: otherwise we might weaken tests with quantization.
2016-03-21 23:46:00 -04:00
jbernste c7b7f1d027 SOLR-8882: Wait for checkpoint in DaemonStream, TopicStream testcase 2016-03-21 23:41:12 -04:00
Robert Muir c9a197490d move tests from sandbox/ to spatial/ since they test GeoUtils methods (now with no unwanted quantization) 2016-03-21 23:11:29 -04:00
Robert Muir 5da1ec91d0 LUCENE-7125: remove additional confusion (we already quantize once, don't do it again). 2016-03-21 22:48:13 -04:00
Robert Muir e4359aadf2 LUCENE-7125: remove BKD_TOLERANCE from LatLonPoint polygon tests 2016-03-21 22:02:45 -04:00
Gregory Chanan 0926cecae6 LUCENE-7115: Speed up FieldCache.CacheEntry toString by setting initial StringBuilder capacity 2016-03-21 11:53:15 -07:00
Gregory Chanan dfab0a60f8 SOLR-8869: Optionally disable printing field cache entries in SolrFieldCacheMBean 2016-03-21 11:36:52 -07:00
markrmiller b3136e5459 SOLR-8857: HdfsUpdateLog does not use configured or new default number of version buckets and is hard coded to 256. 2016-03-21 14:11:19 -04:00
Alan Woodward 451ff488af SOLR-8837: Fix duplicate election node detection 2016-03-21 17:40:19 +00:00
jbernste faa077224c SOLR-8878: Remove debugging 2016-03-21 12:42:59 -04:00
jbernste 5c074dac28 SOLR-8878: Allow the DaemonStream run rate be controlled by the internal stream 2016-03-21 12:42:59 -04:00
Robert Muir 0b221826a3 LUCENE-7123: deduplicate/cleanup spatial distance 2016-03-21 10:35:51 -04:00
Steve Rowe 4148cdf744 LUCENE-7111: DocValuesRangeQuery.newLongRange behaves incorrectly for Long.MAX_VALUE and Long.MIN_VALUE 2016-03-21 09:01:11 -04:00
Mike McCandless 551cf75056 LUCENE-7120: re-use readers while recursing in BKDWriter so we get more thorough checksum verification on its temp files 2016-03-21 05:50:23 -04:00
Uwe Schindler 1d98753e2e SOLR-8082: Fix forbidden APIs 2016-03-21 00:10:06 +01:00
Steve Rowe 2668ff5abb SOLR-8082: Can't query against negative float or double values when indexed='false' docValues='true' multiValued='false' 2016-03-20 16:56:54 -04:00
Ryan Ernst ab821d3a08 LUCENE-7118: Move numDims check before modulo numDims 2016-03-20 13:50:27 -07:00
Ryan Ernst 38673877ae LUCENE-7118: Fix packed points upper/lower bound length check 2016-03-20 13:41:51 -07:00
Robert Muir 51b109620b LUCENE-7117, LUCENE-7118: Remove multidimensional arrays from PointRangeQuery 2016-03-20 16:06:40 -04:00
Mike McCandless cc01ba39cd LUCENE-7121: don't write ord for single-valued points, saving 4 bytes per point 2016-03-20 09:17:09 -04:00
Uwe Schindler 0f60ce61eb SOLR-8874: Update Maven config to correctly set tests.disableHdfs 2016-03-20 13:26:20 +01:00
Uwe Schindler edf12616bb Update tools for maximum Java 9 compatibility (especially Groovy) 2016-03-20 12:02:14 +01:00
Uwe Schindler 19b4168b3f SOLR-8874, SOLR-8876: Disable more Hadoop tests with Java 9 2016-03-20 10:41:46 +01:00
Uwe Schindler 4d20feeeae SOLR-8877: Disable test on environments with whitespace 2016-03-19 15:59:09 +01:00
Uwe Schindler 0a89ffaf96 SOLR-8874: Make Solr tests work with Java 9 Jigsaw 2016-03-19 14:54:58 +01:00
Mike McCandless 3d6b5d12a2 make a separate explicit test case for testing threads 2016-03-19 09:04:39 -04:00
Mike McCandless 70290e8947 LUCENE-7113: add best-effort checksum verification to temp files written by OfflineSorter and BKDWriter 2016-03-19 05:18:50 -04:00
Noble Paul 5c50124246 fixing git merge issues 2016-03-18 18:06:36 +05:30
yonik c195395d34 SOLR-8867: fix frange/FunctionValues.getRangeScorer to not match missing values, getRangeScorer refactored to take LeafReaderContext 2016-03-17 16:59:24 -04:00
Noble Paul 6f189fa4be typos fixed 2016-03-18 00:48:58 +05:30