25240 Commits

Author SHA1 Message Date
Chris Hostetter
5b6eacb80b SOLR-445: new ToleranteUpdateProcessorFactory to support skipping update commands that cause failures when sending multiple updates in a single request.
SOLR-8890: New static method in DistributedUpdateProcessorFactory to allow UpdateProcessorFactories to indicate request params that should be forwarded when DUP distributes updates.

This commit is a squashed merge from the jira/SOLR-445 branch (as of b08c284b26b1779d03693a45e219db89839461d0)
2016-03-25 13:13:50 -07:00
Mike McCandless
f785d2a034 randomize how BKDWriter splits in RandomCodec so we exercise geo shape APIs with more exotic rectangles 2016-03-25 15:40:50 -04:00
Ryan McKinley
9cbaa028dc Merge branch 'branch_6x' of https://git-wip-us.apache.org/repos/asf/lucene-solr into branch_6x 2016-03-25 12:36:30 -07:00
Ryan McKinley
8254724bb1 SOLR-8902: Make sure ReturnFields only returns the requested fields 2016-03-25 12:22:44 -07:00
Martijn van Groningen
e26a443194 LUCENE-7095: Add point values support to the numeric field query time join 2016-03-25 17:24:02 +01:00
Adrien Grand
259e69b76f LUCENE-7112: WeightedSpanTermExtractor.extractUnknownQuery is only called on queries that could not be extracted. 2016-03-25 15:46:17 +01:00
yonik
ca374d9476 SOLR-8865: Real-time get sometimes fails to retrieve stored fields from docValues 2016-03-25 10:18:58 -04:00
Mike McCandless
1d64c47aa7 LUCENE-7139: move these fixed tests out of the loop 2016-03-25 08:25:33 -04:00
Mike McCandless
4d2be5d569 LUCENE-7140: add spatial3d PlanetModel.bisection method 2016-03-25 08:22:06 -04:00
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