OK great thanks for the info. So if I export a configuration is there an API to import it somewhere?
Thanks Dan From: [email protected] [mailto:[email protected]] On Behalf Of Geert Josten Sent: 15 February 2013 12:34 To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Noob help with setting db options Hi Dan, It might be worth looking into the Configuration Manager that is running at http://localhost:8002/nav/. It allows you to export and import configurations to and from XML, and you can also post exported configurations with an http call from java. It should be possible to use this complementary to what you are already using, but it might even replace it all together. There are also quite a number of other solutions that help with deployment. You can find a number of them on the DMC: http://developer.marklogic.com/code Kind regards, Geert Van: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] Namens Gibbons, Daniel (RBI-UK) Verzonden: vrijdag 15 februari 2013 11:03 Aan: [email protected]<mailto:[email protected]> Onderwerp: [MarkLogic Dev General] Noob help with setting db options Hello, I'm just starting to learn MarkLogic and my interest is from an automation perspective so I just need to do something basic at the moment. Based on some existing scripts that someone else wrote I can auto create/attach a db and forest which is great, what I need to do next is simply set some database settings such as "fast element word searches", "three character searches" etc. We have a custom console application that parses a folder of query delta scripts and sequentially executes each one if it hasn't been run already. It's calling: Request<http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://MarklogicXcc:5.0.3.0:31d294957ea8eebb/Marklogic.Xcc.Request> request = session.NewAdhocQuery<http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://MarklogicXcc:5.0.3.0:31d294957ea8eebb/Marklogic.Xcc.Session/NewAdhocQuery(String):Marklogic.Xcc.AdhocQuery>(xqueryToExcecute); My question is what would be the best way for me to script setting of the db settings? If I go with the delta queries I found database-set-feature but it requires specifying the database which would normally be fine but I'd like to somehow parse that in rather than hardcoding. I've also been looking at packages but not sure if I could package up the required settings or how to automate that bit. Or maybe there's another way? Any suggestions would be great! Thanks Dan ===================== DISCLAIMER ====================== This message is intended only for the use of the person(s) ("Intended Recipient") to whom it is addressed. It may contain information which is privileged and confidential. Accordingly any dissemination, distribution, copying or other use of this message or any of its content by any person other than the Intended Recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are not the Intended Recipient, please contact the sender as soon as possible. Reed Business Information Limited. Registered Office: Quadrant House, The Quadrant, Sutton, Surrey, SM2 5AS, UK. Registered in England under Company No. 151537 =======================================================
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
