You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To try this example out, first deploy the application:
15
+
16
+
gradle mlDeploy
17
+
18
+
This will result in 3 forests - one "default" forest with no partition assigned, and then two forests based on
19
+
partitions - "myDate-2011" and "myDate-2012". Note also that the "mlAddHostNameTokens" property is set so that the
20
+
partition files can refer to a host name dynamically via the "mlHostName1" token as opposed to being hardcoded to a
21
+
specific host name. See these [ml-app-deployer docs](https://github.com/marklogic-community/ml-app-deployer/wiki/Scheduled-Tasks#referring-to-host-names-in-scheduled-task-files) for more information.
22
+
23
+
You can then insert documents via qconsole (or any other ML interface) to test out the range assignments - e.g.
description: "Take a partition online. Use -Pdatabase=dbName and -Ppartition=partitionName to specify the database and partition names.")
254
+
243
255
String restApisGroup ="ml-gradle REST API"
244
256
project.task("mlDeployRestApis", type: DeployRestApisTask, group: restApisGroup, description: "Deploy the REST API instances defined by a resource file or the mlRestPort/mlTestRestPort properties")
0 commit comments