Hi -

I think you want to deploy your Database changes first
gradle mlDeployDatabases

There are a number of tasks to get as fine grained as you want for the task.

In my limited experience, I've also just set the reindexing flag to true in the 
database configuration, which starts reindexing as soon as the changes are 
deployed.

From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Monday, December 11, 2017 8:16 AM
To: [email protected]
Subject: [MarkLogic Dev General] gradle set up issue with comand line


Hi All,



I am doing set up of marklogic using gradle.I followed theses steps

  *   created build .gradle file as

    plugins {
          id "net.saliman.properties" version "1.4.6"
          id "com.marklogic.ml-gradle" version "2.7.3"
        }


  *   Now use ml command mlNew and created gradle .properties files as using 
command line as below

        mlAppName=test-gradle-file
        mlHost=localhost
        mlUsername=admin
       mlPassword=admin
       mlRestPort=9050


  *   Executed gradle mlDeploy command  it successfully  created 
database,forest,app server.
  *   Now i want to execute mlReindexDatabase so i change database file and add 
few index in it.
  *   Excuted gradle mlReindexDatabase -PdbName=test-gradle-file-content  even 
though i am getting build successful message but these index not reflected in 
my database.
  *   Do i need to execute  mlDeploy each time to any configuration changes or 
i am missing any step.


Thanks,
Vikas Singh






This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to