Re: [MarkLogic Dev General] Replicas not getting reindexed

2016-04-25 Thread Thomas, Elroy E
In a database replication setup, it is necessary to apply index changes on the replica first and then apply them on the master. You will need to do a forced re-indexing on the master to get the replica into a consistent state with the index changes. See: http://docs.marklogic.com/guide/database-

[MarkLogic Dev General] Packaging xQuery Code

2016-09-19 Thread Thomas, Elroy E
Hello, We would like to be able to package our xquery framework code in such a way that it is executable by whoever receives it, but it is not readable. Is there a way to do that? Gene Thomas (Elroy) AIS EIE MLCoE +1 619-207-1058 mobile +1 619-947-6507 home This e-mail may contain confidential

[MarkLogic Dev General] Scheduled Task to run batch file.

2015-04-13 Thread Thomas, Elroy E (CGI Federal)
I see linux shell scripts (.sh) have a mimetype in MarkLogic 7, but I don't see one for windows batch files (.bat). I am testing being able to run a shell script weekly to stop and start a MarkLogic plugin for New Relic. I am testing the process on my windows laptop and plan to implement it in o

Re: [MarkLogic Dev General] Scheduled Task to run batch file.

2015-04-13 Thread Thomas, Elroy E (CGI Federal)
ture/Linkedin_HintTech.png] <http://www.linkedin.com/company/HintTech> On 13 April 2015 at 20:40, Thomas, Elroy E (CGI Federal) mailto:elroy.tho...@cgifederal.com>> wrote: I see linux shell scripts (.sh) have a mimetype in MarkLogic 7, but I don’t see one for windows batch files (.bat). I am t

Re: [MarkLogic Dev General] batch delete

2015-07-10 Thread Thomas, Elroy E (CGI Federal)
You could write an xquery script to get the list of databases/forests you wanted to delete And then execute a series of admin:forest-delete commands after you have issued admin:database-detach-forest commands for each of them. You get the list of databases you want to delete using admin:databa

Re: [MarkLogic Dev General] batch delete

2015-07-10 Thread Thomas, Elroy E (CGI Federal)
boun...@developer.marklogic.com] On Behalf Of Thomas, Elroy E (CGI Federal) Sent: Friday, July 10, 2015 12:17 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] batch delete You could write an xquery script to get the list of databases/forests you wanted to delete And then execu