Re: [MarkLogic Dev General] SSL-Certificate

2014-03-26 Thread Marc Young
gt; http://docs.marklogic.com/guide/admin-api/cluster#id_88294 > > -- Mike > > On 26 Mar 2014, at 16:53 , Marc Young <3vilpeng...@gmail.com> wrote: > > > When joining a cluster, the new node presents an ssl-certificate in the > HTTP requests. I'm looking at automati

[MarkLogic Dev General] SSL-Certificate

2014-03-26 Thread Marc Young
When joining a cluster, the new node presents an ssl-certificate in the HTTP requests. I'm looking at automating the cluster joining and need to be able to find this ssl-certificate before the MarkLogic installs. Reason being is we use Puppet, and puppet doesn't allow you to run commands in the mid

Re: [MarkLogic Dev General] Data redundancy and encryption at AWS

2014-03-14 Thread Marc Young
ight face an obligation to use disk encryption whether > it makes sense or not > > -- Mike > > On 13 Mar 2014, at 08:22 , Marc Young <3vilpeng...@gmail.com> wrote: > > > I'm curious what implementations others have made for data redundancy > (failover) fo

[MarkLogic Dev General] Data redundancy and encryption at AWS

2014-03-13 Thread Marc Young
I'm curious what implementations others have made for data redundancy (failover) for cloud implementations. I understand forest duplication and failover in the ML engine, but has anyone used this at AWS? We're using MarkLogic on a single node and the data is stored to a LUKS encrypted mounted parti

Re: [MarkLogic Dev General] how to automate the loading of xml files to Marklogic database

2014-01-29 Thread Marc Young
Task scheduler and/or cron job. On Wed, Jan 29, 2014 at 8:58 PM, Christopher Hamlin wrote: > > Marklogic has a task scheduler: > > http://docs.marklogic.com/admin-help/scheduled-task > > > > ___ > General mailing list > General@developer.marklogic.com

Re: [MarkLogic Dev General] error message (err:XPTY0004) arg1 is not of type xs:string?

2014-01-29 Thread Marc Young
he sequence. Index-of will return either an index of a match, or an empty sequence, so you can use the return value for a true/false match. On Wed, Jan 29, 2014 at 2:23 PM, Marc Young <3vilpeng...@gmail.com> wrote: > xquery version "1.0-ml"; > declare namespace html = &qu

Re: [MarkLogic Dev General] error message (err:XPTY0004) arg1 is not of type xs:string?

2014-01-29 Thread Marc Young
xquery version "1.0-ml"; declare namespace html = "http://www.w3.org/1999/xhtml";; declare variable $file-types := ("dog","cat","foo","bar"); let $file-type := ("cat") return if (fn:index-of($file-types, $file-type)) then ( ("Item is in the sequence", $file-types, $file-type) ) else (

Re: [MarkLogic Dev General] ML7 excludes packaging library?

2014-01-15 Thread Marc Young
If only there were a way to get the MarkLogic folks to notice =) On Wed, Jan 15, 2014 at 4:09 PM, Will Thompson wrote: > Ah, found it. Thanks Mark. Someone should fix those docs :) > > -W > > > On Jan 15, 2014, at 3:12 PM, Marc Young <3vilpeng...@gmail.com> wrote: &g

Re: [MarkLogic Dev General] ML7 excludes packaging library?

2014-01-15 Thread Marc Young
It's under /MarkLogic/manage/package i think. If you're using linux, try 'find /opt/MarkLogic -type f -name package.xqy'. The documentation for ML7 is wrong. It's under a new namespace, and takes a parameter, package:create('somename'), then package:install('somename'). The documentation is unfortu

[MarkLogic Dev General] Filesystem caching

2012-12-11 Thread Marc Young
It seems that in MarkLogic 6 (I'm running 6.0.1-1), the server is caching filesystem files. Is there a way to disable this? I just spent a good amount of time fixing syntax errors for a 500 error that kept complaining about lines that no longer existed. The only way to get it to see my changes was

Re: [MarkLogic Dev General] results that match a constraint X times(not just a single match)

2012-10-15 Thread Marc Young
the search and the unscaled-log db setting, > but this doesn't seem to work as I (probably wrongly) expect. > > > > -Original Message- > From: general-boun...@developer.marklogic.com on behalf of Marc Young > Sent: Fri 10/12/2012 20:24 > To: general@developer.marklog

[MarkLogic Dev General] Searching based on a relationship

2012-10-15 Thread Marc Young
Let's assume I have two documents: the dog barked the dog barked the dog barked the dog barked the dog barked a cat meowed Let's say i want

[MarkLogic Dev General] results that match a constraint X times (not just a single match)

2012-10-12 Thread Marc Young
Let's say i have 2 documents: the dog the cat the human and the dog foo bar Now for Marklogic, i want to search them for 'the' so I might run: search:search( 'a:the', http://marklogic.com/appservices/search";> case-insensitive