Re: [MarkLogic Dev General] custom module for data hub not loading

2017-12-19 Thread Dave Cassel
a hub. To create a data hub project, please see the Creating a Data Hub Project<https://marklogic-community.github.io/marklogic-data-hub/project/> part of the documentation. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Manager/Senior Staff Engineer MarkLogic Labs MarkLogic

Re: [MarkLogic Dev General] Ensuring That Tail Recursion Optimization Will Be Applied

2017-11-12 Thread Dave Cassel
The documentation refers to it as "tail call optimization." See http://docs.marklogic.com/guide/xquery/programming#id_93922. (I agree that the phrase "tail recursion" ought to appear in the docs.) -- Dave Cassel, @dmcassel <https://twitter.com/dmcassel> Manager/Senio

Re: [MarkLogic Dev General] XQuery in async multidoc operations

2017-09-27 Thread Dave Cassel
transaction? -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Shmennen mailto:shmen...@yahoo.com&

[MarkLogic Dev General] Complimentary Live Training: MarkLogic Security Workshops

2017-09-20 Thread Dave Cassel
r high performance If you have any questions or need further details, you can email us at eve...@marklogic.com<mailto:eve...@marklogic.com>. We hope you'll join us at this popular workshop, first offered at MarkLogic World 2017! Dave. -- Dave Cassel, @dmcassel<https://twi

Re: [MarkLogic Dev General] Community Newsletter

2017-09-01 Thread Dave Cassel
Good catch, and thanks for pointing it out. Fixed. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on

[MarkLogic Dev General] Community Newsletter

2017-09-01 Thread Dave Cassel
per.marklogic.com/recipe/server-field-cache> (Justin Donnelly) * Get permissions with role names<http://developer.marklogic.com/recipe/get-permissions-with-role-names> (Paxton Hare) * Anchor Dates for Finding Recent Documents<http://developer.marklogic.com/blog/anchor-date-for-sc

Re: [MarkLogic Dev General] Noob query question..

2017-08-25 Thread Dave Cassel
… which I meant to include a link for: http://developer.marklogic.com/blog/group-by-the-marklogic-way -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:

Re: [MarkLogic Dev General] Noob query question..

2017-08-25 Thread Dave Cassel
Yes, Optic assumes ML9+. We do have a MarkLogic 8-friendly blog post showing how to do group-by. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:

Re: [MarkLogic Dev General] Noob query question..

2017-08-24 Thread Dave Cassel
Here's a recipe for an Optic-based group-by: http://developer.marklogic.com/recipe/group-by-sum. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: ma

Re: [MarkLogic Dev General] How to pass variable to limit or skip option in cts:uris ?

2017-08-24 Thread Dave Cassel
You can do it by concatenating the string that gets passed: let $skip := 10 return cts:uris("", ("limit=10", "skip=" || $skip), cts:collection-query("sample-docs")) -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager

Re: [MarkLogic Dev General] Segmentation fault when start MarkLogic

2017-08-24 Thread Dave Cassel
Was this CentOS 6 or 7? Can you check whether you have the MarkLogic download that corresponds to the correct version? -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogi

Re: [MarkLogic Dev General] Roxy Deployment Error

2017-08-23 Thread Dave Cassel
Is it possible something else has changed? The firewall on the target server, or the version of Ruby you're running? I'm trying to reproduce. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.m

Re: [MarkLogic Dev General] Where is General Documentation for the Task Server App?

2017-08-23 Thread Dave Cassel
k to see if anything interesting was logged just before. (Perhaps you've already done that.) -- Dave Cassel, @dmcassel <https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation <http://www.marklogic.com/> http://developer.marklogic.com/

Re: [MarkLogic Dev General] Roxy Deployment Error

2017-08-22 Thread Dave Cassel
; didn't get updated when MarkLogic did. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of

Re: [MarkLogic Dev General] General Digest, Vol 156, Issue 31

2017-08-15 Thread Dave Cassel
marklogic.com> -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Robert Warthen mailto:rwart...

Re: [MarkLogic Dev General] Ops Director tech preview

2017-08-10 Thread Dave Cassel
Additional bit of info: if you'd like to hear more about Ops Director and what it's for, tune in for the webinar next Wednesday: http://www.marklogic.com/webinars/ml9-cloud-ops-director-features-whats-new-ml9/. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical C

[MarkLogic Dev General] Ops Director tech preview

2017-08-10 Thread Dave Cassel
a>. You'll be able to submit feedback on that site as well. We look forward to hearing from you about this new tool! Dave. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/&g

Re: [MarkLogic Dev General] Failure Trying to Restore ML 4.2 Backup to ML 8

2017-07-27 Thread Dave Cassel
tion/procedures#id_49978) and that appears to be a supported update. (See the steps in the Installation Guide.) Based on that, it looks like the thing to do is upgrade from 4.2 to 7.0-6.12, then upgrade from there to 8.0-6.7. -- Dave Cassel, @dmcassel <https://twitter.com/dmcassel> Technic

Re: [MarkLogic Dev General] Issue with Appservices after ML upgrade to ML9

2017-07-23 Thread Dave Cassel
/Appservices was deprecated in ML8 and removed in ML9. See the Release Notes: http://docs.marklogic.com/guide/relnotes/chap4#id_54314. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.c

[MarkLogic Dev General] Community Newsletter

2017-07-07 Thread Dave Cassel
749/> As always, if you'd like one of these events to come to a location near you, let me know. In addition to the live events, check out the list of upcoming webinars on MarkLogic 9: http://www.marklogic.com/webinars/ Dave. -- Dave Cassel, @dmcassel<https://twitter.com

Re: [MarkLogic Dev General] Query Console error post upgrade 8 > 9

2017-06-22 Thread Dave Cassel
There's an article in the Support team's Knowledge Base about this (https://help.marklogic.com/Knowledgebase/Article/View/478/0/query-console-security-badrequest-invalid-csrf-token-error), but it sounds like you've already followed their recommendations. Anyone else have ideas?

[MarkLogic Dev General] Migration from github.com/marklogic to github.com/marklogic-community

2017-06-20 Thread Dave Cassel
s transferred, here's some information from GitHub: https://help.github.com/articles/about-repository-transfers/#whats-transferred-with-a-repository Dave. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/

Re: [MarkLogic Dev General] Announcement: IntelliJ XQuery plugin with live MarkLogic debugging

2017-06-16 Thread Dave Cassel
Congrats on getting the early version out, Ron! -- Dave Cassel, @dmcassel <https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation <http://www.marklogic.com/> http://developer.marklogic.com/ On 6/15/17, 4:52 PM, "general-boun...@developer.marklogic

Re: [MarkLogic Dev General] Videos from ML World 2017

2017-06-15 Thread Dave Cassel
I'm told videos will be on the Resources page of MarkLogic.com<http://marklogic.com/> by end of month. Those who registered for MarkLogic World will get an email when they are posted. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic

Re: [MarkLogic Dev General] RunDMC - Doc Server - 500 Internal Server Error

2017-06-11 Thread Dave Cassel
RunDMC is set up to use the filesystem rather than a modules database. The most likely problem is that you need to change the path to the code on the filesystem. In deploy/build.properties, change "modules-root" to a full path to wherever you have the code. -- Dave Cassel, @dmca

Re: [MarkLogic Dev General] Please remove me

2017-06-01 Thread Dave Cassel
As a reminder to all list members, you can manage your subscription, including unsubscribing, by going to http://developer.marklogic.com/mailman/listinfo/general. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.mark

[MarkLogic Dev General] Community Newsletter

2017-06-01 Thread Dave Cassel
required. Contact aaa...@loyalsource.com. Recruiters — if you'd like me to include your MarkLogic-related openings in this newsletter, send them to me before the first of each month. Dave. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corpora

Re: [MarkLogic Dev General] Processing Large Number of Docs to Get Statistics

2017-05-23 Thread Dave Cassel
TDE is Template Driven Extraction. Short version: you define templates, matching data goes straight into the indexes without you having to modify your document structure. Tutorial: http://developer.marklogic.com/learn/template-driven-extraction -- Dave Cassel, @dmcassel <https://twitter.

Re: [MarkLogic Dev General] Docker & Amazon Cloud Support / Marklogic 9

2017-05-17 Thread Dave Cassel
I asked about Docker — Docker is not currently a supported environment, though we're happy to collect feedback about use cases. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://develo

Re: [MarkLogic Dev General] Docker & Amazon Cloud Support / Marklogic 9

2017-05-16 Thread Dave Cassel
AMIs are in the approval process and should be available soon. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com&

Re: [MarkLogic Dev General] MarkLogic 9 Redaction

2017-05-10 Thread Dave Cassel
Thanks Geert -- I'll pass that idea along to the documentation team. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.ma

Re: [MarkLogic Dev General] MarkLogic 9 Redaction

2017-05-09 Thread Dave Cassel
Hi Tulasi, I asked about this and found that the new Redaction feature isn't for use with replication, but Flexrep<http://docs.marklogic.com/guide/flexrep/rep_intro> does allow for redaction and was built to cover such cases. Dave. -- Dave Cassel, @dmcassel<https://twitte

Re: [MarkLogic Dev General] Announcing MarkLogic 9

2017-05-09 Thread Dave Cassel
-like offering should talk to their friendly neighborhood account execs, or I can pass your interest along to the Product Management team. Dave. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklo

[MarkLogic Dev General] Announcing MarkLogic 9

2017-05-09 Thread Dave Cassel
te-Driven Extraction<http://developer.marklogic.com/learn/template-driven-extraction> * Data Movement SDK<http://developer.marklogic.com/learn/data-movement-sdk> -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporati

[MarkLogic Dev General] Community Newsletter

2017-05-01 Thread Dave Cassel
ork-karl-erisman> * Justin Makeig has an interesting take on document locking while working with MarkLogic Server-side JavaScript<https://gist.github.com/jmakeig/bb8fab5c7cb0e61f1253d947b98ff563> -- Dave Cassel, @dmcassel<https://twitter.com/dmca

Re: [MarkLogic Dev General] Regarding MarkLogic

2017-04-24 Thread Dave Cassel
Siva, give Scott Parnell's A goal without a plan is just a wish<http://developer.marklogic.com/blog/working-with-xdmp-plan> blog post. He talks about how to use xdmp:plan to address this question. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community

Re: [MarkLogic Dev General] Updating graph with Curl

2017-04-12 Thread Dave Cassel
Looks to me like you could either split your input into multiple requests, or use MLCP and have it do the same thing. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogi

Re: [MarkLogic Dev General] Updating graph with Curl

2017-04-12 Thread Dave Cassel
With a 500 Internal Server Error, you should have something in the ErrorLog. Can you send what you find there? I've never posted directly to /v1/graphs; I've always used mlcp to load triples: http://docs.marklogic.com/guide/mlcp/import#id_32771. You could try that as an alternative

Re: [MarkLogic Dev General] MarkLogic unexpected REST authentication (digest)

2017-04-12 Thread Dave Cassel
Could you send the output of your script? -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: Nikunj Vekariya mailto:nikunjdvekar...@yahoo.com>> Reply-T

Re: [MarkLogic Dev General] MarkLogic unexpected REST authentication (digest)

2017-04-12 Thread Dave Cassel
Does it return a 401 and then try again and succeed? That's actually normal operation for a digest request. See Example with Explanation<https://en.wikipedia.org/wiki/Digest_access_authentication#Example_with_explanation> on the Digest access authentication wikipedia page. --

[MarkLogic Dev General] Community Newsletter

2017-04-03 Thread Dave Cassel
the Publishing and Media Industries<http://www.marklogic.com/events/powering-content-publishing-media-industries/> MLU In case you missed their announcement, MarkLogic University is now offering half-day, hands-on workshops on Performance and on Data Modeling. This format is a great way to ge

Re: [MarkLogic Dev General] mlproj, yet another project manager for MarkLogic

2017-03-28 Thread Dave Cassel
different approach then I support it. My "Community Manager" hat takes precedence over my "Roxy Maintainer" hat. :) I've seen growing support for ml-gradle, based largely on its use of the Management API, and I think it's a great tool. -- Dave Cassel, @dmcassel&l

Re: [MarkLogic Dev General] mlproj, yet another project manager for MarkLogic

2017-03-27 Thread Dave Cassel
Hi Florent, Could you comment on how mlproj is different from mlsound, which is also a Management API-based deployment tool for the Node.js environment? Do you use Management API payloads for your on-disk structure? Dave. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Tec

Re: [MarkLogic Dev General] Element Range Index query not working

2017-03-16 Thread Dave Cassel
http://developer.marklogic.com/mailman/listinfo/general -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>>

[MarkLogic Dev General] MarkLogic Early Access

2017-03-14 Thread Dave Cassel
or Early Access, you can download MarkLogic 9 Early Access 4, learn about the new features, and access the documentation and forums. Check it out! Dave. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://

Re: [MarkLogic Dev General] A newbie question

2017-03-10 Thread Dave Cassel
k) execute permissions on the directory path leading to the file. Bring up Query Console (http://localhost:8000) and try this: xdmp:document-get("/path/to/hello.xqy") If that returns the file successfully, then I think you should be good with permissions. -- Dave Cassel, @dmcassel<https

[MarkLogic Dev General] Community Newsletter

2017-03-01 Thread Dave Cassel
gy/events/235981853/> * Chicago, April 5: Data Hubs vs. Data Lakes - There's a difference! Which one is right for you?<http://info.marklogic.com/data-hub-vs-lake-apr5-reg.html> Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https:

Re: [MarkLogic Dev General] Best way to copy database

2017-02-21 Thread Dave Cassel
There is an "mlcp copy" command that should work better for you, including being faster than hitting the filesystem in between. http://docs.marklogic.com/guide/mlcp/copy -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Commu

Re: [MarkLogic Dev General] Code typo in guide

2017-02-06 Thread Dave Cassel
Thanks, Florent. I'll pass this along to the Docs team. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ Fro

Re: [MarkLogic Dev General] unsubscribe

2017-02-06 Thread Dave Cassel
You can manage your subscription at http://developer.marklogic.com/mailman/listinfo/general. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.mar

[MarkLogic Dev General] Community Newsletter

2017-02-01 Thread Dave Cassel
is year — hope to see you there! https://world.marklogic.com/ MLU MarkLogic University continues their On Demand series about Security<http://mlu.marklogic.com/ondemand/index.xqy?q=Series%3ASecurity> with a video on External Authentication<http://mlu.marklogic.com/ondemand/5b6d70f4&

Re: [MarkLogic Dev General] General Digest, Vol 151, Issue 20

2017-01-30 Thread Dave Cassel
Hi Pragya, MarkLogic 5 is well past its end-of-life date. Currently supported versions are MarkLogic 7 (end-of-life planned for August 2017) and MarkLogic 8. I encourage you to upgrade to MarkLogic 8. https://help.marklogic.com/ Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel

Re: [MarkLogic Dev General] How to get the number of records ingested by a MLCP hit

2017-01-12 Thread Dave Cassel
An additional thought for the benefit of the list archive: in MarkLogic 9, you should be able to get this functionality through the Data Movement SDK (currently still in development). -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Commu

Re: [MarkLogic Dev General] Getting element/attribute names and their usage frequency using Rest API

2017-01-05 Thread Dave Cassel
If you use the "raw" option for the transform-results part of your search options, you'll get back the entire document. http://docs.marklogic.com/guide/rest-dev/appendixb#id_29258 -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel>

[MarkLogic Dev General] Community Newsletter

2017-01-03 Thread Dave Cassel
ased an On Demand video about Amps<http://mlu.marklogic.com/ondemand/7799f598>, the sixth in the Security series<http://mlu.marklogic.com/ondemand/index.xqy?q=Series%3ASecurity>. Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Ma

Re: [MarkLogic Dev General] Remove first page of pdf

2016-12-13 Thread Dave Cassel
You can run the PDF through either xdmp:pdf-convert() or xdmp:document-filter(), then store whatever part of it you want. MarkLogic doesn't have any way to specifically remove the first page automatically. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcas

[MarkLogic Dev General] Community Newsletter

2016-12-02 Thread Dave Cassel
to lots of other projects, too — you can see them on GitHub<https://github.com/search?o=desc&q=marklogic&ref=searchresults&s=updated&type=Repositories&utf8=%E2%9C%93>. MarkLogic University MLU<https://mlu.marklogic.com/registration/> updated the Semantics course to ha

Re: [MarkLogic Dev General] Roxy request not getting properly redirected.

2016-11-28 Thread Dave Cassel
main module. I see that you had it pointing to "/app/restful-router.xqy". I don't know what that one does, but it doesn't need to do much. You might want to just copy the src/roxy/query-router.xqy code into there and see how that works (better not to directly point to code unde

Re: [MarkLogic Dev General] epub - opf file to xml

2016-11-03 Thread Dave Cassel
s, including a link to download the original binary. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@dev

Re: [MarkLogic Dev General] epub - opf file to xml

2016-11-03 Thread Dave Cassel
Try running it through xdmp:document-filter. I'm not sure whether it works on that format, but if so, you should get content and metadata, which you can then store as XML or JSON. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical

Re: [MarkLogic Dev General] Community Newsletter

2016-11-01 Thread Dave Cassel
"… note that if you're using Roxy and you upgrade to MarkLogic 8.0-6, you'll want to upgrade to Roxy 8.0-6." By which I meant "you'll want to upgrade to Roxy 1.7.4." Oops. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmc

[MarkLogic Dev General] Community Newsletter

2016-11-01 Thread Dave Cassel
tch monitoring and alarms for MarkLogic Server DMC Content * A Security Model for Data Integration<http://developer.marklogic.com/blog/security-for-data-integration>, by Caio Milani — a preview of Element-Level Security coming in MarkLogic 9 * Use a Middle Tier with the REST API

[MarkLogic Dev General] Roxy version 1.7.4

2016-10-28 Thread Dave Cassel
pull requests from Richard Louapre, Richard Kennedy, Preston McGowan, Brad Mann, Mads Hanson, Gary Russo, Reese Dunn, Thijs van Ulden, tapuzzo-fsi, and jeet1212. (Hopefully I didn't miss anyone.) Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcas

[MarkLogic Dev General] Community Newsletter

2016-10-03 Thread Dave Cassel
e profiler output<https://help.marklogic.com/Knowledgebase/Article/View/48/0/how-do-i-read-and-interpret-qconsole-profile-output>. Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://w

Re: [MarkLogic Dev General] Search constrained by mime-type?

2016-09-07 Thread Dave Cassel
I think you'd need to write a custom constraint<http://docs.marklogic.com/guide/search-dev/search-api#id_49750> to do that. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http:

[MarkLogic Dev General] Community Newsletter

2016-09-01 Thread Dave Cassel
k> as a new committer. * Sanju Thomas wrote REST extensions<https://github.com/sanjuthomas/marklogic-dls-rest-extension> to cover Document Library Services<https://docs.marklogic.com/guide/app-dev/dls> Dave. -- Dave Cassel<http://dav

Re: [MarkLogic Dev General] #CGO#How to ingest data of selected columns from CSV using MLCP & how to define and use primary key to see the log data (failed data in terms of Bad file)

2016-08-31 Thread Dave Cassel
d. With an MLCP transform, you're working with an in-memory node. All your case "element(old_location)" section needs is "return ()". -- Your typeswitch will need to handle the root node, once you have one. -- Dave Cassel<http://davidcassel.net>, @dmcassel<

Re: [MarkLogic Dev General] #CGO#How to ingest data of selected columns from CSV using MLCP & how to define and use primary key to see the log data (failed data in terms of Bad file)

2016-08-31 Thread Dave Cassel
Good error handling can prevent this, but you may still need to account for not-fully-transformed documents. Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://dev

Re: [MarkLogic Dev General] #CGO#How to ingest data of selected columns from CSV using MLCP & how to define and use primary key to see the log data (failed data in terms of Bad file)

2016-08-31 Thread Dave Cassel
The code for your MLCP transform will receive an XML document. Your transform code will then do a recursive descent transformation (see link I provided earlier). When it gets to a field you don't want to include, return the empty sequence. -- Dave Cassel<http://davidcassel.net>

Re: [MarkLogic Dev General] #CGO#How to ingest data of selected columns from CSV using MLCP & how to define and use primary key to see the log data (failed data in terms of Bad file)

2016-08-29 Thread Dave Cassel
t> should help, too — you'll use that in your transform. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-bo

Re: [MarkLogic Dev General] Full time employment with TCS - Java Lead - Mclean, VA

2016-08-19 Thread Dave Cassel
ve to ban these all together, but it's important to keep the valuable content on the list high. Thanks, Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> ht

[MarkLogic Dev General] Community Newsletter

2016-08-01 Thread Dave Cassel
t;http://www.meetup.com/Peninsula-NoSQL-Meetup/events/232878246/> Let me know if you'd like one of these topics to come to a city near you. Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation&l

Re: [MarkLogic Dev General] Roxy uploads *js files as binary docs

2016-07-15 Thread Dave Cassel
et of UI JavaScript before committing. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:fgeor...@gmail.com>> on behalf

[MarkLogic Dev General] Community Newsletter

2016-07-05 Thread Dave Cassel
line assessments<https://mlu.marklogic.com/assessments/>? Test your knowledge to find out what courses would be most helpful. GitHub A new project makes it easier to find MarkLogic-related projects on GitHub: http://github-search.demo.marklogic.com/search. Explore by programming language, owne

Re: [MarkLogic Dev General] Customise and override content API's authentication and authorization

2016-06-23 Thread Dave Cassel
Hello Karthik, MarkLogic supports external authentication using LDAP and Kerberos. http://docs.marklogic.com/guide/security/external-auth#chapter. Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corp

[MarkLogic Dev General] Community Newsletter

2016-06-01 Thread Dave Cassel
tps://norman.walsh.name/2016/05/08/ob-ml-marklogic>. Mats Stellwall explores using Microsoft PowerBI with MarkLogic<http://nosqlbloggen.se/analys/bi-on-marklogic-microsoft-powerbi/>. MarkLogic University Did you know that MLU has a mobile app? That's a convenient way to check out On De

Re: [MarkLogic Dev General] sem.sparql: get bound placeholders in the result

2016-05-16 Thread Dave Cassel
rtin, I'll take care of unsubscribing you. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.m

Re: [MarkLogic Dev General] Community Newsletter

2016-05-03 Thread Dave Cassel
One correction -- you'll find Rob's Spring Boot project at https://github.com/rjrudin/slush-marklogic-spring-boot. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http:/

[MarkLogic Dev General] Community Newsletter

2016-05-02 Thread Dave Cassel
ic as a Triple Store and how the sample Geophoto search application takes advantage of MarkLogic’s ability to blend documents and semantics in search. Check them out at https://mlu.marklogic.com/ondemand. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Te

[MarkLogic Dev General] Reminder: Managing your subscription

2016-05-02 Thread Dave Cassel
As a reminder to all, the footer to traffic on this list includes the following notice: Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general >From there, you can unsubscribe, change to digest, or otherwise manage your >subscription. -- Dave Casse

Re: [MarkLogic Dev General] start and end time xquery

2016-04-27 Thread Dave Cassel
Add two months: fn:current-dateTime() + xs:yearMonthDuration("P2M") Add two minutes: fn:current-dateTime() + xs:dayTimeDuration("PT2M") dayTimeDuration spec: http://www.datypic.com/sc/xsd/t-xsd_dayTimeDuration.html -- Dave Cassel<http://davidcassel.net>, @dmcassel<

Re: [MarkLogic Dev General] Roxy: src/tests.sjs is ignored

2016-04-05 Thread Dave Cassel
de -h"), default.properties will be overwritten, but build.properties will not be. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/

[MarkLogic Dev General] Community Newsletter

2016-04-01 Thread Dave Cassel
eveloper's Workshop: Make Your Data Integration Dream a Reality<http://www.meetup.com/Twin-Cities-Enterprise-NoSQL/events/230018497/> Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<htt

Re: [MarkLogic Dev General] How to use REST API for Marklogic server configuration

2016-03-30 Thread Dave Cassel
You can create a REST API app server, content database and modules database using http://docs.marklogic.com/7.0/REST/POST/v1/rest-apis. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://ww

Re: [MarkLogic Dev General] UNSUBSCRIBE

2016-03-22 Thread Dave Cassel
As a reminder for others, the URL for subscription management is included in the footer of each message on this list: http://developer.marklogic.com/mailman/listinfo/general. Luke, I just unsubscribed this address for you. Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel

Re: [MarkLogic Dev General] Roxy bootstrap error XDMP-NOSUCHDB

2016-03-19 Thread Dave Cassel
Don't know why you'd be seeing that. Could you run bootstrap again with the "-v" flag? How current is the Roxy code (see version.txt in project's root directory)? Dev or master branch? What does ErrorLog.txt have to say? -- Dave Cassel<http://davidcassel.net>

Re: [MarkLogic Dev General] Seeing an integer entry at the begining and end of the file

2016-03-08 Thread Dave Cassel
and how current the Roxy code is (see version.txt in your project's base directory). https://github.com/marklogic/roxy/issues Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corpor

[MarkLogic Dev General] Community Newsletter

2016-03-01 Thread Dave Cassel
ment transactions and how to perform a multi-statement transaction. * Facets with JSearch * Learn what facets are and how to create them in JSearch. * Values, Tuples and Aggregation with JSearch Also check out MLU's first self-paced course: MarkLogic Fundamentals<http

Re: [MarkLogic Dev General] [1.0-ml] XDMP-UNDFUN: (err:XPST0017) Undefined function temporal:axis-create()

2016-02-26 Thread Dave Cassel
ndex first, then the axis. You might find it helpful to re-read the Quick Start section of the Temporal Developer's Guide. http://docs.marklogic.com/guide/temporal/temporal-quick-start#chapter -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel>

Re: [MarkLogic Dev General] General Digest, Vol 140, Issue 72

2016-02-25 Thread Dave Cassel
x27;re not sure how to generate the wsse:UsernameToken/@wsu:Id attribute, correct? What source code have you tried for generating it? -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<h

Re: [MarkLogic Dev General] SOAP WSDL Authentication Header in ML7

2016-02-25 Thread Dave Cassel
having trouble generating the header you need? -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.ma

Re: [MarkLogic Dev General] Javascript coding help on ML 8

2016-02-24 Thread Dave Cassel
ctions where this is particularly important, consider leaving that code in XQuery and using it in JavaScript. You can call XQuery from JavaScript and JavaScript from XQuery. http://developer.marklogic.com/learn/sjs/working-together -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://tw

Re: [MarkLogic Dev General] URI pattern match function

2016-02-04 Thread Dave Cassel
I don't think so, but changing a URI pattern to a proper regex is pretty straightforward: let $str := '/foo/stuff/bar-none.xml' return fn:matches($str, '/foo/.*/bar-.*\.xml') => true -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/

Re: [MarkLogic Dev General] Regarding Time limit exceed issue

2016-02-03 Thread Dave Cassel
r. We would need more detail to have any idea why. What I would look for: are other simultaneous transactions requesting a lock on the same URI? If so, the request that throws the error is probably getting hung up waiting for others. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https

[MarkLogic Dev General] Community Newsletter

2016-02-01 Thread Dave Cassel
http://developer.marklogic.com/blog/i-is-for-isolation>" is a fantastic read to understand the I in ACID transaction. I also put together five reasons for techies to get to MarkLogic World<http://developer.marklogic.com/blog/mlw-2016>. Dave. -- Dave Cassel<http://davidcassel.net&

Re: [MarkLogic Dev General] ARM platform? Be a BIG

2016-01-27 Thread Dave Cassel
For cases where security matters at all, I'd encourage you to use the Node.js Client API from custom endpoints rather than proxying requests. (The slush-marklogic-node proxying approach is good for proof-of-concept projects.) -- Dave Cassel<http://davidcassel.net>, @dmcassel<https

Re: [MarkLogic Dev General] A way to detect CPF updates complete?

2016-01-27 Thread Dave Cassel
e David Gorbet's idea. Both the collection-based approach and the status property approach suggested by Geert require making sure that all queries respect the difference, while using security to make documents become visible automatically applies to all searches. -- Dave Cassel<http://dav

Re: [MarkLogic Dev General] A way to detect CPF updates complete?

2016-01-22 Thread Dave Cassel
Simplest way may be that the last CPF step moves the document into a "searchable" collection and your search options include that criterion as an additional-query<http://docs.marklogic.com/guide/rest-dev/appendixb#id_98507>. -- Dave Cassel<http://davidcassel.net>, @dmcass

Re: [MarkLogic Dev General] Regarding error message display

2016-01-18 Thread Dave Cassel
You can unsubscribe at http://developer.marklogic.com/mailman/listinfo/general. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: m

Re: [MarkLogic Dev General] Regarding Performance

2016-01-04 Thread Dave Cassel
Also see the new "Understanding System Resources<http://developer.marklogic.com/learn/understanding-system-resources>" paper that Erin Miller wrote. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manage

  1   2   3   >