Commit Graph

2165 Commits

Author SHA1 Message Date
Christine Poerschke 1a4b1358ea SOLR-12395: Make 'significantTerms' the SignificantTermsQParserPlugin's name and deprecate its old 'sigificantTerms' name.
(Tobias Kässmann, Christine Poerschke)
2018-07-03 18:09:35 +01:00
Noble Paul 62b9cbc6f9 SOLR-11985: added validation and test 2018-06-29 14:53:14 +10:00
Alan Woodward 0fbe3d257e LUCENE-8356: Remove StandardFilter from Solr schemas 2018-06-27 12:05:23 +01:00
Andrzej Bialecki 7bb9990654 SOLR-12091: Fix the test to avoid larger jitter on Windows. 2018-06-27 12:16:26 +02:00
noble 7fb36c5906 SOLR-11985 : Added a test for pecentage with replica type 2018-06-26 22:48:46 +10:00
Noble Paul 980354da8e SOLR-12474: use javadoc style comment 2018-06-26 18:26:05 +10:00
Noble Paul 1eb2676f27 SOLR-11985: Support percentage values in replica attribute in autoscaling policy
SOLR-12511: Support non integer values for replica in autoscaling policy

SOLR-12517: Support range values for replica in autoscaling policy
2018-06-26 16:28:17 +10:00
Shalin Shekhar Mangar 8c714348ae SOLR-12506: Add SolrJ support for the modify collection API 2018-06-25 19:09:57 +05:30
Shalin Shekhar Mangar 6b4e9340d8 SOLR-12507: Support deleting properties using a blank parameter value 2018-06-25 16:34:52 +05:30
Steve Rowe 25e7631b90 SOLR-12482: Config API returns status 0 for failed operations 2018-06-21 23:21:13 -04:00
David Smiley 7c28d57973 SOLR-12413: Ensure pre-loaded aliases in ZK are considered.
(fix use of zk version in Aliases.EMPTY)
2018-06-21 14:00:12 -04:00
Shalin Shekhar Mangar fabc408d3b SOLR-12507: Modify collection API should support un-setting properties 2018-06-21 15:45:24 +05:30
Varun Thacker 3d20e8967b SOLR-12489: User specified replicationFactor and maxShardsPerNode is used when specified during a restore operation.
A user can now specify nrtReplicas/tlogReplicas/pullReplicas while restoring the collection.

Specifying replicationFactor or nrtReplicas have the same effect and only one can be specified
2018-06-19 19:45:08 +05:30
Varun Thacker 81906d31a6 SOLR-11676: Fix a SolrJ test to not expect replicationFactor that is not being set anymore 2018-06-19 16:13:45 +05:30
Varun Thacker 11fcb23906 SOLR-11676: Keep nrtReplicas and replicationFactor in sync while creating a collection and modifying a collection 2018-06-18 12:09:53 +04:00
Erick 2519025fda LUCENE-7976: Make TieredMergePolicy respect maxSegmentSizeMB and allow singleton merges of very large segments 2018-06-15 12:33:02 -07:00
David Smiley 4799bc5a4a SOLR-12362: JSON parsing: upgrade to List on end of array not start. And fix TestJsonRecordReader assumptions RE null keys 2018-06-15 00:46:17 -04:00
Erick Erickson a98fcda9c6 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-06-14 13:16:39 -07:00
user 21fe4164de SOLR-12362: Uploading docs in JSON now supports child documents as field values 2018-06-14 12:14:49 -04:00
Noble Paul 377f16de5e SOLR-12208: added a testcase for fetching arbitrary replica info 2018-06-14 00:07:30 +10:00
Andrzej Bialecki 7c4bad0e8f SOLR-12208: Add simulator support for properly tracking INDEX.sizeInBytes and INDEX.sizeInGB. 2018-06-12 16:22:00 +02:00
Noble Paul 98a4dd29ef SOLR-12208: Renamed the autoscaling variable 'INDEX.sizeInBytes' to 'INDEX.sizeInGB' 2018-06-12 13:47:12 +10:00
David Smiley 8095139da3 SOLR-12361: Allow nested child documents to be in field values of a SolrInputDocument.
* AddUpdateCommand and it's relationship with DirectUpdateHandler2 was reworked substantially.

Fixes #385
2018-06-11 10:48:30 -04:00
Noble Paul 0242409fae SOLR-12474: Add an UpdateRequest Object that implements RequestWriter.ContentWriter 2018-06-11 13:04:54 +10:00
Noble Paul b7e9fb43d0 SOLR-12455: Use the new serializarion in V2 and schema requests 2018-06-10 14:05:00 +10:00
broustant a06256ccee SOLR-11865: QueryElevationComponent changes
* new useConfiguredElevatedOrder setting
* more extensible (customizable via subclass)
** ElevationProvider
** handleInitializationException with cause enum
* use BytesRef for uniqueKey ID pervasively instead of String.
* ElevatorComparatorSource now reuses getBoostedDocs logic
* setSort will short-circuit if there are no elevated Ids
* extensive refactoring and affects some interrelated components
2018-06-09 11:32:24 -04:00
Noble Paul 944b24fab8 SOLR-12455: Refactor JSON serialization code into SolrJ package 2018-06-09 23:40:55 +10:00
Noble Paul 7ffdbf15f5 SOLR-12449: Response /autoscaling/diagnostics shows improper json 2018-06-09 23:35:16 +10:00
Noble Paul 9b65d7e1a2 SOLR-12142: EmbeddedSolrServer should use req.getContentWriter 2018-06-08 02:38:50 +10:00
Michael Braun 78079fc552 Merge remote-tracking branch 'source/master' into remove-constructor-wrapper-classes 2018-06-05 18:48:55 -04:00
Noble Paul f9d807af75 SOLR-12387: fixing a test failure 2018-06-05 23:14:11 +10:00
Noble Paul add77d2725 SOLR-12444: Updating a cluster policy fails 2018-06-05 22:29:06 +10:00
Andrzej Bialecki 2ef3d07561 SOLR-11911: Fix a number of synchronization issues in the simulator. Enable this test for now. 2018-06-04 14:20:19 +02:00
Michael Braun fb6574100e LUCENE-8345 - add wrapper class constructors to forbiddenapis 2018-06-03 15:40:50 -04:00
Noble Paul 12269abe34 SOLR-12387: cluster-wide defaults for numShards, nrtReplicas, tlogReplicas, pullReplicas
SOLR-12389: support deeply nested json objects in clusterprops.json
2018-06-01 00:50:52 +10:00
Cao Manh Dat 6084da559c SOLR-12338: Replay buffering tlog in parallel 2018-05-30 11:05:48 +07:00
Andrzej Bialecki 6bbce38b77 SOLR-11779: Basic long-term collection of aggregated metrics. 2018-05-29 10:35:39 +02:00
Joel 11cfb86489 SOLR-12401: Add getValue() and setValue() Stream Evaluators 2018-05-28 13:29:26 -04:00
Noble Paul 18ad8d137a SOLR-12294: update processors loaded from runtime jars fail to load if they are specified in an update processor chain 2018-05-26 00:25:39 +10:00
Steve Rowe 54a63d0d0c SOLR-12388: Enable a strict ZooKeeper-connected search request mode, in which search requests will fail when the coordinating node cant communicate with ZooKeeper, by setting the "shards.tolerant" param to "requireZkConnected" 2018-05-25 01:03:54 -04:00
Noble Paul d32ce81eab SOLR-12358: Autoscaling suggestions fail randomly with sorting 2018-05-24 01:26:50 +10:00
Shalin Shekhar Mangar 5a47ed4209 SOLR-11880: Avoid creating new exceptions for every request made to MDCAwareThreadPoolExecutor by distributed search and update operations 2018-05-22 19:26:42 +05:30
Andrzej Bialecki 93926e9c83 Fix API change and add javadoc. 2018-05-21 12:26:31 +02:00
Andrzej Bialecki 7c8fdcd1b6 Fix test that assumed the absence of thread context switch between calls. 2018-05-21 12:12:14 +02:00
Dennis Gove f506bc9cb7 SOLR-12355: Fixes hash conflict in HashJoinStream and OuterHashJoinStream 2018-05-18 17:14:39 -04:00
Christine Poerschke 8d99d32785 SOLR-12036: add @since javadoc 2018-05-18 19:55:57 +01:00
David Smiley c3d28a5b0f SOLR-12258: A V2 request referencing a collection or alias may fail to resolve it if it was just recently created.
Now we sync with ZooKeeper and try one more time.  V1 partially did this but only for aliases; now it does both.
2018-05-08 15:10:07 -04:00
David Smiley 08ee037ff8 SOLR-12308: LISTALIASES is now assured to return an up-to-date response
* MiniSolrCloudCluster.deleteAllCollections will now first delete aliases
* Minor refactorings to AliasesManager, AliasIntegrationTest, CreateRoutedAliasTest
2018-05-07 22:17:30 -04:00
Erick Erickson 89fc02a3b0 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-05-04 22:30:18 -07:00
Joel Bernstein 2c487947e8 SOLR-11734: Add ones and zeros Stream Evaluators 2018-04-27 13:44:12 -04:00
Joel Bernstein bea6f42105 SOLR-12273: Create Stream Evaluators for distance measures 2018-04-25 21:38:12 -04:00
Joel Bernstein c5a1738151 SOLR-12266: Add discrete Fourier transform Stream Evaluators 2018-04-24 21:35:19 -04:00
Andrzej Bialecki 0d969ab85d SOLR-11833: Allow searchRate trigger to delete replicas. 2018-04-23 22:19:01 +02:00
David Smiley 1409ab8f84 SOLR-11914: Deprecated some SolrParams methods.
* toSolrParams(nl) moved to a NamedList method, which is more natural.
2018-04-23 13:26:49 -04:00
Chris Hostetter 4e0e8e979b SOLR-9304: Fix Solr's HTTP handling to respect '-Dsolr.ssl.checkPeerName=false' aka SOLR_SSL_CHECK_PEER_NAME 2018-04-22 13:38:37 -07:00
David Smiley 8f296d0ccf SOLR-12256: AliasesManager.update() should call ZooKeeper.sync()
* SetAliasPropCmd now calls AliasesManager.update() first.
* SetAliasPropCmd now more efficiently updates multiple values.
* Tests: Commented out BadApple annotations on alias related stuff.
2018-04-20 16:22:16 -04:00
Cassandra Targett d08e62d598 SOLR-11646: Add v2 APIs for Config API; change "ConfigSet" to "configset" in docs & specs to match community spelling 2018-04-20 14:28:31 -05:00
Joel Bernstein f0d1e11796 SOLR-12159: Add memset Stream Evaluator 2018-04-20 11:11:48 -04:00
Shalin Shekhar Mangar 86b34fe0fd SOLR-11252: Fix minor compiler and intellij warnings in autoscaling policy framework 2018-04-20 20:08:37 +05:30
Mikhail Khludnev 507c439558 SOLR-12187: fix precommit 2018-04-18 12:43:25 +03:00
Cao Manh Dat 1d2441441b SOLR-12187: ZkStateReader.Notification thread should only catch Exception 2018-04-18 08:40:06 +07:00
Houston Putman ae0190b696 SOLR-11924: Added CloudCollectionsListener to watch the list of collections in a cloud. This closes #313 2018-04-17 18:57:04 -04:00
Cao Manh Dat 09db13f4f4 SOLR-12187: Replica should watch clusterstate and unload itself if its entry is removed 2018-04-17 20:16:31 +07:00
Joel Bernstein 487daab629 SOLR-12221: Add valueAt Stream Evaluator 2018-04-13 13:31:51 -04:00
David Smiley 9a149ad7e7 SOLR-11913: SolrParams now implements Iterable<Map.Entry<String,String[]>>
and has stream()
2018-04-13 12:05:23 -04:00
Erick Erickson 0014f3af88 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-04-12 17:58:32 -07:00
Tomas Fernandez Lobbe 8927d469cb SOLR-11982: Add support for indicating preferred replica types for queries 2018-04-11 16:23:00 -07:00
Andrzej Bialecki 376f6c4946 SOLR-12181: Add trigger based on document count / index size. 2018-04-11 15:38:54 +02:00
Christine Poerschke e8f862ea44 SOLR-12036: Factor out DefaultStreamFactory solrj class. 2018-04-10 20:45:58 +01:00
Joel Bernstein 9ebe11f1d9 SOLR-12158: Allow the monteCarlo Stream Evaluator to support variables 2018-04-10 12:36:22 -04:00
Joel Bernstein 1d8c58eb6d SOLR-12198: Fix precommit 2018-04-09 21:41:17 -04:00
Joel Bernstein 0e4605cc45 SOLR-12198: Stream Evaluators should not copy matrices needlessly 2018-04-09 21:24:55 -04:00
Joel Bernstein 4137f320aa SOLR-12183: Fix precommit 2018-04-05 14:00:08 -04:00
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