Commit Graph

4735 Commits

Author SHA1 Message Date
Mike McCandless a3270ac6e6 LUCENE-6766: keep SortingMergePolicy for solr back-compat; fix Solr tests; fix precommit failures 2016-06-11 11:48:40 -04:00
Alan Woodward 4a22b0ff82 SOLR-9176: Fix facet method fallback selection 2016-06-10 15:41:24 +01:00
Steve Rowe 3c789e9d27 SOLR-8812: edismax: turn off mm processing if no explicit mm spec is provided and there are explicit operators (except for AND) - addresses problems caused by SOLR-2649 2016-06-10 02:33:30 -04:00
Gregory Chanan 360d9c40da SOLR-9199: ZkController#publishAndWaitForDownStates logic is inefficient 2016-06-09 13:26:30 -07:00
Scott Blum cde57ab64a SOLR-9191: OverseerTaskQueue.peekTopN() fatally flawed 2016-06-09 15:16:27 -04:00
Mike McCandless ae0adfc34d LUCENE-7323: compound file writing now verifies checksum and segment ID for the incoming sub-files, to catch hardware issues or filesystem bugs earlier 2016-06-09 14:49:47 -04:00
Noble Paul 23f3b31114 SOLR-7123: echo shows wrong output, and added a test for multi level nesting 2016-06-09 11:48:59 +05:30
Noble Paul a07c40a217 SOLR-7123: echo shows wrong output, and added a test for multi level nesting 2016-06-09 11:48:45 +05:30
Noble Paul 73b73f068b SOLR-9198: config APIs unable to add multiple values with same name 2016-06-09 00:35:12 +05:30
David Smiley 3a57beaa9e SOLR-8859: Fix AbstractSpatialFieldType to not cycle through all Spatial4j provided formats.
And Fix RptWithGeometrySpatialField to be less brittle on init()
(cherry picked from commit fb37b3e)
2016-06-07 17:06:04 -04:00
Noble Paul 7f6be6e893 SOLR-7123: Syntax modified. Multiple paths can be added in the split parameter itself (pipe separated) 2016-06-07 22:19:09 +05:30
Uwe Schindler d4ede8b2f7 Fix temp dir usage in ZkCLI test 2016-06-07 10:56:07 +02:00
Chris Hostetter 4e3884bec7 Revert "SOLR-9140: Replace some zk state polling with CollectionStateWatchers"
Alan's comments (via Uwe) in SOLR-9140 jira comments suggest that he thought he had already
reverted this on both branches, but that is not the case.  Reverting on his behalf due to the
likelyhood that this is causing SOLR-9189.

Alan's comments regarding the master equivilent revert...

"There's still some places where notifications can be missed, so I'm reverting
this until those are fixed."

This reverts commit 9f299bb6ad.
2016-06-06 14:13:59 -07:00
Alan Woodward 3595b9ab2e Revert "SOLR-9181: Fix test bug in ZkStateReaderTest"
This reverts commit 0cfe43164a.
2016-06-04 11:06:31 +01:00
Chris Hostetter 8481d6f47f SOLR-9107: new @RandomizeSSL annotation for more fine grained control of SSL testing
(cherry picked from commit 09372acb66)

Conflicts:
	solr/CHANGES.txt
2016-06-03 11:12:42 -07:00
Alan Woodward 9f299bb6ad SOLR-9140: Replace some zk state polling with CollectionStateWatchers 2016-06-03 15:52:41 +01:00
Alan Woodward 0cfe43164a SOLR-9181: Fix test bug in ZkStateReaderTest 2016-06-03 15:13:17 +01:00
Chris Hostetter 7f82139369 SOLR-9182: SuppressSSL on some tests where it's non to cause OOM
(cherry picked from commit 1eb6c9f816)

Conflicts:
	solr/core/src/test/org/apache/solr/cloud/TestTolerantUpdateProcessorRandomCloud.java
2016-06-02 11:30:28 -07:00
Noble Paul 734dcb99fc SOLR-8744: Overseer operations performed with fine grained mutual exclusion 2016-06-02 14:49:06 +05:30
Noble Paul 91f8edca8f SOLR-7123: '/update/json/docs' path supports nested documents 2016-06-01 18:35:34 +05:30
Chris Hostetter 22faa09882 SOLR-8940: Fix group.sort option
(cherry picked from commit 18256fc287)
2016-05-31 16:12:55 -07:00
Jan Høydahl a460addd2f SOLR-8583: Do not attempt highlight of alternate if it is same as original hl field
(cherry picked from commit 05ce40a)
2016-05-30 10:25:55 +02:00
Jan Høydahl fa84052682 SOLR-8583: Apply highlighting to hl.alternateField by default.
(cherry picked from commit e37e49e)
2016-05-29 09:46:15 +02:00
Erick e4210b29a8 SOLR-9136: Separate out the error statistics into server-side error vs client-side error 2016-05-28 11:20:05 -07:00
Mikhail Khludnev 9863eea256 SOLR-9110: removing static members from tests. 2016-05-28 00:52:52 +03:00
yonik 5525f42928 SOLR-9160: Sync 6x and 7.0 move of UninvertingReader, SlowCompositeReaderWrapper for Solr (LUCENE-7283) 2016-05-27 12:40:24 -04:00
Mikhail Khludnev aec3654fb8 SOLR-9110: moving JoinFromCollection- SubQueryTransformer- BlockJoinFacet- Distrib Tests to SolrCloudTestCase 2016-05-27 14:36:45 +03:00
jdyer1 f1f85e560f SOLR-9165: disable "cursorMark" when testing for valid SpellCheck Collations 2016-05-26 14:48:23 -05:00
Noble Paul 8276a62b42 SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-05-25 23:43:12 +05:30
Chris Hostetter dc67fcde51 SOLR-9119: several static methods in ValueSourceParser have been made private in master, and deprecated here
(cherry picked from commit e9f65fe0f8) ... with modifications
2016-05-24 15:51:34 -07:00
Chris Hostetter 1f5be04af0 SOLR-9159: New cloud based concurrent atomic update test
(cherry picked from commit 19044afed4)
2016-05-24 13:30:38 -07:00
Jan Høydahl 41c3112693 SOLR-9151: Fix SolrCLI so that bin/solr -e cloud example can be run from any CWD
(cherry picked from commit 50c4f58)
2016-05-24 12:57:49 +02:00
Dawid Weiss d6264eb475 LUCENE-7277: Make Query.hashCode and Query.equals abstract. 2016-05-24 10:36:15 +02:00
Noble Paul afe196481f improved logging for debug errors such as these SOLR-9143 2016-05-24 10:41:13 +05:30
Dennis Gove ab87a0e756 SOLR-8988: Adds query option facet.distrib.mco which when set to true allows the use of facet.mincount=1 in cloud mode 2016-05-23 15:23:37 -04:00
Christine Poerschke c432e44264 SOLR-9134: Fix RestManager.addManagedResource return value. 2016-05-23 16:41:34 +01:00
Alan Woodward 6c37541618 SOLR-9132: Fix request-counting logic in ConnectionReuseTest 2016-05-23 15:25:25 +01:00
Noble Paul 978885cf70 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-05-23 12:17:09 +05:30
Noble Paul 48feaed745 more logging for debug errors such as these SOLR-9143 2016-05-23 12:16:43 +05:30
Mikhail Khludnev bbac85c35a SOLR-9147: using BAOS from commons io 2.5 in EmbeddedSolrServer to avoid array resize. 2016-05-23 00:15:46 +03:00
Steve Rowe b4d8e42a1f SOLR-8801: /bin/solr create script always returns exit code 0 when a collection/core already exists 2016-05-20 19:37:37 -04:00
Uwe Schindler ebcc991034 Merge branch 'branch_6x' of https://git-wip-us.apache.org/repos/asf/lucene-solr into branch_6x 2016-05-20 22:26:14 +02:00
Uwe Schindler 7bd6d94952 LUCENE-7292: Use '-release' instead of '-source/-target' during compilation on Java 9+ to ensure real cross-compilation 2016-05-20 22:25:28 +02:00
Alan Woodward 0132d58e55 SOLR-9132: Add some logging to ConnectionReuseTest for debugging 2016-05-20 19:20:59 +01:00
Alan Woodward f1e870c016 SOLR-9132: Move some tests to SolrCloudTestBase 2016-05-19 16:59:08 +01:00
jbernste cb38b14205 SOLR-9128: Fix error handling issues in Streaming classes 2016-05-18 22:53:02 -04:00
Shalin Shekhar Mangar 2dff2b8070 SOLR-9116: Race condition causing occasional SolrIndexSearcher leak when SolrCore is reloaded
(cherry picked from commit d6a5c5a)
2016-05-18 20:17:35 +05:30
Shalin Shekhar Mangar ba7698e4e7 SOLR-9117: The first SolrCore is leaked after reload
(cherry picked from commit d1202a8)
2016-05-18 02:04:15 +05:30
jbernste 93201cd07e SOLR-9118: HashQParserPlugin should trim partition keys 2016-05-17 14:17:17 -04:00
Alan Woodward 8de89081e6 SOLR-9113: Improve state watcher API 2016-05-17 10:45:34 +01:00
Uwe Schindler 72ad66601d Move non-inner classes to separate files: This breaks IDEs and update checks by javac 2016-05-16 19:55:02 +02:00
Uwe Schindler d01bc2c78f SOLR-9115: Get rid of javax.xml.bind.DatatypeConverter in Solr's SimplePostTool 2016-05-16 18:02:40 +02:00
Alan Woodward dd23fa4015 SOLR-9106: Cache cluster properties on ZkStateReader 2016-05-14 10:14:45 +01:00
Alan Woodward 06d2f6368d SOLR-8323: Add CollectionStateWatcher API 2016-05-13 21:43:43 +01:00
Mikhail Khludnev e94ffde44e SOLR-8208: fixing TestSubQueryTransformerDistrib by passing reasonable numbers in creatCollection() 2016-05-13 23:35:58 +03:00
David Smiley 9d826ffa2f SOLR-9080 SOLR-9085: Fix date math before the year 1582.
note: DateMathParser no longer needs a Locale
(cherry picked from commit 4193e60)
2016-05-13 10:05:37 -04:00
Bartosz Krasiński 696a15bf6d SOLR-9105: Fix some typos in solr core module
(cherry picked from commit 1609406)
2016-05-11 23:37:23 +02:00
Christine Poerschke 574a6a9d65 SOLR-9093: Fix NullPointerException in TopGroupsShardResponseProcessor. 2016-05-11 15:30:16 +01:00
Mikhail Khludnev 184983280e SOLR-8208: miserable javadoc fixes 2016-05-10 21:58:33 +03:00
Erick Erickson 03a06bb3aa SOLR-9083: Remove deprecated <types> and <fields> from schemas
(cherry picked from commit 5341918)
2016-05-10 07:06:51 -07:00
Christine Poerschke 8e927b2f3d SOLR-9087: avoid IndexOutOfBoundsException in TestReplicationHandler.doTestIndexAndConfigAliasReplication 2016-05-10 13:07:51 +01:00
Erick Erickson 73b4defc07 SOLR-8467: CloudSolrStream and FacetStream should take a SolrParams object rather than a Map<String, String> to allow more complex Solr queries to be specified 2016-05-09 12:48:49 -07:00
Mikhail Khludnev 75a84b7d2d SOLR-8208: [subquery] document transformer executes separate requests per result document. 2016-05-09 19:48:47 +03:00
Varun Thacker 8e999d1a96 SOLR-7117: AutoAddReplicas should have a cluster wide property for controlling number of cores hosted on each node 2016-05-09 00:09:36 +05:30
Noble Paul 2bc376c7f5 SOLR-9071: rename the getters in org.apache.solr.common.util.Pair class 2016-05-08 12:30:44 +05:30
yonik 30dd6dd5bc SOLR-9026: add facet telemetry for legacy facets 2016-05-07 18:47:59 -04:00
jbernste ed1db6d20a SOLR-8972: Fix MinimalSchemaTest and SolrCoreTest 2016-05-06 08:29:49 -04:00
jbernste 928a3cf268 SOLR-8972: Add GraphHandler and GraphMLResponseWriter to support graph visualizations 2016-05-05 17:06:31 -04:00
Shalin Shekhar Mangar a6f9c8e171 SOLR-9036: Disable doTestIndexFetchOnMasterRestart
(cherry picked from commit 1dd8775)
2016-05-06 02:27:48 +05:30
Shalin Shekhar Mangar 855d57bf10 SOLR-9036: Solr slave is doing full replication (entire index) of index after master restart
(cherry picked from commit 51b1319)
2016-05-05 21:00:55 +05:30
David Smiley 8364027886 SOLR-5750: Fix test to specify the collection on add
(cherry picked from commit 18d933e)
2016-05-05 09:43:43 -04:00
Shalin Shekhar Mangar 7bfaa51079 SOLR-9014: Deprecate ClusterState.getCollections and introduce a new ClusterState.getCollectionsMap instead
(cherry picked from commit f5497a3)
2016-05-05 16:03:11 +05:30
Shalin Shekhar Mangar 29f6997502 SOLR-9030: The 'downnode' overseer command can trip asserts in ZkStateWriter
(cherry picked from commit c2662f2)
2016-05-05 15:57:57 +05:30
Jan Høydahl b6b6d246ae SOLR-9053: Fix attribution, apply the code refactor part from mdrob's patch
(cherry picked from commit b6f8c65)
2016-05-04 23:22:16 +02:00
David Smiley 13832b4f85 SOLR-5750: Fix test to specify the collection on commit
(cherry picked from commit 0a20dd4)
2016-05-04 16:04:36 -04:00
Shalin Shekhar Mangar 451feb0f8e SOLR-9014: Deprecate and reduce usage of ClusterState methods which may make calls to ZK via the lazy collection reference
(cherry picked from commit 922265b)
2016-05-04 20:45:02 +05:30
Chris Hostetter c7a25fda32 SOLR-9061: SuppressSSL on TestDistributedSearch for now since it causes OOM with default test heap sizes
(cherry picked from commit a72a6a15366075d64fc7a0cbcbc61ce7abcb1453)
2016-05-03 15:31:47 -07:00
Chris Hostetter 2dab1ce40c SOLR-9062: SuppressSSL on TestDistributedStatsComponentCardinality for now since it causes OOM with default test heap sizes
(cherry picked from commit 709a1299c29ca262139f2c33dbb6a2fed79f2b5d)
2016-05-03 15:31:47 -07:00
Chris Hostetter 98b0da47ad SOLR-5776: refactor SSLConfig so that SSLTestConfig can provide SSLContexts using a NullSecureRandom to prevent SSL tests from blocking on entropy starved machines
(cherry picked from commit f45bd03ca2cc301dcec4e68c49d961c306d8f434)

Conflicts:
	solr/test-framework/src/java/org/apache/solr/util/SSLTestConfig.java
2016-05-03 15:31:47 -07:00
jbernste 0cb7d83193 SOLR-9059: NPE in SolrClientCache following collection reload
Conflicts:
	solr/core/src/test/org/apache/solr/handler/TestSQLHandler.java
2016-05-03 13:28:03 -04:00
markrmiller 95c5d92f10 SOLR-8933: Solr should not close container streams. 2016-05-03 10:23:37 -04:00
Noble Paul aa6ba7f3be SOLR-9049: RuleBasedAuthorizationPlugin supports regex in param values eg: "command" : "REGEX:(i?)create" 2016-05-03 16:01:24 +05:30
David Smiley dac044c94a SOLR-5750: Add /admin/collections?action=BACKUP and RESTORE
(cherry picked from commit 70bcd56)
2016-05-02 22:46:06 -04:00
Adrien Grand e9f2ac0021 LUCENE-7262: Leverage index statistics to make DocIdSetBuilder more efficient. 2016-05-02 15:34:33 +02:00
jbernste 32f7d045d6 SOLR-9027: Pull the TermsEnum once for each segment 2016-05-02 08:46:46 -04:00
jbernste 3cc4125a8a SOLR-9027: Collect the TermContexts in createWeight 2016-05-02 08:45:07 -04:00
jbernste 86f371cbc6 SOLR-9027: GraphTermsQuery optimizations and more explicit handling of non-caching behavior 2016-05-02 08:43:47 -04:00
jbernste d1f32c0432 SOLR-8925: Integrate the GraphTermsQuery into the gatherNodes expression 2016-05-02 08:42:24 -04:00
jbernste 06f9bd2bf9 SOLR-9027: Add GraphTermsQuery to limit traversal on high frequency nodes 2016-05-02 08:40:26 -04:00
Dennis Gove d969de41c1 SOLR-9009: Adds ability to get an Explanation of a Streaming Expression
Conflicts:
	solr/CHANGES.txt
2016-05-02 08:36:46 -04:00
jbernste d77574abba SOLR-8925: Add gatherNodes Streaming Expression to support breadth first traversals
Conflicts:
	solr/core/src/java/org/apache/solr/handler/StreamHandler.java
2016-05-02 08:29:08 -04:00
Chris Hostetter 7aecf344b1 SOLR-9028: Fixed some test related bugs preventing SSL + ClientAuth from ever being tested
(cherry picked from commit 791d1e7)

Conflicts:
	solr/core/src/test/org/apache/solr/cloud/SSLMigrationTest.java
	solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpClientUtil.java
	solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
	solr/test-framework/src/java/org/apache/solr/util/SSLTestConfig.java
2016-04-29 10:08:41 -07:00
yonik 21aea6f606 SOLR-9034: fix atomic updates for copyField w/ docValues 2016-04-28 15:53:30 -04:00
Adrien Grand 8ca6f6651e LUCENE-7261: Speed up LSBRadixSorter. 2016-04-28 18:26:58 +02:00
Noble Paul 6c459779c5 SOLR-8992: Restore Schema API GET method functionality removed in 6.0 added back another test and fixed test errors 2016-04-28 15:40:06 +05:30
Noble Paul 7fefc35dcf SOLR-8992: Restore Schema API GET method functionality removed in 6.0 2016-04-28 15:39:51 +05:30
Christine Poerschke ec071e2f84 SOLR-9037: replace multiple "/replication" strings with one static constant 2016-04-27 17:19:34 +01:00
Noble Paul 8162ba4534 SOLR-9041: 'core-admin-read' and 'core-admin-edit' are well known permissions 2016-04-26 19:26:44 +05:30
Christine Poerschke 9b8e6f1cb0 SOLR-9025: Add SolrCoreTest.testImplicitPlugins test. 2016-04-22 19:00:57 +01:00
Dennis Gove 78176e23bc SOLR-8599: Improved the tests for this issue to avoid changing a variable to non-final 2016-04-21 15:19:33 -07:00