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
