1084 Commits

Author SHA1 Message Date
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
Noble Paul
492dcfbdd0 added a couple of extra methods 2016-05-03 20:40:58 +05:30
markrmiller
95c5d92f10 SOLR-8933: Solr should not close container streams. 2016-05-03 10:23:37 -04:00
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
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
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
60a9e38668 SOLR-8996: Add Random Streaming Expression 2016-05-02 08:29:29 -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
8e8f6c1fa8 SOLR-9028: Fix 2 SSL test related bugs...
1) SolrTestCaseJ4 should always reset the HttpClientConfigurer in afterClass, regardless of wether ssl was used
   (when SSL is not used, the active configurer explicitly excludes SSL)
2) HttpClientUtilTest.testSSLSystemProperties made no sense as written.  setSSLSystemProperties() didn't have any
   effect on what was being tested, even if it was useful it would only have affected what keystore/truststore were
   used, not wether HTTPS was supported or not.
2016-04-30 22:22:09 -07: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
Shai Erera
95322605b8 SOLR-9016: Fix SolrIdentifierValidator to not accept empty identifiers 2016-04-26 20:59:00 -07: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
Scott Blum
89857653ca SOLR-9029: fix rare ZkStateReader visibility race during collection state format update 2016-04-25 21:21:02 -04: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
Kevin Risden
d914ec4a67 SOLR-9020: Implement StatementImpl/ResultSetImpl get/set fetch* methods and proper errors for traversal methods 2016-04-20 14:50:24 -05:00
Kevin Risden
6276fe5ec7 SOLR-8809: Implement Connection.prepareStatement 2016-04-20 10:03:54 -05:00
Scott Blum
7c356bad06 SOLR-8973: Zookeeper frenzy when a core is first created. 2016-04-19 20:57:42 -04:00
Noble Paul
f82a27aa5c SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 19:04:44 +05:30
Dennis Gove
020f15f437 SOLR-8962: Adds a Sort stream w/sort function name 2016-04-14 21:46:48 -04:00
Timothy Potter
af8a962417 SOLR-8908: Fixed OnReconnect listener management in ZkController to allow for de-registering listeners.
Here's what this commit includes:
* Added the removeOnReconnectListener method to ZkController to allow OnReconnect listener implementations to de-register; avoids a memory leak
* Updated ZkIndexSchemaReader to add a CloseHook to the SolrCore it supports to de-register as an OnReconnect listener
* Added unit test to verify that after reloading and deleting a SolrCore in managed schema mode, the associated ZkIndexSchemaReader gets de-registered correctly
2016-04-14 10:25:14 -07:00
Anshum Gupta
5baf311c38 SOLR-8976: Add SolrJ support for REBALANCELEADERS Collections API 2016-04-13 15:58:04 -07:00
markrmiller
bf984af6f0 SOLR-7729: ConcurrentUpdateSolrClient ignores the collection parameter in some methods. 2016-04-13 16:12:18 -04:00
markrmiller
fe85885868 SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. 2016-04-13 09:56:49 -04:00
Anshum Gupta
f479f16d3a SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients 2016-04-08 13:14:27 -07:00
Christine Poerschke
835dc33102 SOLR-8938: Add optional -excluderegex argument to ZkCLI. 2016-04-07 15:12:18 +01:00
Noble Paul
d67ec54932 SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 23:20:55 +05:30
jbernste
ffdfceba53 SOLR-8888: Add shortestPath Streaming Expression 2016-03-31 16:35:49 -04:00
jbernste
74b5a7a972 SOLR-8924: RollupStream breaks with null values in the group by buckets 2016-03-31 12:05:18 -04:00
David Smiley
44e0ac3856 SOLR-8903: Move SolrJ DateUtil to contrib/extraction as ExtractionDateUtil.
And removed obsolete methods.
(cherry picked from commit 5e5fd66)
2016-03-30 15:07:52 -04:00
David Smiley
72f5eac2c5 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.
(cherry picked from commit 94c0423) (cherry picked from commit 39932f5)
2016-03-30 14:37:55 -04:00
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
Kevin Risden
2b13210c3d SOLR-8810: Implement Connection.setReadOnly, Statement.set/getFetchSize, ResultSet.getType 2016-03-23 17:33:12 -05: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
jbernste
c7b7f1d027 SOLR-8882: Wait for checkpoint in DaemonStream, TopicStream testcase 2016-03-21 23:41:12 -04: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
David Smiley
4ee908eb80 SOLR-8866: UpdateLog now throws an error if it can't serialize a field value
(cherry picked from commit a22099a)
2016-03-17 13:23:38 -04:00
Shalin Shekhar Mangar
f5a4b0419c SOLR-8860: Remove back-compat handling of router format made in SOLR-4221 in 4.5.0
(cherry picked from commit ae846bf)
2016-03-17 09:54:36 +05:30
jbernste
26f230a474 SOLR-8832: Faulty DaemonStream shutdown procedures 2016-03-11 15:42:51 -05:00
anshum
bc41158648 SOLR-8765: Fix CollectionAdminRequest.SplitShard to accept requests without the 'shard' parameter 2016-03-10 17:06:35 -08:00
Shalin Shekhar Mangar
02b0dd52ec Fix javadocs for ClusterState.getCollectionOrNull
(cherry picked from commit 66cd070)
2016-03-10 18:20:02 +05:30
Alan Woodward
8b408be7a2 SOLR-8765: Throw SolrException rather than IAE on name validation 2016-03-09 21:16:30 +00:00
Alan Woodward
6b2f363896 SOLR-8765: Set parameters correctly in async shard requests 2016-03-09 17:39:35 +00:00
Alan Woodward
c1277cda11 SOLR-8765: Enforce required parameters in SolrJ Collections API 2016-03-09 12:51:53 +00:00
jbernste
15bf038f29 SOLR-8799: Improve error message when tuple can't be read by SolrJ JDBC 2016-03-08 15:46:00 -05:00
Alan Woodward
761618727d SOLR-8782: Improve async collections API 2016-03-08 10:55:40 +00:00
Noble Paul
c187c46437 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-03-07 22:49:51 +05:30
Noble Paul
5146e78a64 SOLR-8736: schema GET operations on fields, dynamicFields, fieldTypes, copyField are
reimplemented as a part of the bulk API with less details. The tests and write implementations are removed
2016-03-07 22:49:19 +05:30
Shalin Shekhar Mangar
dd04b61739 SOLR-8745: Deprecate costly ZkStateReader.updateClusterState(), replace with a narrow forceUpdateCollection(collection)
(cherry picked from commit 093a8ce)
2016-03-07 18:38:09 +05:30