1118 Commits

Author SHA1 Message Date
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
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
Noble Paul
07b0dc86eb SOLR-9071: simplify hashcode() , equals() and implement toString() 2016-05-09 10:23:09 +05:30
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
Kevin Risden
4d15b9fa08 SOLR-8458: Add Streaming Expressions tests for parameter substitution 2016-05-06 09:38:40 -05:00
Kevin Risden
219ddbb998 SOLR-8184: Negative tests for JDBC Connection String 2016-05-06 08:58:13 -05:00
Christine Poerschke
49b3eee4c8 SOLR-9074: solrj CloudSolrClient.directUpdate tweak
Defer two NamedList allocations and initialCapacity one of them.
2016-05-06 10:36:51 +01:00
Dennis Gove
d95a91a9cc SOLR-9058: Makes HashJoinStream and OuterHashJoinStream support different field names in the incoming streams, eg. fieldA=fieldB 2016-05-05 20:31:58 -04:00
Dennis Gove
06a675ce2c SOLR-8996: Greatly decreases the probability of a RandomStream test failure from 1 in 5! to 1 in 1000! 2016-05-05 19:54:24 -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
7ce1c2cb74 SOLR-9014: Fix javadoc
(cherry picked from commit 6ade999)
2016-05-05 16:03:16 +05:30
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
ee45e83439 SOLR-9030: Added a code comment as to why we use Integer.MAX_VALUE instead of -1
(cherry picked from commit 827573b1a7bda2ae853f03c518f313e5992c1a7c)
2016-05-05 16:02:27 +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
Dennis Gove
f341002413 SOLR-9064: Adds an explanation of the incoming stream to an UpdateStream's explanation 2016-05-04 17:59:56 -04:00
Alan Woodward
7a8d4947a5 SOLR-9065: Migrate SolrJ tests to SolrCloudTestCase 2016-05-04 20:05:12 +01:00
Kevin Risden
eb1da08d54 SOLR-9066: Make CountMetric return long instead of double 2016-05-04 11:08:18 -05: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
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