Commit Graph

8352 Commits

Author SHA1 Message Date
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 b5c369a773 SOLR-8323: Handle removal of legacy collections 2016-05-14 19:10:03 +01:00
Alan Woodward 06ebd4fd7e SOLR-8323: DocCollection.isFullyActive needs to know how many replicas to expect 2016-05-14 13:01:05 +01:00
Alan Woodward dd23fa4015 SOLR-9106: Cache cluster properties on ZkStateReader 2016-05-14 10:14:45 +01:00
Steve Rowe c9f7535707 Add version 6.0.1 2016-05-13 18:41:19 -04: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
Alan Woodward 18f54d6f77 SOLR-9072: Move morphline-core zk tests to SolrCloudTestCase 2016-05-13 14:40:17 +01:00
jbernste 69cb606d78 Fix error message assert 2016-05-11 23:52:09 -04:00
Chris Hostetter 1d7094c931 SOLR-8970: Change SSLTestConfig to use a keystore file that is included as a resource in the test-framework jar so users subclassing SolrTestCaseJ4 don't need to preserve magic paths
(cherry picked from commit 76063648ae)
2016-05-11 16:35:23 -07:00
Jan Høydahl 84ffc4d690 SOLR-9105: Add changes entry. This closes #39
(cherry picked from commit 32726c3)
2016-05-11 23:37:59 +02: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
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
yonik 30dd6dd5bc SOLR-9026: add facet telemetry for legacy facets 2016-05-07 18:47:59 -04:00
Chris Hostetter 7144984e16 SOLR-9068 / SOLR-5776: replace NullSecureRandom w/ NotSecurePsuedoRandom
(cherry picked from commit ac0e73a521)
2016-05-06 22:46:41 -07:00
Chris Hostetter 7e2f9f506d SOLR-9068 / SOLR-5776: Alternate (psuedo random) NullSecureRandom for Constants.SUN_OS
(cherry picked from commit a5586d29b2)

Conflicts:
	solr/test-framework/src/java/org/apache/solr/util/SSLTestConfig.java
2016-05-06 15:32:13 -07:00
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
jbernste ed1db6d20a SOLR-8972: Fix MinimalSchemaTest and SolrCoreTest 2016-05-06 08:29:49 -04: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 8b56f67adb SOLR-8972: Update CHANGES.txt 2016-05-05 17:06:31 -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 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 827573b1a7)
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
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
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
Chris Hostetter f1ed73de11 SOLR-5776: javadoc typo
(cherry picked from commit c0a287cb76)
2016-05-03 18:27:59 -07:00
Steve Rowe a5e2be0444 SOLR-8792: ZooKeeper ACL support fixed 2016-05-03 18:59:19 -04:00
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 f588374bcc SOLR-9059: Update CHANGES.txt 2016-05-03 13:28:03 -04: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
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
Jan Høydahl 69675126c6 SOLR-9053: Upgrade commons-fileupload to 1.3.1, fixing a potential vulnerability
(cherry picked from commit 0ebe6b0)
2016-05-03 13:42:29 +02: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
jbernste e5da501dd2 remove tabs from CHANGES.txt
Conflicts:
	solr/CHANGES.txt
2016-05-02 12:14:23 -04:00
jbernste df72df1c58 SOLR-8986, SOLR-8925, SOLR-9027: Update CHANGES.txt
Conflicts:
	solr/CHANGES.txt
2016-05-02 12:14:23 -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 499ae951ec SOLR-8918: Corrects usage of a global variable in admin page's stream.js which was overriding the same variable in cloud.js 2016-05-02 08:39:00 -04:00
Dennis Gove fc2200e4f9 SOLR-8918: Adds Streaming to the admin page under the collections section
Includes ability to see graphically the expression explanation
2016-05-02 08:37:01 -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
Gregory Chanan ad152d23d5 SOLR-9047: fix windows script 2016-04-29 14:58:54 -07:00
Gregory Chanan 67ebfb1cc2 SOLR-9047: zkcli should allow alternative locations for log4j configuration 2016-04-29 14:16:38 -07: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 6b7e965b85 SOLR-8992: Restore Schema API GET method functionality removed in 6.0 2016-04-28 15:40:00 +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
Uwe Schindler 9e34d3137f SOLR-9046: Fix solr.cmd that wrongly assumes Jetty will always listen on 0.0.0.0 2016-04-28 06:10:00 +02:00
Christine Poerschke ec071e2f84 SOLR-9037: replace multiple "/replication" strings with one static constant 2016-04-27 17:19:34 +01:00
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
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
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
markrmiller b111bfda42 SOLR-8913: When using a shared filesystem we should store data dir and tlog dir locations in the cluster state. 2016-04-20 12:07:56 -04:00
Kevin Risden 6276fe5ec7 SOLR-8809: Implement Connection.prepareStatement 2016-04-20 10:03:54 -05:00
Scott Blum cdf1f5ab88 SOLR-8929: Add an idea module for solr/server to enable launching start.jar 2016-04-19 21:16:38 -04:00
Scott Blum 7c356bad06 SOLR-8973: Zookeeper frenzy when a core is first created. 2016-04-19 20:57:42 -04:00
Dennis Gove d68b090dd5 SOLR-9015: Adds SelectStream as a default function in the StreamHandler 2016-04-19 20:50:00 -04:00
Chris Hostetter fdcd17bef2 SOLR-8971: Preserve root cause when wrapping exceptions 2016-04-19 14:29:30 -07:00
Chris Hostetter 10338a934f SOLR-8990: Fix top term links from schema browser page to use {!term} parser 2016-04-19 11:17:24 -07:00
Chris Hostetter 7be7e8beb9 CHANGES.txt corrections - new features go in the New Features section (SOLR-8782, SOLR-8765, SOLR-8842) 2016-04-19 09:43:28 -07:00
Uwe Schindler b95bbb8092 Fix Java 9 problem with static field leakage 2016-04-19 10:16:12 +02:00
Noble Paul 3eb1ce6cf6 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-04-19 13:11:38 +05:30
Noble Paul ffbbfbbe10 SOLR-8349: trying to address test failures 2016-04-19 13:11:18 +05:30