Commit Graph

4707 Commits

Author SHA1 Message Date
Jan Høydahl 50c4f58276 SOLR-9151: Fix SolrCLI so that bin/solr -e cloud example can be run from any CWD 2016-05-24 12:56:31 +02:00
Dawid Weiss e44509f2df LUCENE-7277: Make Query.hashCode and Query.equals abstract. 2016-05-24 10:33:15 +02:00
Alan Woodward 196f4530a2 Revert "SOLR-9132: Fix request-counting logic in ConnectionReuseTest"
The logic for request-counting is different in master and 6.x, due to the
difference in HttpClient implementations.

This reverts commit a35057fff2.
2016-05-24 08:35:16 +01:00
Noble Paul ba46eb7be4 Merge remote-tracking branch 'origin/master' 2016-05-24 10:39:25 +05:30
Noble Paul 5a18599892 improved logging for debug errors such as these SOLR-9143 2016-05-24 10:39:11 +05:30
Dennis Gove e4e990b993 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:13:37 -04:00
Christine Poerschke 1b809e784a SOLR-9134: Fix RestManager.addManagedResource return value. 2016-05-23 16:22:20 +01:00
Alan Woodward a35057fff2 SOLR-9132: Fix request-counting logic in ConnectionReuseTest 2016-05-23 15:27:23 +01:00
Noble Paul eae605b532 Merge remote-tracking branch 'origin/master' 2016-05-23 12:05:53 +05:30
Noble Paul 55e3fd9ddf more logging for debug errors such as these SOLR-9143 2016-05-23 12:05:17 +05:30
Mikhail Khludnev 3ea12f2be4 SOLR-9147: using BAOS from commons io 2.5 in EmbeddedSolrServer to avoid array resize. 2016-05-23 00:10:17 +03:00
Steve Rowe b922033517 SOLR-8801: /bin/solr create script always returns exit code 0 when a collection/core already exists 2016-05-20 19:36:39 -04:00
Uwe Schindler b9caf83bfa LUCENE-7292: Use '-release' instead of '-source/-target' during compilation on Java 9+ to ensure real cross-compilation 2016-05-20 22:20:39 +02:00
Alan Woodward ee5836746c SOLR-9132: Move some tests to SolrCloudTestBase 2016-05-19 16:43:31 +01:00
jbernste 97fd7988ae SOLR-9128: Fix error handling issues in Streaming classes 2016-05-18 21:52:53 -04:00
Shalin Shekhar Mangar d6a5c5a539 SOLR-9116: Race condition causing occasional SolrIndexSearcher leak when SolrCore is reloaded 2016-05-18 20:15:52 +05:30
Shalin Shekhar Mangar d1202a8f8d SOLR-9117: The first SolrCore is leaked after reload 2016-05-18 02:02:30 +05:30
jbernste f8d1012717 SOLR-9118: HashQParserPlugin should trim partition keys 2016-05-17 14:10:54 -04:00
Alan Woodward 2b9cbe97a8 SOLR-9113: Improve state watcher API 2016-05-17 10:34:06 +01:00
Uwe Schindler ae93f4e7ac Move non-inner classes to separate files: This breaks IDEs and update checks by javac 2016-05-16 19:54:10 +02:00
Uwe Schindler 6620fd1421 SOLR-9115: Get rid of javax.xml.bind.DatatypeConverter in Solr's SimplePostTool 2016-05-16 18:01:32 +02:00
Alan Woodward 77962f4af4 SOLR-9106: Cache cluster properties on ZkStateReader 2016-05-14 10:06:36 +01:00
Alan Woodward b6d7421412 SOLR-8323: Add CollectionStateWatcher API 2016-05-13 21:34:16 +01:00
Mikhail Khludnev 3b0a79a13e SOLR-8208: fixing TestSubQueryTransformerDistrib by passing reasonable numbers in creatCollection() 2016-05-13 23:23:50 +03:00
David Smiley 4193e60b9f SOLR-9080 SOLR-9085: Fix date math before the year 1582.
note: DateMathParser no longer needs a Locale
2016-05-13 10:03:24 -04:00
Mike McCandless d715210467 LUCENE-6766: merged 2016-05-13 04:31:29 -04:00
Mike McCandless 3cde9eb3d0 LUCENE-6766: keep SortingMergePolicy for solr back-compat; fix Solr tests; fix precommit failures 2016-05-13 04:29:48 -04:00
Bartosz Krasiński 160940688f SOLR-9105: Fix some typos in solr core module 2016-05-11 21:19:01 +02:00
Christine Poerschke c4e8673bf0 SOLR-9093: Fix NullPointerException in TopGroupsShardResponseProcessor. 2016-05-11 13:42:46 +01:00
Mikhail Khludnev 470ba0794e SOLR-8208: miserable javadoc fixes 2016-05-10 21:59:50 +03:00
Erick Erickson 5341918a0c SOLR-9083: Remove deprecated <types> and <fields> from schemas 2016-05-10 06:54:11 -07:00
Christine Poerschke a5d785a8e9 SOLR-9087: avoid IndexOutOfBoundsException in TestReplicationHandler.doTestIndexAndConfigAliasReplication 2016-05-10 09:58:34 +01:00
Erick Erickson f4359ff8ff 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:37:32 -07:00
Mikhail Khludnev 7571e747c3 SOLR-8208: [subquery] document transformer executes separate requests per result document. 2016-05-09 13:08:07 +03:00
Varun Thacker a969d99ce9 SOLR-7117: AutoAddReplicas should have a cluster wide property for controlling number of cores hosted on each node 2016-05-08 23:50:18 +05:30
Noble Paul d57e0de5ea SOLR-9071: rename the getters in org.apache.solr.common.util.Pair class 2016-05-08 12:27:51 +05:30
yonik b42945ea92 SOLR-9026: add facet telemetry for legacy facets 2016-05-07 18:47:01 -04:00
jbernste 66fc6aaf8d SOLR-8972: Fix MinimalSchemaTest and SolrCoreTest 2016-05-06 08:24:21 -04:00
Shalin Shekhar Mangar 1dd877545f SOLR-9036: Disable doTestIndexFetchOnMasterRestart 2016-05-06 02:27:11 +05:30
jbernste be1cb9a1cd SOLR-8972: Add GraphHandler and GraphMLResponseWriter to support graph visualizations 2016-05-05 16:36:19 -04:00
Shalin Shekhar Mangar 51b131950d SOLR-9036: Solr slave is doing full replication (entire index) of index after master restart 2016-05-05 21:00:20 +05:30
David Smiley 18d933ee65 SOLR-5750: Fix test to specify the collection on add 2016-05-05 09:41:47 -04:00
Shalin Shekhar Mangar f5497a33e2 SOLR-9014: Deprecate ClusterState.getCollections and introduce a new ClusterState.getCollectionsMap instead 2016-05-05 05:22:03 +05:30
Shalin Shekhar Mangar c2662f24ac SOLR-9030: The 'downnode' overseer command can trip asserts in ZkStateWriter 2016-05-05 05:16:39 +05:30
Jan Høydahl b6f8c6500e SOLR-9053: Fix attribution, apply the code refactor part from mdrob's patch 2016-05-04 23:19:55 +02:00
David Smiley 0a20dd47d1 SOLR-5750: Fix test to specify the collection on commit 2016-05-04 16:03:56 -04:00
Chris Hostetter c47279dce9 SOLR-9061: SuppressSSL on TestDistributedSearch for now since it causes OOM with default test heap sizes 2016-05-03 15:31:53 -07:00
Chris Hostetter ac4574b2e4 SOLR-9062: SuppressSSL on TestDistributedStatsComponentCardinality for now since it causes OOM with default test heap sizes 2016-05-03 15:31:53 -07:00
Chris Hostetter 9677e2c54b SOLR-5776: refactor SSLConfig so that SSLTestConfig can provide SSLContexts using a NullSecureRandom to prevent SSL tests from blocking on entropy starved machines 2016-05-03 15:31:53 -07:00
jbernste fc6c24a9d4 SOLR-9059: NPE in SolrClientCache following collection reload 2016-05-03 13:04:21 -04:00
Noble Paul cf16f5d13d SOLR-9049: RuleBasedAuthorizationPlugin supports regex in param values eg: "command" : "REGEX:(i?)create" 2016-05-03 15:56:25 +05:30
David Smiley 70bcd562f9 SOLR-5750: Add /admin/collections?action=BACKUP and RESTORE 2016-05-02 22:20:46 -04:00
Adrien Grand 4fa2b29b20 LUCENE-7262: Leverage index statistics to make DocIdSetBuilder more efficient. 2016-05-02 15:04:27 +02:00
Chris Hostetter 48f2b2a3bb SOLR-9028: relax the SSLHandshakeException expectation - in some platforms/java# diff IOExceptions are thrown 2016-04-29 09:54:56 -07:00
jbernste 3d3c3fb5fc SOLR-9027: Pull the TermsEnum once for each segment 2016-04-29 11:00:10 -04:00
jbernste 58ad591a64 SOLR-9027: Collect the TermContexts in createWeight 2016-04-29 10:13:37 -04:00
Chris Hostetter 791d1e7393 SOLR-9028: Fixed some test related bugs preventing SSL + ClientAuth from ever being tested 2016-04-28 13:18:01 -07:00
yonik c897917c71 SOLR-9034: fix atomic updates for copyField w/ docValues 2016-04-28 15:52:22 -04:00
jbernste 2c66d4b046 SOLR-9027: GraphTermsQuery optimizations and more explicit handling of non-caching behavior 2016-04-28 13:31:22 -04:00
Adrien Grand ef45d4b2e1 LUCENE-7261: Speed up LSBRadixSorter. 2016-04-28 18:20:41 +02:00
Christine Poerschke 3b4ec73595 SOLR-9037: replace multiple "/replication" strings with one static constant 2016-04-27 13:09:28 +01:00
jbernste 9ce830d8f2 SOLR-8925: Integrate the GraphTermsQuery into the gatherNodes expression 2016-04-26 16:33:26 -04:00
jbernste d66f5515e6 SOLR-9027: Add GraphTermsQuery to limit traversal on high frequency nodes 2016-04-26 16:33:26 -04:00
Noble Paul 506d61abe7 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-26 19:24:52 +05:30
Noble Paul 0233765c27 SOLR-9041: 'core-admin-read' and 'core-admin-edit' are well known permissions 2016-04-26 19:24:23 +05:30
Shalin Shekhar Mangar 922265b478 SOLR-9014: Deprecate and reduce usage of ClusterState methods which may make calls to ZK via the lazy collection reference 2016-04-26 01:50:26 +05:30
Christine Poerschke 666472b74f SOLR-9025: Add SolrCoreTest.testImplicitPlugins test. 2016-04-22 18:21:41 +01:00
Noble Paul 7b89d0f698 Merge remote-tracking branch 'origin/master' 2016-04-22 12:34:03 +05:30
Noble Paul 827c670d18 SOLR-8992: Restore Schema API GET method functionality removed in 6.0 added back another test and fixed test errors 2016-04-22 11:32:29 +05:30
markrmiller f3de223774 SOLR-8933: Solr should not close container streams. 2016-04-21 11:53:58 -04:00
Noble Paul e8cc19eb88 SOLR-8992: Restore Schema API GET method functionality removed in 6.0 2016-04-21 20:38:20 +05:30
markrmiller b44ca080d6 SOLR-8913: When using a shared filesystem we should store data dir and tlog dir locations in the cluster state. 2016-04-20 12:05:15 -04:00
Scott Blum 71a5870ae7 SOLR-8973: Zookeeper frenzy when a core is first created. 2016-04-19 20:46:34 -04:00
Dennis Gove 99ba1a8f99 SOLR-9015: Adds SelectStream as a default function in the StreamHandler 2016-04-19 20:43:45 -04:00
Chris Hostetter 16f905ff13 SOLR-8971: Preserve root cause when wrapping exceptions 2016-04-19 13:54:18 -07:00
Dennis Gove 2e95a54a52 SOLR-9009: Adds ability to get an Explanation of a Streaming Expression 2016-04-19 11:17:28 -04:00
Uwe Schindler 186df5788b Fix Java 9 problem with static field leakage 2016-04-19 10:15:03 +02:00
Noble Paul 456d5c04c8 SOLR-8349: trying to address test failures 2016-04-19 13:09:59 +05:30
Steve Rowe 4ac2546e5b javadoc: DateField->TrieDateField 2016-04-18 16:59:46 -04:00
jbernste 8659ea33d9 SOLR-8925: Add gatherNodes Streaming Expression to support breadth first traversals 2016-04-18 16:09:56 -04:00
anshum 84a6ff697e SOLR-8983: Cleanup clusterstate in case of a failed CREATE collection call 2016-04-18 11:19:50 -07:00
Timothy Potter 9d0da3156c SOLR-9007: remove mention of managed_schema_configs 2016-04-18 11:32:04 -06:00
Noble Paul 079221db2d more logging to get which server failed 2016-04-18 19:44:07 +05:30
Noble Paul 9a1880aee8 SOLR-8349: Allow sharing of large in memory data structures across cores 2016-04-18 15:51:19 +05:30
Varun Thacker 44c9cd2fe8 SchemaManager waits correctly for replicas to be notified of a new change 2016-04-17 21:56:58 +05:30
Christine Poerschke 3ab579b7ec SOLR-8938: add -x as short-form of --excluderegex ZkCLI arg 2016-04-15 15:52:53 +01:00
Noble Paul 09f92b7edf SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 19:03:22 +05:30
Noble Paul d830987ae2 SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 18:58:08 +05:30
Noble Paul 9313a6304b SOLR-8985: Added back support for 'includeDynamic' flag to /schema/fields endpoint 2016-04-15 13:23:51 +05:30
Dennis Gove eb74d814bb SOLR-8962: Adds a Sort stream w/sort function name 2016-04-14 21:39:26 -04:00
David Smiley 037a40316c SOLR-8937: bin/post (SimplePostTool) should tell JDK to stream stdin instead of fully buffer 2016-04-14 13:51:57 -04:00
Timothy Potter b36a6ecbe4 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:17:42 -07:00
Anshum Gupta 689e9664c5 SOLR:8976: Add SolrJ support for REBALANCELEADERS Collections API 2016-04-13 12:10:26 -07:00
markrmiller 79195a8e54 SOLR-8899: Ignore thread leaks for this test - due to the HttpClient leak, the idle connection evictor thread can sometimes leak. 2016-04-13 10:45:09 -04:00
markrmiller 744b419b42 SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. 2016-04-13 09:54:40 -04:00
markrmiller 6c9391df01 tests: raise wait time 2016-04-13 09:54:16 -04:00
yonik 93f9456e2a tests: better DocSetCollector tests, including better smallSetSize boundary testing 2016-04-09 19:21:27 -04:00
yonik cfba58f0d0 SOLR-8922: optimize DocSetCollector to produce less garbage 2016-04-09 19:10:02 -04:00
Anshum Gupta b02b026b7d SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients 2016-04-07 15:57:49 -07:00
Christine Poerschke 93511352ac SOLR-8938: Add optional -excluderegex argument to ZkCLI. 2016-04-07 12:54:42 +01:00