Commit Graph

2242 Commits

Author SHA1 Message Date
Joel Bernstein c58516edf1 SOLR-12183: Remove dead code 2018-04-05 14:00:07 -04:00
Joel Bernstein 80375acb7f SOLR-12183: Refactor Streaming Expression test cases 2018-04-05 14:00:07 -04:00
Tomas Fernandez Lobbe 2c1f110b6b SOLR-12172: Fixed race condition in collection properties 2018-04-02 15:56:25 -07:00
Joel Bernstein d89a90067b SOLR-12174: Refactor Streaming Expression function registration 2018-04-02 12:32:31 -04:00
Erick d2cb6adde9 SOLR-9399: Delete requests do not send credentials & fails for Basic Authentication 2018-04-02 09:17:02 -07:00
Shalin Shekhar Mangar 83cca5cd06 SOLR-12133: Fix failures in TriggerIntegrationTest.testEventQueue due to race conditions 2018-03-30 16:42:35 +05:30
Joel Bernstein e69c614cf6 SOLR-11947: Rollback inadvertent code change during documentation updates. 2018-03-26 15:05:07 -04:00
Joel Bernstein 1ed4e226ac SOLR-11947: Squashed commit of the following ref guide changes:
commit 61053f2fe373bff0b451f549e063550f08ecdac1
Author: Joel Bernstein <jbernste@apache.org>
Date:   Mon Mar 26 12:44:12 2018 -0400

    SOLR-11947: Fix orphaned files

commit 42302073bf61fde134caeff71b6db3978e113b4d
Author: Joel Bernstein <jbernste@apache.org>
Date:   Mon Mar 26 12:27:26 2018 -0400

    SOLR-11947: small change

commit b16b1453c2e7d5083f588b4b874c918d521e9fe5
Author: Joel Bernstein <jbernste@apache.org>
Date:   Mon Mar 26 12:23:17 2018 -0400

    SOLR-11947: proofing

commit 57265ce4659a427c179e206b79d8fe05b01a5f93
Author: Joel Bernstein <jbernste@apache.org>
Date:   Sat Mar 24 14:41:48 2018 -0400

    SOLR-11947: monte carlo WIP

commit 04e8381f6b5b329c5fa17c1f31c2d848fe9cec2a
Author: Joel Bernstein <jbernste@apache.org>
Date:   Fri Mar 23 16:24:10 2018 -0400

    SOLR-11947: probabiity WIP

commit 4298a6d514e7e431e322a4f62c22c336430a89f1
Author: Joel Bernstein <jbernste@apache.org>
Date:   Fri Mar 23 13:07:05 2018 -0400

    SOLR-11947: time series WIP

commit 1a7654f9225948cd4adb3056bc2192cc0d24b3ee
Author: Joel Bernstein <jbernste@apache.org>
Date:   Fri Mar 23 11:32:53 2018 -0400

    SOLR-11947: machine learning WIP

commit fae0c3aa46e6f26fecb59077207982b2f584ec86
Author: Joel Bernstein <jbernste@apache.org>
Date:   Thu Mar 22 22:14:15 2018 -0400

    SOLR-11947: machine learning WIP

commit fb6a96b2bdc4bbc4c2b5b62b6e69cd561ef9e31b
Author: Joel Bernstein <jbernste@apache.org>
Date:   Thu Mar 22 14:36:08 2018 -0400

    SOLR-11947: numerical analysis WIP

commit a648ba939c90caf5db2a5b88023bd580d4d1e8af
Author: Joel Bernstein <jbernste@apache.org>
Date:   Thu Mar 22 12:27:33 2018 -0400

    SOLR-11947: numerical analysis WIP

commit ce8f1b710d414d8e3ff3c8676f64fc3017316a15
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed Mar 21 19:56:10 2018 -0400

    SOLR-11947: numerical analysis WIP

commit 5e25a4884341cdd84988e13250f255eb23d7fd50
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue Mar 20 22:01:59 2018 -0400

    SOLR-11947: Curve fitting WIP

commit f381414dc44ecfa781988c5ca75bfb1c80de6674
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue Mar 20 21:49:39 2018 -0400

    SOLR-11947: Curve fitting WIP

commit 4be725132215ed44cc84587bb0d11be216360b74
Author: Joel Bernstein <jbernste@apache.org>
Date:   Mon Mar 19 19:55:10 2018 -0400

    SOLR-11947: Monte Carlo WIP

commit d330b412e46be0ebf8d75e99295e3fe9f978c02c
Author: Joel Bernstein <jbernste@apache.org>
Date:   Sun Mar 18 22:00:55 2018 -0400

    SOLR-11947: Probability WIP

commit e3d6160c1fa650e054b9694c57d34b3950c80175
Author: Joel Bernstein <jbernste@apache.org>
Date:   Sat Mar 17 21:18:43 2018 -0400

    SOLR-11947: More WIP

commit 8484b0283f79825dee8eaee82604120d04511de4
Author: Joel Bernstein <jbernste@apache.org>
Date:   Fri Mar 16 15:03:06 2018 -0400

    SOLR-11947: machine learning WIP

commit 77ecfdc71d79ca8eded0355669310c6025c70d96
Author: Joel Bernstein <jbernste@apache.org>
Date:   Thu Mar 15 21:33:09 2018 -0400

    SOLR-11947: machine learning WIP

commit 7488caf5e54436a0e5fe85c0dda4ea31d8357600
Author: Joel Bernstein <jbernste@apache.org>
Date:   Thu Mar 15 19:08:50 2018 -0400

    SOLR-11947: machine learning WIP

commit 102ee2e1857e7d7f45d7f3195a0a4e91eacb766d
Author: Joel Bernstein <jbernste@apache.org>
Date:   Thu Mar 15 15:18:31 2018 -0400

    SOLR-11947: machine learning WIP

commit 0d5cd2b4a4fd012fe6d640a86733280702cf8673
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed Mar 14 21:49:15 2018 -0400

    SOLR-11947: numerical analysis WIP

commit 31eec30576479a9023c7b0e6ccb2d9f685e128a1
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed Mar 14 14:41:06 2018 -0400

    SOLR-11947: numerical analysis WIP

commit c6e324ac56ca6e9f229d6acb39fdcf60c3356230
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue Mar 13 15:16:26 2018 -0400

    SOLR-11947: term vectors WIP

commit 8c843999eabdb82665641caa9c21f07e95b70a86
Author: Joel Bernstein <jbernste@apache.org>
Date:   Mon Mar 12 18:03:53 2018 -0400

    SOLR-11947: Add curve fitting to TOC

commit 09be026f6ad400d965fd373403d7a2eb2fae0c90
Author: Joel Bernstein <jbernste@apache.org>
Date:   Mon Mar 12 15:36:05 2018 -0400

    SOLR-11947: Text analysis WIP

commit e48b4d69abadb603a90c052aa1e36dd60ae7fd33
Author: Joel Bernstein <jbernste@apache.org>
Date:   Sun Mar 11 18:29:20 2018 -0400

    SOLR-11947: TOC changes

commit f71ebc079713e16492ba45cedafc3b9512f6bae2
Author: Joel Bernstein <jbernste@apache.org>
Date:   Sat Mar 10 17:54:04 2018 -0500

    SOLR-11947: WIP term vectors

commit ebc6b3943a27454adaf1a2309b6720bb2ba63c8c
Author: Joel Bernstein <jbernste@apache.org>
Date:   Sat Mar 10 13:34:19 2018 -0500

    SOLR-11947: WIP regression

commit 44752b2d34f46bc7f5693839e42ab3cef9edc47c
Author: Joel Bernstein <jbernste@apache.org>
Date:   Fri Mar 9 22:40:40 2018 -0500

    SOLR-11947: WIP for vectorization.adoc

commit 43254fcb05386264a6d591b1fa2c2573dcc2d2a3
Author: Joel Bernstein <jbernste@apache.org>
Date:   Fri Mar 9 19:42:26 2018 -0500

    SOLR-11947: Test local links

commit b60df2000978f70720eb0a36543752fd3bf07d2c
Author: Joel Bernstein <jbernste@apache.org>
Date:   Thu Mar 8 21:41:17 2018 -0500

    SOLR-11947: Update math-expressions TOC

commit de068c3af8557d60de37cb29f3ed7da3f5442772
Author: Joel Bernstein <jbernste@apache.org>
Date:   Thu Mar 8 21:24:46 2018 -0500

    SOLR-11947: Continued work on math expressions documentation.

commit fe445f2c997ea825d1ae9b9912406521249befc0
Author: Joel Bernstein <jbernste@apache.org>
Date:   Sun Mar 4 20:22:33 2018 -0500

    SOLR-12054: ebeAdd and ebeSubtract should support matrix operations

commit 1f3ae745cc26453a34a64a4327ceac7cc91d23f5
Author: Joel Bernstein <jbernste@apache.org>
Date:   Sun Mar 4 13:24:54 2018 -0500

    SOLR-11947: Initial commit for new math expression docs WIP
2018-03-26 15:05:06 -04:00
Varun Thacker bea6e2307b SOLR-7887: Log4J2 upgrade fixes 2018-03-26 11:32:03 -07:00
Erick Erickson 624d128b5e SOLR-7887: Upgrade Solr to use log4j2 -- log4j 1 now officially end of life 2018-03-25 19:16:09 -07:00
Cao Manh Dat 92f1cdebfa SOLR-12087: Deleting replicas sometimes fails and causes the replicas to exist in the down state 2018-03-22 16:11:47 +07:00
Tomas Fernandez Lobbe 67dab22f29 SOLR-11960: Don't add property listeners on core registration 2018-03-15 12:21:20 -07:00
Andrzej Bialecki 0dfe19880c SOLR-12091: Rename TimeSource.getTime to getTimeNs. 2018-03-15 16:54:41 +01:00
Andrzej Bialecki 25ec5cda0b SOLR-11670: Allow for larger diff in simulated time. 2018-03-15 11:52:11 +01:00
Shalin Shekhar Mangar 941351a5c2 SOLR-12090: Move DistribStateManager, NodeStateProvider and SolrCloudManager interfaces out of the autoscaling package 2018-03-14 16:29:56 +05:30
Andrzej Bialecki ed6feded6d SOLR-11670: Use TimeSource's value of NOW consistently when parsing date math.
Add a unit test for TimeSource's epochTime.
2018-03-13 13:47:14 +01:00
David Smiley bf6503ba58 SOLR-11617: rename alias metadata to properties 2018-03-12 10:36:37 -04:00
Erick Erickson f1f929b15a SOLR-12028: BadApple and AwaitsFix annotations usage 2018-03-10 10:58:15 -08:00
Jason Gerlowski 971bd26df6 SOLR-11629: Add new CloudSolrClient.Builder ctors
CloudSolrClient.Builder can be pointed at a Solr cluster in two ways: a
ZK connection string, or one or more Solr base URLs.  One of these two
values must be provided to create a working CloudSolrClient.

Since these values are required, this commit introduces two new ctors,
one for each means of CloudSolrClient setup.  It deprecates the existing
no-arg CloudSolrClient ctor.

Together, these changes make it clearer to our users that these options
are required (and mutually exclusive).
2018-03-10 10:45:43 -05:00
Erick 7dfb04ee5e SOLR-12072: Invalid path string using ZkConfigManager.copyConfigDir(String fromConfig, String toConfig) 2018-03-08 22:00:16 -08:00
David Smiley 582c828727 SOLR-11722: Minor improvements to documentation in collections.Commands.json 2018-03-08 11:19:22 -05:00
Andrzej Bialecki b17052e852 SOLR-11670: Implement a periodic house-keeping task. 2018-03-08 14:31:40 +01:00
David Smiley ee1c742c19 SOLR-11722: Merge CREATEDROUTEDALIAS command into CREATEALIAS. Only
an API & docs change; the implementation was already there.
2018-03-07 15:16:02 -05:00
Tomas Fernandez Lobbe 277dd05086 SOLR-12061: Fix substitution bug in API V1 to V2 migration 2018-03-07 10:58:17 -08:00
Tomas Fernandez Lobbe 2ff27ca507 SOLR-12061: Comment out failing test 2018-03-06 10:14:58 -08:00
Tomas Fernandez Lobbe c1a44251fe SOLR-11960: Add collection-level properties
Similar to cluster properties, but apply to a single collection.
2018-03-05 16:59:56 -08:00
Cao Manh Dat 27eb6ba062 SOLR-12011: Remove FORCEPREPAREFORLEADERSHIP 2018-03-05 16:33:45 +07:00
Joel Bernstein dc5db9b2f1 SOLR-12054: ebeAdd and ebeSubtract should support matrix operations 2018-03-04 20:22:33 -05:00
Erick ad7e94afb2 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-03-03 21:42:14 -08:00
noble 23aee00213 SOLR-12031: Refactor Policy framework to make simulated changes affect more than a single node
SOLR-12050: UTILIZENODE does not enforce policy rules
2018-03-02 17:01:22 +11:00
Shalin Shekhar Mangar d512cd7604 Fix camel case in method name 2018-02-27 16:16:39 +05:30
Erick Erickson 1fe45606b9 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-02-26 20:35:12 -08:00
Joel Bernstein 50c17b92bd SOLR-11923: Add bicubicSpline Stream Evaluator 2018-02-26 15:18:11 -05:00
Andrzej Bialecki 86be873915 SOLR-11911: Add more details to failure logs, modify the test to create a single event
that contains all affected nodes.
2018-02-26 10:56:22 +01:00
Erick Erickson 6164643882 SOLR-10809: Get precommit lint warnings out of Solr core 2018-02-25 22:13:47 -08:00
Ishan Chattopadhyaya b212f2e9b7 SOLR-8327: Cluster state caching for nodes not hosting the collection 2018-02-25 11:54:33 +05:30
Chris Hostetter 9e0e301f9f SOLR-12021: Fixed a bug in ApiSpec and other JSON resource loading that was causing unclosed file handles 2018-02-23 10:43:22 -07:00
Jason Gerlowski d2d987fd74 Fix ConcurrentUpdateSolrClient.Builder withQueueSize Javadocs 2018-02-22 13:56:37 -05:00
Joel Bernstein e746d7a001 SOLR-11588: Add matrixMult Stream Evaluator to support matrix multiplication 2018-02-19 19:27:25 -05:00
Joel Bernstein 6c0f9ac8c7 SOLR-11689: Add l1norm, l2norm and linfnorm Stream Evaluators 2018-02-16 19:07:37 -05:00
Andrzej Bialecki 26a037636d SOLR-11912: Improve TriggerIntegrationTest to avoid side-effects between tests (spurious autoscaling events).
Add a convenience method to DistribStateManager to remove data recursively.
2018-02-16 11:28:57 +01:00
Andrzej Bialecki 0231d5cdba SOLR-11899 Fix a race condition when testing removal of ephemeral nodes. 2018-02-13 17:58:45 +01:00
Christine Poerschke 298d90b621 LUCENE-8167: fix two incompleteEnumSwitch warnings in solr/solrj 2018-02-12 17:43:51 +00:00
David Smiley 5a26381424 SOLR-11722: Rename max-future-ms to maxFutureMs 2018-02-09 11:24:58 -05:00
David Smiley 1527ce57d4 SOLR-11925: Rename RoutedAliasCreateCollectionCmd as MaintainRoutedAliasCmd (internal Cmd) 2018-02-08 23:16:12 -05:00
David Smiley 02b5172ea2 SOLR-11925: Time Routed Aliases: router.autoDeleteAge feature 2018-02-08 23:12:09 -05:00
Noble Paul 3ad61d2f9c SOLR-11067: REPLACENODE should identify appropriate nodes if targetNode is not provided 2018-01-31 21:49:02 +11:00
Cao Manh Dat c56d774eb6 SOLR-11661: New HDFS collection reuses unremoved data from a deleted HDFS collection with same name causes inconsistent view of documents 2018-01-30 11:30:24 +07:00
Andrzej Bialecki d3d7b0034d SOLR-11376: Support computing plans for only specific collections. 2018-01-29 12:16:16 +01:00
David Smiley 154bdeb7db SOLR-11617: Alias metadata API; returned from LISTALIASES, set via MODIFYALIAS 2018-01-28 16:56:19 -05:00
David Smiley b0d244f656 SOLR-11722: Refactor out a TimeRoutedAlias class from various parts.
Also allowed TRA's to be tolerant of pre-existing collections.
2018-01-26 11:37:00 -05:00
David Smiley a1828a5664 SOLR-11722: New CREATEROUTEDALIAS cluster command for time routed aliases.
(a refactoring of some of the related parts will follow in next commit)
2018-01-25 14:45:49 -05:00
David Smiley d8e9ab8785 SOLR-11722: Improve the v2/v1 API mapping, including a bug.
Wrapped getParameterNamesIterator failed to consider attrToParams.
(committing this separately from rest)
2018-01-25 14:23:44 -05:00
Andrzej Bialecki fa511a0a6f SOLR-11714: AddReplicaSuggester / ComputePlanAction infinite loop. 2018-01-24 14:02:55 +01:00
Joel Bernstein a09126d926 SOLR-11862: Relax test thresholds 2018-01-23 19:31:08 -05:00
Joel Bernstein a664b63d42 SOLR-11890: Add multiKmeans Stream Evaluator 2018-01-23 15:54:37 -05:00
Joel Bernstein 50a6cb1b05 SOLR-11862: Add fuzzyKmeans Stream Evaluatory 2018-01-23 12:29:31 -05:00
Noble Paul 2f4f8932c6 SOLR-11051: Use disk free metric in default cluster preferences 2018-01-23 16:04:48 +11:00
Noble Paul 876ecd87fb SOLR-11871: MoveReplicaSuggester should not suggest leader if other replicas are available 2018-01-23 00:12:51 +11:00
Joel Bernstein f491fad955 SOLR-11867: Add indexOf, rowCount and columnCount StreamEvaluators 2018-01-17 15:43:05 -05:00
Joel Bernstein 5e2ef5eb73 SOLR-11736: Rename knn Streaming Expression to knnSearch and add new knn Stream Evaluator 2018-01-16 19:20:39 -05:00
Erick Erickson a6b5c5bfb0 SOLR-11810: Upgrade Jetty to 9.4.8 2018-01-16 12:14:03 -08:00
Noble Paul d99799c75c SOLR-11064: Collection APIs should use the disk space hint when using policy framework 2018-01-17 03:04:34 +11:00
Joel Bernstein a08f71279c SOLR-11737: Add kmeans Stream Evaluator to support kmeans clustering 2018-01-15 14:50:34 -05:00
Noble Paul e4438a2bb7 SOLR-11063: fixed test failure. 2018-01-16 00:24:55 +11:00
Chris Hostetter 6dcbb2d412 SOLR-3218: Added range faceting support for CurrencyFieldType 2018-01-14 16:30:24 -07:00
Noble Paul fe86ab982d SOLR-11063: Suggesters should accept required freedisk as a hint 2018-01-12 23:48:30 +11:00
Erick Erickson 4471c1b77c SOLR-11218: Fail and return an error when attempting to delete a collection that's part of an alias 2018-01-09 17:27:12 -08:00
Steve Rowe e538792d29 SOLR-11631: fix precommit 2018-01-09 18:00:49 -05:00
Steve Rowe e3f3cdd085 SOLR-11631: fix Solrj tests 2018-01-09 11:55:30 -05:00
Noble Paul 6336ed46f9 SOLR-11062: new tag "diskType" in autoscaling policy 2018-01-09 22:58:10 +11:00
Noble Paul 74128cf695 implement MapWriter 2018-01-09 19:15:58 +11:00
Joel Bernstein d189b58708 SOLR-10716: Improve error handling 2018-01-08 20:12:43 -05:00
Joel Bernstein 459ed85052 SOLR-10716: Add termVectors Stream Evaluator 2018-01-08 19:39:43 -05:00
Christine Poerschke 07afc23dce LUCENE-8115: remove unnecessary-on-its-own {@inheritDoc} annotations. 2018-01-08 19:45:19 +00:00
David Smiley 925733d1ef SOLR-11653: TimeRoutedAlias URP now auto-creates collections using new RoutedAliasCreateCollectionCmd 2018-01-05 13:53:26 -05:00
Noble Paul 8836fda95f SOLR-11813: Reuse a NodeStateProvider in a session 2018-01-04 19:45:59 +11:00
Joel Bernstein 94a680c311 SOLR-11682: Add gtestDataSet Stream Evaluator 2018-01-03 21:31:39 -05:00
David Smiley 9586d12af4 SOLR-11805: SolrJ's SolrResponse.getElaspedTime was sometimes a millisecond off 2018-01-03 15:47:32 -05:00
Joel Bernstein 1cc49d18c2 Add chiSquareDataSet Stream Evaluator 2018-01-03 13:57:11 -05:00
Joel Bernstein a925847684 SOLR-11430: Add lerp and akima Stream Evaluators to support linear and akima spline interpolation 2018-01-02 10:24:06 -05:00
Shalin Shekhar Mangar caa731a333 SOLR-11748: Remove Autoscaling action throttle 2018-01-02 19:08:36 +05:30
Joel Bernstein 692e5243e9 SOLR-11808: Add sumSq Stream Evaluator 2017-12-31 13:48:23 -05:00
Joel Bernstein fbea59b086 SOLR-11172: Add Mann-Whitney U test Stream Evaluator 2017-12-28 14:14:26 -05:00
Joel Bernstein 0c4fb31205 SOLR-11799: Fix NPE and class cast exceptions in the TimeSeriesStream 2017-12-28 11:14:31 -05:00
Shalin Shekhar Mangar 43f17f7af1 SOLR-11201: Implement autoscaling trigger for arbitrary metrics that creates events when a given metric breaches a threshold 2017-12-22 21:18:50 +05:30
Joel Bernstein 6045066495 SOLR-11791: Add density Stream Evaluator 2017-12-22 10:41:42 -05:00
Joel Bernstein efbbc9e344 SOLR-11754: Fix precommit 2017-12-22 08:17:08 -05:00
Joel Bernstein b5d55b86df SOLR-11789: Add integrate Stream Evaluator 2017-12-22 07:57:41 -05:00
Andrzej Bialecki 091f45dd7b SOLR-11730: Add simulated tests for nodeAdded / nodeLost dynamic in a large cluster.
Plus some other fixes:
* Fix leader election throttle and cluster state versioning in the simulator.
* PolicyHelper was still using a static ThreadLocal field, use ObjectCache isntead.
2017-12-22 12:58:21 +01:00
David Smiley f354a278f8 SOLR-11754: remove AbstractSolrTestCase; use SolrTestCaseJ4 instead.
Also removed SolrExampleTestBase in Solrj-tests.
2017-12-21 13:20:22 -05:00
Joel Bernstein 960a5fd793 SOLR-11785: Add multiVariateNormalDistribution Stream Evaluator 2017-12-20 13:51:47 -05:00
Joel Bernstein f8c93db9eb SOLR-11681: Add ttest and pairedTtest Stream Evaluators 2017-12-18 14:31:47 -05:00
David Smiley e441a99009 SOLR-11757: Tests: SolrException.ignoreException use CopyOnWrite 2017-12-15 17:19:37 -05:00
Andrzej Bialecki d6d2e3b2e3 SOLR-11285: Simulation framework for autoscaling. 2017-12-14 12:56:23 +01:00
Chris Hostetter 5b2e25f301 SOLR-11575: Improve ref-guide solrj snippets via mock 'print()' method 2017-12-11 17:39:01 -07:00
Chris Hostetter efc2f32ea0 SOLR-11711: Fixed distributed processing of facet.field/facet.pivot sub requests to prevent requesting unneccessary and excessive '0' count terms from each shard 2017-12-11 10:26:55 -07:00
Noble Paul 071d9270d5 SOLR-11669: Policy Session lifecycle cleanup 2017-12-06 15:04:04 +11:00
Varun Thacker 2c14b91418 SOLR-11590: Synchronize ZK connect/disconnect handling so that they are processed in linear order 2017-12-05 13:34:50 -08:00
Andrzej Bialecki 41644bdcdc SOLR-11458: Improve error handling in MoveReplicaCmd to avoid potential loss of data. 2017-12-05 14:46:05 +01:00
Joel Bernstein cd10d0bda0 SOLR-11485: Fix precommit 2017-12-04 23:06:59 -05:00
Joel Bernstein 862f48761c SOLR-11485: Fix broken tests 2017-12-04 22:46:43 -05:00
Joel Bernstein f8c69270a1 SOLR-11485: Fix precommit 2017-12-04 21:43:07 -05:00
Joel Bernstein 8750e5f2a9 SOLR-11485: Add olsRegress, spline and derivative Stream Evaluators 2017-12-04 21:09:41 -05:00
Anshum Gupta 8c855fa287 The queue size for ConcurrentUpdateSolrClient should default to 10 instead of throwing an IllegalArgumentException 2017-12-01 14:25:02 -08:00
Anshum Gupta ebdaa44182 SOLR-11608: Correctly parse the new core-name in the V2 core rename API. 2017-11-29 13:17:17 -08:00
Joel Bernstein 70767b109f SOLR-11697: Add geometricDistribution Stream Evaluator 2017-11-28 21:23:15 -05:00
Shalin Shekhar Mangar 207e546122 SOLR-11202: Implement a set-property command for AutoScaling API 2017-11-28 16:08:32 +05:30
Joel Bernstein 8072b46b63 SOLR-11680: Add normalizeSum Stream Evaluator 2017-11-27 13:38:43 -05:00
Joel Bernstein 7acccd5157 SOLR-11674: Support ranges in the probability Stream Evaluator 2017-11-26 21:32:05 -05:00
Noble Paul 2bde0eab3f SOLR-9743: A new UTILIZENODE command 2017-11-24 00:32:26 +10:30
Joel Bernstein 17078019e2 SOLR-11569: Add support for distance matrices to the distance Stream Evaluator 2017-11-22 18:31:08 -05:00
David Smiley 6f99196e81 SOLR-11444: CloudSolrClient could have thrown an NPE if the collection doesn't exist.
Refactor: Tidy the exception throwing
2017-11-17 23:22:22 -05:00
David Smiley fd1820a430 SOLR-11487: Collection Aliases may now have metadata 2017-11-16 13:57:22 -05:00
Noble Paul cfea3d5e83 SOLR-11642: remove Policy.Session from OverseerCollectionMessageHandler 2017-11-15 21:18:33 +10:30
Noble Paul 79283834bc SOLR-11380:removed GenericRequest.setContentStreams() 2017-11-15 03:55:17 +10:30
Noble Paul 65cd8bbbf4 SOLR-11538: Implement port suggestion 2017-11-14 23:23:35 +10:30
Andrzej Bialecki fc678da2dd SOLR-11642: Implement ObjectCache for SolrCloudManager. 2017-11-14 13:21:26 +01:00
Noble Paul 8e60dc52c5 SOLR-11538: Implement suggestions for port,ip_*, nodeRole,sysprop.*, metrics:* 2017-11-14 15:17:53 +10:30
Joel Bernstein 59360b4617 SOLR-11570: Add support for correlation matrices to the corr Stream Evaluator 2017-11-13 19:44:46 -05:00
Shalin Shekhar Mangar 3045349140 SOLR-11638: Fix CloudSolrClientTest periodic failures after SOLR-11507 2017-11-13 15:50:45 +05:30
Joel Bernstein 9ea9a85339 SOLR-11571: Add diff Stream Evaluator to support time series differencing 2017-11-10 13:15:41 -05:00
David Smiley a43c318a51 SOLR-11507: randomize parallelUpdates for test CloudSolrClientBuilder 2017-11-09 15:58:58 -05:00
David Smiley df3b01744c SOLR-10469: Move CloudSolrClient.setParallelUpdates to its Builder 2017-11-09 15:48:35 -05:00
Noble Paul 6c46569705 SOLR-11614: ReplicaAssigner to use SolrCloudManager 2017-11-09 23:18:28 +10:30
Joel Bernstein 23fe16d3e9 SOLR-11607: Add grandSum, sumRows, sumColumns, scalarDivide, scalarMultiply, scalarAdd, scalarSubtract Stream Evaluators 2017-11-07 19:46:26 -05:00
Noble Paul a03d6bc8c2 SOLR-11380: deprecated getContentStreams() 2017-11-07 17:56:52 +10:30
Uwe Schindler 3ab1a07662 SOLR-11606: Disable tests automatically if Mockito does not work with Java runtime (Java 10) 2017-11-04 19:37:28 +01:00
Joel Bernstein 2a2cf4b5e4 SOLR-11602: Fix precommit 2017-11-03 15:29:11 -04:00
Joel Bernstein d723578034 SOLR-11602: Add Markov Chain Stream Evaluator 2017-11-03 15:00:43 -04:00
Joel Bernstein 0ebf5e0896 SOLR-11599: Change normalize function to standardize and make it work with matrices 2017-11-02 21:37:29 -04:00
Joel Bernstein e915078707 SOLR-10680: Add minMaxScale Stream Evaluator 2017-11-02 13:44:42 -04:00
Andrzej Bialecki 6008b186a2 SOLR-11072: Fix creation of searchRate triggers via API, add a unit test, other minor edits. 2017-11-02 16:32:29 +01:00
Noble Paul f564f9ca4b SOLR-11380: Test failure 2017-11-02 19:22:57 +10:30
Noble Paul 0e738a0369 SOLR-11380: V2request also converted to do streaming write 2017-11-02 17:39:31 +10:30
Joel Bernstein 6eea7f70a0 SOLR-11594: Add precision Stream Evaluator 2017-11-01 13:35:35 -04:00
Joel Bernstein 6d5a7920ae SOLR-11593: Add support for covariance matrices to the cov Stream Evaluator 2017-11-01 11:30:15 -04:00
Noble Paul 1b8747ec4f SOLR-11380: XML request writer also stream request 2017-11-01 19:26:22 +10:30
Shalin Shekhar Mangar 2e4b6929d2 SOLR-9440: Revert visibility change of collectionWatches 2017-11-01 10:15:39 +05:30
Joel Bernstein 5633268a45 SOLR-11567: Add triangularDistribution Stream Evaluator 2017-10-31 19:52:07 -04:00
Shalin Shekhar Mangar 39376cd8b5 SOLR-9440: The ZkStateReader.removeCollectionStateWatcher method can cache a DocCollection reference and never update it causing stale state to be returned in ClusterState 2017-10-31 17:58:36 +05:30
Noble Paul 487f67620d SOLR-11520: Implement autoscaling suggestions for cores count violations 2017-10-31 19:41:17 +10:30
Noble Paul cb3ed762fb SOLR-11380: use the inNull() method to check for empty UpdateRequest 2017-10-31 16:34:00 +10:30
Noble Paul 706b6c9171 SOLR-11380: SolrJ must stream docs to server instead of writing to a buffer first 2017-10-31 13:16:31 +10:30
Joel Bernstein 3edb23471b SOLR-11565: Add unit Stream Evaluator to support unitizing of vectors 2017-10-30 20:17:22 -04:00
Christine Poerschke b8bcaf9246 SOLR-10132: A new optional facet.matches parameter to return facet buckets only for terms that match a regular expression. (Gus Heck, Christine Poerschke) 2017-10-30 18:03:25 +00:00
Joel Bernstein b7332f65b7 SEARCH-11566: Add transpose Stream Evaluator to support transposing of matrices 2017-10-30 12:59:13 -04:00
Joel Bernstein e0239b9e84 SOLR-11568: Add matrix Stream Evaluator to support efficient matrix operations 2017-10-29 20:59:57 -04:00
Noble Paul f1a6b68d75 SOLR-11484: fixing NPE 2017-10-28 12:04:10 +10:30
Tomas Fernandez Lobbe 03084fa754 SOLR-11557: SolrZkClient.checkInterrupted interrupts current thread 2017-10-27 09:57:22 -07:00
Noble Paul 0d29f7a1a2 SOLR-11484: CloudSolrClient does not invalidate cache or retry for RouteException 2017-10-27 15:28:24 +10:30
Cassandra Targett 7ece47caf1 SOLR-11032: Update SolrJ tutorial with new example test for real tested code samples 2017-10-26 15:25:05 -05:00
Andrzej Bialecki ed611a0851 SOLR-11320: Lock autoscaling triggers when changes they requested are being made. 2017-10-26 15:42:48 +02:00
Andrzej Bialecki 99f5760142 SOLR-9735: Fix v2 API for AutoscalingHistoryHandler. 2017-10-26 15:21:10 +02:00
Shalin Shekhar Mangar 4674d26408 SOLR-11524: Added /admin/autoscaling/suggestions to ADMIN_PATHS so that SolrJ can call this API without a requiring a collection name 2017-10-26 17:35:58 +05:30
Shalin Shekhar Mangar b5d3d242ef SOLR-9735: Fix autoscaling.Commands.json structure 2017-10-26 15:14:11 +05:30
Cassandra Targett 01b8cd8d44 SOLR-11135: remove cwiki.apache.org references in javadocs 2017-10-25 09:59:02 -05:00
Noble Paul a72330e9b9 SOLR-11548: make ZkOperation an interface 2017-10-25 18:14:48 +10:30
Noble Paul 6305ed6695 SOLR-11524: A new autoscaling/suggestions API end-point which gives autoscaling suggestions
SOLR-11519: Implement suggestions for replica count violations

SOLR-11518: Implement Suggestions for freedisk violations
2017-10-24 23:39:13 +10:30
Joel Bernstein a6e1237451 SOLR-11429: Add loess Stream Evaluator to support Local Regression interpolation 2017-10-23 14:45:10 -04:00
Noble Paul acdf87cc41 SOLR-11500: MOVEREPLICA api missing in V2 2017-10-23 15:34:17 +10:30
Andrzej Bialecki d3e949c07b SOLR-11072: Implement trigger for searchRate event type. 2017-10-19 11:36:59 +02:00
David Smiley e001f35289 SOLR-11444: Improve consistency of collection alias handling and collection list references.
Other refactorings of nearby code too.
2017-10-19 00:02:24 -04:00
Alexandre Rafalovitch 70784f4561 SOLR-11490: Add missing @since tags
To all descendants of TupleStream
2017-10-18 21:38:51 -04:00
Andrzej Bialecki 8b4ab2644d SOLR-11448: Implement an option in collection commands to wait for final results. 2017-10-18 16:28:56 +02:00
Noble Paul e441b3ac4e SOLR-11359: refactored replica name parsing into Utils 2017-10-18 16:58:59 +10:30
Andrzej Bialecki a91af34705 SOLR-11491: Fix a ClassCastException. 2017-10-17 19:15:59 +02:00
Noble Paul 0953cb3270 SOLR-11500: MOVEREPLICA api missing in V2 2017-10-17 23:34:12 +10:30
Noble Paul fb97ff1400 SOLR-11359: Refactored 2017-10-17 00:06:42 +10:30
Noble Paul 141b08a40f SOLR-11359: Refactored 2017-10-16 23:57:29 +10:30
Andrzej Bialecki fc88e225d2 SOLR-11491: Support retrieval of cluster properties in HttpClusterStateProvider. 2017-10-16 10:09:58 +02:00
Andrzej Bialecki 8dd489edce SOLR-11285: Support simulations at scale in the autoscaling framework,
part 1 (refactoring).
2017-10-14 18:15:40 +02:00
Cao Manh Dat 9543e85460 SOLR-11443: Remove the usage of workqueue for Overseer 2017-10-14 09:33:17 +07:00
Noble Paul 371f731520 SOLR-11451: added logging to track the failures 2017-10-11 00:42:55 +10:30
Joel Bernstein aa6ec0ee54 SOLR-11377: Add expMovingAverage (exponential moving average) Stream Evaluator 2017-10-08 21:03:47 -04:00
Joel Bernstein b9c8aa7059 SOLR-11439: Add harmonicFit Stream Evaluator 2017-10-08 21:03:47 -04:00
Andrzej Bialecki 5c62fb56f7 SOLR-11285: Fix a bug in Policy modifier methods. 2017-10-04 20:53:20 +02:00
Joel Bernstein 070d6d3748 SOLR-11392: Change collection names in test case 2017-10-04 14:29:15 -04:00
Joel Bernstein 1782dd9ca9 SOLR-11436: Add polyfit and polyfitDerivative Stream Evaluators 2017-10-04 14:02:13 -04:00
Steve Rowe fe38dcafbe fix precommit errors after merging autoscaling branch into master 2017-10-04 12:17:40 -04:00
Noble Paul 0e679e4edf Merge branch 'feature/autoscaling' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-10-04 18:53:51 +10:30
markrmiller fc429399ec SOLR-11425: SolrClientBuilder does not allow infinite timeout (value 0). 2017-10-03 09:08:26 -05:00
Noble Paul 310bcd7cbe Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr into feature/autoscaling 2017-10-03 23:57:15 +10:30
Noble Paul 942b6715b3 policy should compare the approx val instead of actual val when moving replicas around 2017-10-02 13:05:50 +10:30
Joel Bernstein c322e36926 SOLR-11422: Add probabilities parameter to the enumeratedDistribution Stream Evaluator 2017-09-29 13:10:26 -04:00
Joel Bernstein 71eb59e043 SOLR-11420: sql Streaming Expression should use the default collection if none is provided 2017-09-29 10:36:26 -04:00
Joel Bernstein 633af79406 SOLR-11415: Add betaDistribution Stream Evaluator 2017-09-29 09:57:45 -04:00
Joel Bernstein 86fa1cf11b SOLR-11418: Allow comments in Streaming Expressions 2017-09-28 21:36:13 -04:00
Joel Bernstein 3f94f2ed4c SOLR-11414: Add gammaDistribution Stream Evaluator 2017-09-28 14:08:38 -04:00
Joel Bernstein 790533da12 SOLR-11401: Add zipFDistribution Stream Evaluator 2017-09-27 21:47:43 -04:00
Joel Bernstein 6b3447defd SOLR-11400: Add logNormalDistribution Stream Evaluator 2017-09-27 13:53:03 -04:00
Erick Erickson 424fb3bfb7 SOLR-11224: SolrStream.close can hit an NPE 2017-09-26 09:26:12 -07:00
Joel Bernstein 0e5c3aa3dc SOLR-11398: Add weibullDistribution Stream Evaluator 2017-09-25 21:41:55 -04:00
Joel Bernstein 7da8325cee SOLR-11388: Add test case 2017-09-23 21:31:38 -04:00
Joel Bernstein d5274ff239 SOLR-11392: StreamExpressionTest.testParallelExecutorStream fails too frequently 2017-09-23 13:03:19 -04:00
Joel Bernstein e62f9f85d0 SOLR-11388: Fix sample function 2017-09-23 13:03:19 -04:00
Joel Bernstein 5c9af8640e SOLR-11388: Add monteCarlo Stream Evaluator to support Monte Carlo simulations WIP 2017-09-23 13:03:18 -04:00
Joel Bernstein fc8d7ee1b0 SOLR-11387: testPoissonDistribution fails too frequently 2017-09-21 21:04:30 -04:00
Shalin Shekhar Mangar e13c4c34f0 SOLR-11085: Improve resiliency of autoscaling actions against overseer restarts and operation failures 2017-09-20 16:40:27 -07:00
Noble Paul 6c3226876e SOLR-11368: Abstract out DistibutedQueue as an interface 2017-09-20 15:44:32 +09:30
Joel Bernstein e0327719a3 SOLR-11354: Fix precommit 2017-09-19 21:26:49 -04:00
Joel Bernstein 565b6c6e5a SOLR-11354: Add factorial and movingMedian Stream Evaluators 2017-09-19 21:26:33 -04:00
Shalin Shekhar Mangar 341a730ad5 Revert "SOLR-11072: Implement trigger for searchRate event type."
This reverts commit 8ef83bf
2017-09-18 09:26:49 -07:00
Shalin Shekhar Mangar bc25e846bc Revert "SOLR-11072: Fix searchRate trigger hookup to ComputePlanAction. Make the trigger more robust by supporting host collections with warm shards. Add unit test."
This reverts commit 6fb2803
2017-09-18 09:25:27 -07:00
Shalin Shekhar Mangar de3107c70f Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-09-18 09:23:41 -07:00
Joel Bernstein 1544839309 SOLR-11350: Add primes Stream Evaluator 2017-09-11 15:00:19 -04:00
Joel Bernstein a4fc14baed SOLR-11344: Fix copyOfRange Stream Evaluator so the end index parameter can be equal to the length array 2017-09-09 20:24:05 -04:00
Joel Bernstein c229dc328f SOLR-11342: Add sumDifference and meanDifference Stream Evaluators 2017-09-08 21:08:29 -04:00
Joel Bernstein e8dee89c87 SOLR-11339: Add Canberra, Chebyshev, Earth Movers and Manhattan Distance Stream Evaluators 2017-09-08 15:44:28 -04:00
Joel Bernstein a6142b3b61 SOLR-11338: Add Kendall's Tau-b rank and Spearmans rank correlation Stream Evaluators 2017-09-08 13:01:16 -04:00
Andrzej Bialecki 6fb2803bca SOLR-11072: Fix searchRate trigger hookup to ComputePlanAction. Make
the trigger more robust by supporting host collections with warm shards.
Add unit test.
2017-09-07 17:04:41 +02:00
Steve Rowe 5324c7436c SOLR-11181: fix validate-maven-dependencies 2017-09-07 09:24:02 -04:00
Andrzej Bialecki 8ef83bff12 SOLR-11072: Implement trigger for searchRate event type. 2017-09-07 12:37:57 +02:00
Noble Paul a73ffff8e3 SOLR-11327: MODIFYCOLLECTION should be able to edit policy attribute 2017-09-07 20:01:09 +09:30
Joel Bernstein 26201c8dad SOLR-11241: Fix precommit 2017-09-06 11:32:04 -04:00
Joel Bernstein 4496612120 SOLR-11241: Add discrete counting and probability Stream Evaluators 2017-09-06 11:32:04 -04:00
yonik 2ed1573adc SOLR-11317: change FacetStream to handle int/long as well as double for metrics 2017-09-05 14:14:19 -04:00
Joel Bernstein 3423ae4b92 SOLR-11321: Add ebeAdd, ebeSubtract, ebeDivide, ebeMultiply, dotProduct and cosineSimilarity Stream Evaluators 2017-09-04 18:40:03 -04:00
Noble Paul 054f445a27 SOLR-11307: The SHARD hint is deprecated in favor of a COLL_SHARD hint 2017-09-04 22:55:55 +09:30
Shalin Shekhar Mangar b2cf38c191 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-09-02 21:12:07 +05:30
Dennis Gove 4b6f2e5ca7 SOLR-11283: Refactors all Stream Evaluators in solrj.io.eval to simplify them 2017-08-25 22:07:37 -04:00
Andrzej Bialecki ce7db65e6f Revert "SOLR-11285: Initial refactoring."
This reverts commit aee54ff7d1.
2017-08-24 15:10:29 +02:00
Andrzej Bialecki aee54ff7d1 SOLR-11285: Initial refactoring. 2017-08-24 15:09:37 +02:00
Andrzej Bialecki 98c371f85e SOLR-11076 New /autoscaling/history API to return past cluster events and actions. 2017-08-23 14:00:16 +02:00
Andrzej Bialecki f10993d26d SOLR-10769: Allow multiple nodes in nodeAdded / nodeLost events. 2017-08-23 13:58:32 +02:00
Shalin Shekhar Mangar ac98e89d41 Merge branch 'master' into feature/autoscaling 2017-08-21 12:17:04 +05:30
Ishan Chattopadhyaya c8e0e939e4 SOLR-11183: V2 APIs are now available at /api endpoint 2017-08-20 21:00:15 +05:30
Noble Paul 68bfcd78c7 SOLR-11215: use the new metrics syntax in autoscaling metrics and system properties 2017-08-18 00:38:10 +09:30
Noble Paul 91446f7f77 SOLR:10822: Share a Policy.session object between multiple collection admin calls to get the correct computations 2017-08-15 16:06:35 +09:30
Shalin Shekhar Mangar 5e5462e408 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-08-14 12:00:51 +05:30
Shalin Shekhar Mangar 67de1a3f70 SOLR-9735: Replace nocommit with link to ref guide document 2017-08-11 19:49:08 +05:30
Noble Paul 9a157edf5d SOLR-11205: Any metrics value can be directly accessed in autoscaling policies 2017-08-11 23:27:53 +09:30
Joel Bernstein b3127ec582 SOLR-11225: Add cumulativeProbability Stream Evaluator 2017-08-10 21:55:45 -04:00
Christine Poerschke 9b0fccfbda Remove (package) javadocs in solrj UuidEvaluator. 2017-08-10 17:11:52 +01:00
Christine Poerschke 8e2dab7315 SOLR-11090: Add Replica.getProperty accessor. 2017-08-09 09:48:02 +01:00
Joel Bernstein ea85543ace SOLR-11212: Allow the predict StreamEvaluator to work on arrays as well as a single numeric parameter 2017-08-08 14:53:45 -04:00
Shalin Shekhar Mangar 1f6a94551f Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
#	solr/core/src/java/org/apache/solr/cloud/autoscaling/AutoScalingHandler.java
#	solr/core/src/test/org/apache/solr/cloud/SharedFSAutoReplicaFailoverTest.java
#	solr/core/src/test/org/apache/solr/cloud/autoscaling/AutoScalingHandlerTest.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpSolrClient.java
2017-08-08 17:15:46 +05:30
Erick Erickson 53db72c598 SOLR-11198: fix test failures 2017-08-07 09:57:38 -07:00
Erick Erickson e053e2298f SOLR-11198: downconfig downloads empty file as folder, test failures possible fix and logging 2017-08-06 18:21:48 -07:00
Joel Bernstein ee69616957 SOLR-11203-Simple regression output should include R-square 2017-08-06 13:51:39 -04:00
Erick Erickson 522367cc4d SOLR-11198: downconfig downloads empty file as folder 2017-08-06 09:48:16 -07:00
Noble Paul c1d28c3ece SOLR-11178: Change error handling in AutoScalingHandler to be consistent w/ other APIs 2017-08-04 23:41:30 +09:30
Noble Paul 1c47a85f23 SOLR-11178: Change error handling in AutoScalingHandler to be consistent w/ other APIs 2017-08-03 23:01:35 +09:30
Noble Paul 82a426c6e7 SOLR-11157: remove-policy must fail if a policy to be deleted is used by a collection 2017-08-03 11:19:48 +09:30
Anshum Gupta 211d106cc2 SOLR-11126: Node-level health check handler, with SolrJ support 2017-08-02 11:54:49 -07:00
Cao Manh Dat 93ed4770ac SOLR-9321: Remove deprecated methods of ClusterState 2017-08-01 14:55:00 +07:00
Joel Bernstein b058818a3e SOLR-11160: Fix precommit 2017-07-31 15:57:30 -04:00
Joel Bernstein 71517bc292 SOLR-11160: Add normalDistribution, uniformDistribution, sample and kolmogorovSmirnov Stream Evaluators 2017-07-31 15:40:21 -04:00
Steve Rowe 68623e975c SOLR-10756: Undeprecate ZkStateReader.updateClusterState(), mark as @lucene.internal, and rename to forciblyRefreshAllClusterStateSlow(). 2017-07-28 13:59:19 -04:00
Steve Rowe 51b6840488 SOLR-11155: /analysis/field and /analysis/document requests should support points fields. 2017-07-28 11:07:44 -04:00
Cao Manh Dat 0f7e3be589 SOLR-10397: Remove old implementation of autoAddReplicas features 2017-07-28 18:00:03 +07:00
Steve Rowe 9e8027d39a SOLR-10760: fix another Solrj test 2017-07-26 18:42:49 -04:00
Steve Rowe f6b0f96568 SOLR-10760: fix Solrj tests that depended on Trie fields 2017-07-26 18:24:34 -04:00
Tomas Fernandez Lobbe a4b7472139 SOLR-11130: Remove unused import 2017-07-26 09:30:49 -07:00
Noble Paul 9f73bcf11d SOLR-11130: V2Request is SolrJ should return the correct collection name 2017-07-26 21:10:21 +09:30
Joel Bernstein 81bc463ce5 SOLR-10944: Get expression fails to return EOF tuple 2017-07-25 13:02:13 -04:00
Cao Manh Dat b53736155a Merge 'master' into feature/autoscaling 2017-07-25 16:05:24 +07:00
Chris Hostetter 6a59253ec3 SOLR-10494: Make default response format JSON (wt=json), and also indent text responses formats (indent=on) by default 2017-07-24 08:42:02 -07:00
Chris Hostetter eae2efcbd9 SOLR-11136: Fix solrj XMLResponseParser when nested docs transformer is used with indented XML 2017-07-21 17:25:57 -07:00
Cassandra Targett cdae11e25a SOLR-10848: Update v2 api specs with new Ref Guide address and anchor links 2017-07-21 15:47:01 -05:00
Andrzej Bialecki e9e9b3c21a SOLR-11031: Implement SystemLogListener for autoscaling. 2017-07-19 17:20:52 +02:00
Erick Erickson dd5be42e6c SOLR-11106: TestLBHttpSolrClient.testReliablity takes 30 seconds because of the wrong server name 2017-07-18 08:31:35 -07:00
Noble Paul 3a6672a40e SOLR-11026: MoveReplicaSuggester must check if the 'target' becomes more 'loaded' than the 'source' if an operation is performed 2017-07-18 19:21:56 +09:30
Cao Manh Dat cafd0714cd Merge 'master' into feature/autoscaling 2017-07-18 12:13:39 +07:00
Christine Poerschke e23ac243ef SOLR-11012: Fix three (JavaBinCodec not being closed) Resource Leak warnings. 2017-07-17 13:22:36 +01:00
Erick b17ec1445d SOLR-11075: Refactor handling of params in CloudSolrStream and FacetStream 2017-07-16 09:05:07 -07:00
Shalin Shekhar Mangar c9cf57fc28 SOLR-11068: MOVEREPLICA and REPLACENODE API parameter names are now 'sourceNode' and 'targetNode'. The old names viz. 'fromNode' for MOVEREPLICA and 'source', 'target' for REPLACENODE have been deprecated 2017-07-15 09:05:33 +05:30
Joel Bernstein ebd130b7e2 SOLR-10802: Fix problem with variable assignment 2017-07-14 11:13:09 -04:00
Noble Paul ee53334608 SOLR-11080: Unused field Row.violations 2017-07-14 17:17:08 +09:30
Erick Erickson 19fd95b46c commit 4241a13beb0a14e8bd81a520bd8e04ab6c7465aa
Author: Erick Erickson <erick@apache.org>
Date:   Thu Jul 13 10:39:33 2017 -0700

    SOLR-10908: CloudSolrStream.toExpression incorrectly handles fq clauses
2017-07-13 11:29:46 -07:00
Joel Bernstein c40f6d7d79 SOLR-10802: Add plot Stream Expression 2017-07-13 13:05:47 -04:00
Andrzej Bialecki 2590a430f5 SOLR-11000: Changes made via AutoScalingHandler should be atomic. 2017-07-13 17:52:09 +02:00
Noble Paul d2849cd453 Merge remote-tracking branch 'origin/feature/autoscaling' into feature/autoscaling 2017-07-13 16:57:51 +09:30
Noble Paul 9e4d542b04 SOLR-11005: While using policies, convert maxShardsperNode parameter into a policy
SOLR-10994: CREATESHARD ADDREPLICA to use policy framework
2017-07-13 16:57:36 +09:30
Cao Manh Dat 88d9b28492 Merge branch 'master' into feature/autoscaling 2017-07-13 14:16:49 +07:00
Christine Poerschke e730ced5ef Consistently use ZkStateReader.CONSTANT in Replica.java (instead of mix of ZkStateReader.CONSTANT and import ZkStateReader.CONSTANT). 2017-07-12 17:14:24 +01:00
Joel Bernstein d35da77b72 SOLR-11046: Add residuals Stream Evaluator 2017-07-12 10:28:52 -04:00
Cao Manh Dat ad7f2a787d SOLR-11041: MoveReplicaCmd do not specify ulog dir in case of HDFS 2017-07-12 14:07:27 +07:00
Andrzej Bialecki 9c8e829f58 SOLR-10996: Implement TriggerListener API. 2017-07-10 18:29:15 +02:00
Ishan Chattopadhyaya b29951ff2b SOLR-10920: Warning for production use of _default configset's data-driven functionality 2017-07-09 17:05:38 +05:30
Shalin Shekhar Mangar b8c86d24d4 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-07-07 09:53:33 +05:30
Joel Bernstein 7051a7919f SOLR-11024: ParallelStream should set the StreamContext when constructing SolrStreams 2017-07-06 20:54:19 -04:00
Varun Thacker 74b609cf88 SOLR-10826: Fix CloudSolrClient to expand the collection parameter correctly 2017-07-06 13:30:11 -07:00
Joel Bernstein 01d0ce3258 SOLR-11019: Add addAll Stream Evaluator 2017-07-06 15:22:47 -04:00
Anshum Gupta 30e9b51af7 SOLR-11004: Consolidate SolrClient builder code into an abstract base class to reduce duplication. 2017-07-05 11:47:01 -07:00
Shalin Shekhar Mangar 467c692d40 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/core/src/java/org/apache/solr/cloud/MoveReplicaCmd.java
2017-07-05 05:39:44 +05:30
Anshum Gupta 6c163658bb SOLR-10456: Deprecate timeout related setters from SolrClients, and replace with Builder based implementation 2017-07-03 21:44:18 -07:00
Shalin Shekhar Mangar 2e19a94fcb Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
#	solr/core/src/java/org/apache/solr/cloud/Assign.java
2017-07-04 06:49:13 +05:30
Cao Manh Dat 8e0247e94a SOLR-10379: Adding testMultipleCollections() to TestPolicy 2017-07-03 15:06:59 +07:00
Noble Paul b21b0dcc22 SOLR-10994: CREATE & CREATESHARD to support replica types when using policy 2017-07-02 17:59:03 +09:30
Cao Manh Dat b18cf30dd3 SOLR-10397: Implement AutoAddReplicasPlanAction 2017-06-29 10:26:48 +07:00
Shalin Shekhar Mangar 39c6fb2e3e SOLR-10931: Move ReplicaCount and ReplicaInfo classes to new package. Fix compile and merge issues. 2017-06-28 12:21:29 +05:30
Shalin Shekhar Mangar 8d668503d8 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/solrj/src/test/org/apache/solr/client/solrj/cloud/autoscaling/TestPolicy.java
2017-06-28 11:54:23 +05:30
Shalin Shekhar Mangar b99ee2b136 SOLR-10931: Move TestPolicy to org.apache.solr.client.solrj.cloud.autoscaling package 2017-06-28 11:53:27 +05:30
Shalin Shekhar Mangar 4239896e6d Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
#	solr/core/src/java/org/apache/solr/cloud/OverseerCollectionMessageHandler.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/AddReplicaSuggester.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Cell.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Clause.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/MoveReplicaSuggester.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Operand.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Row.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/impl/SolrClientDataProvider.java
#	solr/solrj/src/test/org/apache/solr/cloud/autoscaling/TestPolicy.java
2017-06-28 11:09:19 +05:30
Ishan Chattopadhyaya 13a3ae2922 SOLR-10931: Refactoring the package name for autoscaling client classes 2017-06-28 07:55:40 +05:30
Noble Paul 257ba055d8 Refactored to pull out ReplicaInfo as a top level class 2017-06-27 19:29:32 +09:30
Shalin Shekhar Mangar e863d0f548 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
#	solr/core/src/java/org/apache/solr/cloud/ZkController.java
2017-06-27 10:48:05 +05:30
Ishan Chattopadhyaya c66a8d9fda SOLR-10272: Reverting a mistakenly deleted file 2017-06-27 09:14:00 +05:30
Ishan Chattopadhyaya ee572b052a SOLR-10272: Use _default config set if config name is not specified with CREATE collection 2017-06-27 09:07:05 +05:30
Chris Hostetter 14a0b4fa53 SOLR-10946: Randomize the usage of Points based numerics in solrj test schemas
This includes an @SuppressPointFields for SOLR-10960
2017-06-26 15:49:55 -07:00
Shalin Shekhar Mangar 4c47a32950 SOLR-10496: Add a test for multiple operations suggested by three different cluster policies 2017-06-27 00:33:10 +05:30
Noble Paul 72cf7dc2f7 check for AIOOBE 2017-06-26 23:08:41 +09:30
Noble Paul c5684cc85c making the url consistent w/ node name 2017-06-26 20:39:27 +09:30
Ishan Chattopadhyaya e4a7fc59ad SOLR-10574: Adding _default configset, replacing data_driven_schema_configs and basic_configs 2017-06-26 04:58:02 +05:30
Shalin Shekhar Mangar 1dd09fc40d Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-06-25 07:35:39 +05:30
Noble Paul e204ab0eef SOLR-10798: Add support for different replica types in the new policy framework 2017-06-23 22:56:01 +09:30
Shalin Shekhar Mangar 767335da19 SOLR-10496: New ComputePlanAction for autoscaling which uses the policy framework to compute cluster operations upon a trigger fire
Squashed commit of the following:

commit 8a5239d000f0090867f7db00983e335e4bdc931a
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jun 23 17:52:01 2017 +0530

    SOLR-10496: New ComputePlanAction for autoscaling which uses the policy framework to compute cluster operations upon a trigger fire

commit 70f60a23bc1e706abb41a4900c65305f1763f8f6
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jun 23 07:07:26 2017 +0530

    SOLR-10496: Remove debugging info from tests. Enable recursive suggestion of operations.

commit b023b011934be9ea411e148538daaa0a0b1d2052
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jun 23 00:18:51 2017 +0530

    SOLR-10496: Fix test failure on nodeLost event

commit b78e7ff589510315463488cd1ed79244d9d6e6ad
Author: Noble Paul <noble@apache.org>
Date:   Fri Jun 23 00:34:01 2017 +0930

    SOLR-10496: MOVEREPLICA suggester for dead node is not working

commit cb665a1b35cbd1826c58f8d4ff8f20eb37bc5f8f
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Thu Jun 22 18:50:55 2017 +0530

    SOLR-10496: Fix ClassCastException because the SRC_NODE hint is a Set

commit ebf298329360240014253daf58ab4699f3685033
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Thu Jun 22 18:46:28 2017 +0530

    SOLR-10496: Initial patch for ComputePlanAction
2017-06-23 18:01:06 +05:30
Shalin Shekhar Mangar b499f5aac2 Fixed merge problems to make the branch as close to master as possible 2017-06-21 13:04:01 +05:30
Shalin Shekhar Mangar fb7803d9a0 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-06-21 12:35:48 +05:30
Noble Paul 2e56e7eb28 SOLR-10954: this was supposed to be in the solrj package 2017-07-01 11:44:22 +09:30
Karl Wright cabb1fa366 Fix solrj test compilation error. 2017-06-29 05:13:51 -04:00
Karl Wright b4fa0e785b Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-06-29 05:00:17 -04:00
Karl Wright 224f349857 SOLR-10973: Use the correct constructor for InputStreamBody. 2017-06-29 04:58:51 -04:00
David Smiley 82a44beb3c SOLR-6807: requestDispatcher/@handleSelect now defaults to false; stop using it.
Deprecated StandardRequestHandler; stop using it.
2017-06-28 17:22:44 -04:00
Jan Høydahl 4746ff0ec8 SOLR-9623: Disable remote streaming in example configs by default. Adjust Upload Limit defaults 2017-06-20 11:00:08 +02:00
Cao Manh Dat b1b566f57b SOLR-10406: v2 API error messages list the URL request path as /solr/____v2/... when the original path was /v2/... 2017-06-20 12:46:33 +07:00
Joel Bernstein 3ff8c87024 SOLR-10882: Comment out broken test case 2017-06-19 09:16:23 -04:00
Erick 64093d6df1 SOLR:10779: JavaBinCodec should use close consistently rather than having marshal() and close() call finish() (which closes the underlying stream)
commit b31178e0c33dbfe81fbc1aec705b3dae3cc895ad
Author: Erick <erick@apache.org>
Date:   Sun Jun 18 22:34:21 2017 -0700

    SOLR-10779: JavaBinCodec should use close consistently rather than having marshal() and close() call finish() (which closes the underlying stream)
2017-06-18 22:35:57 -07:00
Dennis Gove 943bf5ab5b SOLR-10882: Fixes use of Lists in evaluators 2017-06-18 11:50:58 -04:00
Dennis Gove aeec043ed1 SOLR-10882: Moves sub evaluator check to the constructors to catch errors earlier 2017-06-18 11:50:58 -04:00
Dennis Gove 113459a840 SOLR-10882: ArrayEvaluator now works with all types and allows sorts (deleted ArraySortEvaluator) 2017-06-18 11:50:58 -04:00
Dennis Gove 5fca6a4d82 SOLR-10882: Rewords error message on Anova evaluator 2017-06-18 11:50:57 -04:00
Dennis Gove 606824acaf SOLR-10882: ArrayEvaluator now supports values of any type 2017-06-18 11:50:57 -04:00
Dennis Gove 8988862698 SOLR-10882: Moves parameter checking of anova evaluator 2017-06-18 11:50:57 -04:00
Dennis Gove f1695104fa SOLR-10882: LengthEvaluator now supports collections of any type 2017-06-18 11:50:57 -04:00
Cao Manh Dat 751a5c814c SOLR-10886: Using V2Request.process(solrClient) method throws NPE if the API returns an error 2017-06-16 14:29:24 +07:00
Noble Paul d953488e93 unused imports removed 2017-06-16 15:21:30 +09:30
Noble Paul f6f6f11320 SOLR-10433: CollectionAdmin requests in SolrJ to support V2 calls 2017-06-16 14:05:51 +09:30
Chris Hostetter f1e2be6451 SOLR-10834: Fixed tests and test configs to stop using numeric uniqueKey fields
Squashed commit of the following (from jira/SOLR-10834 branch):

commit 8f1043840f38533864b2c713daf066b6c3509147
commit 7b95773bd524cd86aaccc56cc33a003a9aff2004
commit b26bf9d60e2b94e0cdc365d1e2c0a37c33e24198
commit df11992106f8c338503b6e3e9a27ba6ddcfa2953
commit fcf98132410ed247e451bb449a8337a09bd857ce
commit 05e8e226de359a6d7bc99219eaec161a32268f17
commit 6dce948294351560948a32b64679b1879657af79
commit 53f97845caaa8adc25862e4017b94f3091063552
commit d5bfb5f57016341fbeaf73b5e4c9ed10dc3816d0
commit d333f7b1eee10893a81532ac2f5a77a46716d90b
commit 15983ceec4702dc8c7562250d59cd8231c67d46a
commit e18e2e771fb4678cb911a62bbc7c74a873466bf0
commit 134e210bdf601600a9d90dd0720a35cb122896b0
commit ec03260265f8a3bbdfd7f9b015de16a4950a05eb
commit 5d430057ed335801a524e1e7666061075ab6d859
commit 1625df3d21b8fa27815d7a7b89a55fc338eeb23b
2017-06-15 09:14:24 -07:00
yonik a18a4ce245 SOLR-7452: convert bucket values in FacetStream from Integer to Long for calcite, make bucket labels in JSON Facet API consistent for facet refinement 2017-06-13 17:31:30 -04:00
Mike Drob d1db5f7af9 Revert "SOLR-8392: Remove instanceof checks on return value of SolrParam::get"
This reverts commit 94220a01e1.
2017-06-13 14:19:05 -07:00
Tomas Fernandez Lobbe 833a6f3ffb SOLR-10851: SolrClients should clarify expectations for solrServerUrl parameter 2017-06-12 15:47:46 -07:00
Mike Drob 94220a01e1 SOLR-8392: Remove instanceof checks on return value of SolrParam::get 2017-06-12 15:15:54 -07:00
Anshum Gupta e46d39bd5a SOLR-10915: Make builder based SolrClient constructors to be the only valid way to construct client objects and increase the visibility of builder elements to be protected so extending the builder, and the clients is possible. 2017-06-23 11:30:50 -07:00
Christine Poerschke b3c3f596d9 SOLR-9735: fix Recovered WARNINGs in autoscaling/Policy.applyRules()
('Internal inconsistency detected during lambda shape analysis') is the (Recovered) warning.
2017-06-23 15:47:25 +01:00
Christine Poerschke ebfc04b146 SOLR-10778: fix (false positive) Resource Leak warning in LBHttpSolrClient.build() method. 2017-06-23 15:47:25 +01:00
Noble Paul 4676410689 added a Utils.setObjectByPath() method 2017-06-23 14:17:14 +09:30
Uwe Schindler 5de15ff403 LUCENE-7883: Lucene/Solr no longer uses the context class loader when resolving resources 2017-06-22 20:20:50 +02:00
Noble Paul ad2cb7784e SOLR-10406: SolrJ must throw exception if server throws an error 2017-06-22 15:02:01 +09:30
Cao Manh Dat 8e9d685a40 SOLR-8256: Set legacyCloud=false as default 2017-06-21 22:25:39 +07:00
Joel Bernstein eff583ee88 SOLR-10933: LetStream variables are not evaluated in proper order 2017-06-21 10:11:46 -04:00
Adrien Grand 44d1f1fe3f LUCENE-7872: TopDocs.totalHits is now a long. 2017-06-21 09:55:02 +02:00
Dawid Weiss b2ea95c9ec SOLR-10849: MoreLikeThisComponent should expose setMaxDocFreqPct (maxDoc frequency percentage). 2017-06-12 14:44:06 +02:00
Joel Bernstein 463907a13c SOLR-10855: Null pointer exceptions in CartesianProductStream toExpression and explain methods 2017-06-09 12:07:28 -04:00
Noble Paul f14f2ef6a6 SOLR-10647: move JsonSchemaValidator to SolrJ 2017-06-09 14:29:26 +09:30
Joel Bernstein 40ed09f8ca SOLR-10853:Allow the analyze Stream Evaluator to operate outside of a stream 2017-06-08 14:41:48 -04:00
Noble Paul c5c05b46c4 SOLR-10647: move the spec files to solrj 2017-06-08 19:39:55 +09:30
Shalin Shekhar Mangar d3b5adfd62 Merge remote-tracking branch 'origin/feature/autoscaling' into feature/autoscaling
# Conflicts:
#	solr/core/src/java/org/apache/solr/cloud/ZkController.java
#	solr/core/src/test/org/apache/solr/cloud/autoscaling/TestPolicyCloud.java
2017-06-07 19:09:24 +05:30
Andrzej Bialecki 8bc7c47152 SOLR-10745: Reliably create nodeLost / nodeAdded events. 2017-06-07 13:20:22 +02:00