Re: [MarkLogic Dev General] custom module for data hub not loading
In addition to Linesh's comment, your reference to src/main/resources/ml-modules suggests that you cloned the https://github.com/marklogic-community/marklogic-data-hub. You should do that only if you want to contribute to the framework itself, not if you want to use it to create a data 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 Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Linesh Sheth mailto:linesh.sh...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, December 18, 2017 at 5:03 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>>, "vikas.sin...@cognizant.com<mailto:vikas.sin...@cognizant.com>" mailto:vikas.sin...@cognizant.com>> Cc: "srinath.mukhopadh...@cognizant.com<mailto:srinath.mukhopadh...@cognizant.com>" mailto:srinath.mukhopadh...@cognizant.com>> Subject: Re: [MarkLogic Dev General] custom module for data hub not loading Hi Vikas, Code need to go in the user-config folder at the top-level of the project. See https://github.com/marklogic-community/marklogic-data-hub/wiki/Project-Directory-Structure#user-config-folder for details. Thanks, Linesh From: mailto:general-boun...@developer.marklogic.com>> on behalf of "vikas.sin...@cognizant.com<mailto:vikas.sin...@cognizant.com>" mailto:vikas.sin...@cognizant.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, December 18, 2017 at 11:53 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] custom module for data hub not loading Hi All, I want to deploy custom modules to module database for data hub project structure . I have created folder inside “src/main/resources/ml-modules” .when I am executing gradle mlLoadModules it is not loading my custom modules .My custom modules exist in “ext” folder. But When I am executing this command in a normal project which is not a data-hub but a gradle project custom code loaded successfully. Do I need to put any configuration in build.gradle for data hub to load mu modules to module database. Regards, Vikas Singh This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored. ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Ensuring That Tail Recursion Optimization Will Be Applied
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/Senior Staff Engineer MarkLogic Labs MarkLogic Corporation <http://www.marklogic.com/> http://developer.marklogic.com/ On 11/11/17, 6:24 PM, "general-boun...@developer.marklogic.com on behalf of Eliot Kimber" wrote: >ML 9 > >I¹m using recursive functions to process an arbitrarily large set of >items where in a procedural language I would use a while true() loop. The >number of items can be large so tail recursion optimization has to be in >place or I¹ll eventually blow the call stack. > >My question: How do I ensure that my functions are constructed so that >tail recursion optimization will be applied? > >A search on ³recursion² or ³tail recursion² didn¹t reveal anything on the >ML docs site. > >Thanks, > >Eliot >-- >Eliot Kimber >http://contrext.com > > > > >___ >General mailing list >General@developer.marklogic.com >Manage your subscription at: >http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] XQuery in async multidoc operations
More specifically, do you mean you want to read a bunch of documents from some other source and insert them into MarkLogic? Or are you looking to make changes to a bunch of documents already in MarkLogic? Do you want to do so asynchronously because there will be too many for a single 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>> Reply-To: "shmen...@yahoo.com<mailto:shmen...@yahoo.com>" mailto:shmen...@yahoo.com>>, MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, September 26, 2017 at 11:37 PM To: Justin Makeig mailto:justin.mak...@marklogic.com>>, MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] XQuery in async multidoc operations Hello, I want to trigger bulk read/ write operations to MarkLogic into an asynch fashion using XQuery. I thought using asynch multi doc operations would be a fit but I did not find any XQuery examples for them. Regards Paul On Tue, Sep 26, 2017 at 21:49, Justin Makeig mailto:justin.mak...@marklogic.com>> wrote: Rather than describing your solution, can you tell us about the problem you’re trying to solve? Are you trying to do a bulk transformation? Justin -- Justin Makeig Senior Director, Product Management MarkLogic jmak...@marklogic.com<mailto:jmak...@marklogic.com> > On Sep 26, 2017, at 10:02 AM, Shmennen > mailto:shmen...@yahoo.com>> wrote: > > Hello All, > >Is there any option to perform XQueries in asynchronous multidocument > operations? Based on doc https://docs.marklogic.com/guide/java/data-movement > I cannot find anything useful. > > Thanks > Paul JP. > ___ > General mailing list > General@developer.marklogic.com<mailto:General@developer.marklogic.com> > Manage your subscription at: > http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Complimentary Live Training: MarkLogic Security Workshops
Hello Community, This November, we’re hosting a Security Workshop Roadshow with free classroom training in 4 major US metros. You and colleagues in your organization who might benefit from this instructor-led training are invited to attend our half-day workshop in these cities: Chicago: November 8<http://www.marklogic.com/events/marklogic-security-workshop-chicago-illinois/> DC Metro Area: November 14<http://www.marklogic.com/events/marklogic-security-workshop-tysons-va/> New York City: November 15<http://www.marklogic.com/events/marklogic-security-workshop-new-york-city/> SF Bay Area: November 15<http://www.marklogic.com/events/marklogic-security-workshop-san-carlos-california/> The event is a hands-on, interactive workshop, where you’ll learn how to use MarkLogic 9 Security features to secure and govern your data throughout its life cycle and decrease your cyber security risk—all while maintaining speed and agility. This workshop is ideal for DBAs and developers. The workshop starts with breakfast before MarkLogic’s expert instructors walk you through exercises and explain what you need to know about: * Implementing role-based access control * Managing document permissions * How role hierarchies work * How to use element-level security and redaction to prevent leakage of personally identifiable information (PII) * Encrypting data, configuration, and log files * How to configure security for 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://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Community Newsletter
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 behalf of "Donohoe, Paul, Macmillan" mailto:paul.dono...@springernature.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, September 1, 2017 at 11:25 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Community Newsletter Thanks Dave. I was reading the post How to Find and Control Access to PII<http://developer.marklogic.com/blog/find-and-control-access-to-pii> , and I think I found a typo. In the code under "Scoping and Sampling — Elegant and Better Than Brute Force", line 3 is missing "Employee" from fn:collection(). Without it, it's possible that the sample size is greater than the size of the "Employee" collection. Otherwise, a good read! Best regards, Paul --- Paul Donohoe Technical Lead Process & Content Management Springer Nature The Campus, 4 Crinan Street, London N1 9XW, UK T +44 (0)20 7843 4783 paul.dono...@springernature.com<mailto:paul.dono...@springernature.com> www.springernature.com<http://www.springernature.com/> --- Visitor address: Porters Gate Reception, Wharfdale Road, London, UK --- Springer Nature is one of the world’s leading global research, educational and professional publishers, created in May 2015 through the combination of Nature Publishing Group, Palgrave Macmillan, Macmillan Education and Springer Science+Business Media. --- From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Dave Cassel Sent: 01 September 2017 16:06 To: MarkLogic Developer Discussion Subject: [MarkLogic Dev General] Community Newsletter Hello Community, Our presence on Stack Overflow continues to grow. We have over 1,700 questions there with nearly 400 subscribers watching the feed. It's a great place to get help. Don't forget to up vote the good answers! Content New blog posts on developer.marklogic.com: * Michael Malgeri demonstrates Building a Semantic Recommendation Engine<http://developer.marklogic.com/blog/building-a-semantic-recommendation-engine> * Caio Milani explains How to Find and Control Access to PII<http://developer.marklogic.com/blog/find-and-control-access-to-pii> * Scott Brooks addresses a common security problem with CSRF Attack Application Protection<http://developer.marklogic.com/blog/csrf-attack-application-protection> We also have a few new recipes<http://developer.marklogic.com/recipes>: * Cache data with timeout<http://developer.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-score-rating> (Dave Cassel) Want to contribute or request a recipe? Contact us as rec...@marklogic.com<mailto:rec...@marklogic.com> Software Releases MarkLogic company releases: * MLCP 8.0-7 for MarkLogic 8.0-7<https://github.com/marklogic/marklogic-contentpump/releases/tag/8.0.7>. * Java Client API 3.0.8 for MarkLogic 8.0-7<https://github.com/marklogic/java-client-api/releases/tag/3.0.8>. * MarkLogic-rdf4j 1.0.0 for use with MarkLogic 9.0-2<https://github.com/marklogic/marklogic-rdf4j/releases/tag/1.0.0>. Community project releases: * Paxton Hare has released version 1.1.5 of the Data Hub Framework<https://github.com/marklogic-community/marklogic-data-hub/releases/tag/v1.1.5>. * Rob Rudin released version 2.9.0 of ml-gradle<https://github.com/marklogic-community/ml-gradle/releases/tag/2.9.0> and 2.9.0 of ml-app-deployer<https://github.com/marklogic-community/ml-app-deployer/releases/tag/2.9.0>. * Rob Szkutak and Geert Josten released version 1.7.7 of Roxy<https://github.com/marklogic-community/roxy/releases/tag/v1.7.7>. * Rob Rudin (busy guy) also released version 2.14.1 of ml-javaclient-util<https://github.com/marklogic-community/ml-javaclient-util/releases/tag/2.14.1>. * Scott Stafford released version 1.1.0 of marklogic-spring-batch<https://github.com/marklogic-community/marklogic-spring-batch/releases/tag/1.1.0>. MarkLogic Jobs * Seeking MarkLogic Developers for prestigious firm in NYC. Contract or Contract to Hire opportunities. Will be developing XQuery, JS and REST modules n the MarkLogic Technology Stack and Utilizing the MarkLogic Library to support FWC
[MarkLogic Dev General] Community Newsletter
Hello Community, Our presence on Stack Overflow continues to grow. We have over 1,700 questions there with nearly 400 subscribers watching the feed. It's a great place to get help. Don't forget to up vote the good answers! Content New blog posts on developer.marklogic.com: * Michael Malgeri demonstrates Building a Semantic Recommendation Engine<http://developer.marklogic.com/blog/building-a-semantic-recommendation-engine> * Caio Milani explains How to Find and Control Access to PII<http://developer.marklogic.com/blog/find-and-control-access-to-pii> * Scott Brooks addresses a common security problem with CSRF Attack Application Protection<http://developer.marklogic.com/blog/csrf-attack-application-protection> We also have a few new recipes<http://developer.marklogic.com/recipes>: * Cache data with timeout<http://developer.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-score-rating> (Dave Cassel) Want to contribute or request a recipe? Contact us as rec...@marklogic.com Software Releases MarkLogic company releases: * MLCP 8.0-7 for MarkLogic 8.0-7<https://github.com/marklogic/marklogic-contentpump/releases/tag/8.0.7>. * Java Client API 3.0.8 for MarkLogic 8.0-7<https://github.com/marklogic/java-client-api/releases/tag/3.0.8>. * MarkLogic-rdf4j 1.0.0 for use with MarkLogic 9.0-2<https://github.com/marklogic/marklogic-rdf4j/releases/tag/1.0.0>. Community project releases: * Paxton Hare has released version 1.1.5 of the Data Hub Framework<https://github.com/marklogic-community/marklogic-data-hub/releases/tag/v1.1.5>. * Rob Rudin released version 2.9.0 of ml-gradle<https://github.com/marklogic-community/ml-gradle/releases/tag/2.9.0> and 2.9.0 of ml-app-deployer<https://github.com/marklogic-community/ml-app-deployer/releases/tag/2.9.0>. * Rob Szkutak and Geert Josten released version 1.7.7 of Roxy<https://github.com/marklogic-community/roxy/releases/tag/v1.7.7>. * Rob Rudin (busy guy) also released version 2.14.1 of ml-javaclient-util<https://github.com/marklogic-community/ml-javaclient-util/releases/tag/2.14.1>. * Scott Stafford released version 1.1.0 of marklogic-spring-batch<https://github.com/marklogic-community/marklogic-spring-batch/releases/tag/1.1.0>. MarkLogic Jobs * Seeking MarkLogic Developers for prestigious firm in NYC. Contract or Contract to Hire opportunities. Will be developing XQuery, JS and REST modules n the MarkLogic Technology Stack and Utilizing the MarkLogic Library to support FWCL initiatives. labr...@consultnet.com. * We need a MarkLogic Programmer in Columbia, MD. Exp: 10 yrs, Rate:$60/hr. Send resume to h...@arealtech.in. 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 Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Noob query question..
… 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:general-boun...@developer.marklogic.com>> on behalf of Dave Cassel mailto:david.cas...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, August 25, 2017 at 9:41 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Noob query question.. 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:general-boun...@developer.marklogic.com>> on behalf of "Ladner, Eric (Eric.Ladner)" mailto:eric.lad...@chevron.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, August 25, 2017 at 9:36 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Noob query question.. Optic assumes ML >9.0, correct? I’m stuck in 8 for the foreseeable future. Eric Ladner Systems Analyst eric.lad...@chevron.com<mailto:eric.lad...@chevron.com> From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Dave Cassel Sent: August 24, 2017 20:48 To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [**EXTERNAL**] Re: [MarkLogic Dev General] Noob query question.. 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: mailto:general-boun...@developer.marklogic.com>> on behalf of Erik Hennum mailto:erik.hen...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, August 24, 2017 at 6:19 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Noob query question.. Hi, Eric: In MarkLogic 9, you could create a TDE template to project rows into the index with columns for the subject and date_taken. Then, using SQL, SPARQL, or Optic, you could group on the subject and count the rows as filtered by the date. In MarkLogic 8, you could set up a range indexes on the subject and date_taken and use a values query on the subject range index, counting document frequency and filtering on the date. Hoping that's orienting, Erik Hennum From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>] on behalf of Ladner, Eric (Eric.Ladner) [eric.lad...@chevron.com<mailto:eric.lad...@chevron.com>] Sent: Thursday, August 24, 2017 2:30 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Noob query question.. Thank you. I will play with this in my development environment tomorrow. I don’t quote see how it’s getting the counts per subject, though. For reference.. the structure is similar to this: Test Subject 2017-04-01T15:32:00 Blah, blah There would be many notes, obviously and the output would ideally be something like (not married to that output, but some output showing the counts for each subject over that time range). Test Subject 2 Subject 2 4 ... Eric Ladner Systems Analyst eric.lad...@chevron.com<mailto:eric.lad...@chevron.com> From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Sam Mefford Sent: August 24, 2017 15:59 To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [**EXTERNAL**] Re: [MarkLogic Dev General] Noob query question.. I should point out that this is not the fastest way to do it. A faster way would be to index "date-taken" as a dateTime element range index and use cts:search with cts:element-range-query. Sam Mefford Senior Engineer MarkLogic Corporation sam.meff...@marklogic.com<mailto:sam.meff...@marklogic.com> Cell: +1 801 706 9731 www.marklogic.com<http://www.marklogic.com> This e-mail and any accompanying attachments are confidential. The information is i
Re: [MarkLogic Dev General] Noob query question..
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:general-boun...@developer.marklogic.com>> on behalf of "Ladner, Eric (Eric.Ladner)" mailto:eric.lad...@chevron.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, August 25, 2017 at 9:36 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Noob query question.. Optic assumes ML >9.0, correct? I’m stuck in 8 for the foreseeable future. Eric Ladner Systems Analyst eric.lad...@chevron.com<mailto:eric.lad...@chevron.com> From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Dave Cassel Sent: August 24, 2017 20:48 To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [**EXTERNAL**] Re: [MarkLogic Dev General] Noob query question.. 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: mailto:general-boun...@developer.marklogic.com>> on behalf of Erik Hennum mailto:erik.hen...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, August 24, 2017 at 6:19 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Noob query question.. Hi, Eric: In MarkLogic 9, you could create a TDE template to project rows into the index with columns for the subject and date_taken. Then, using SQL, SPARQL, or Optic, you could group on the subject and count the rows as filtered by the date. In MarkLogic 8, you could set up a range indexes on the subject and date_taken and use a values query on the subject range index, counting document frequency and filtering on the date. Hoping that's orienting, Erik Hennum From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>] on behalf of Ladner, Eric (Eric.Ladner) [eric.lad...@chevron.com<mailto:eric.lad...@chevron.com>] Sent: Thursday, August 24, 2017 2:30 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Noob query question.. Thank you. I will play with this in my development environment tomorrow. I don’t quote see how it’s getting the counts per subject, though. For reference.. the structure is similar to this: Test Subject 2017-04-01T15:32:00 Blah, blah There would be many notes, obviously and the output would ideally be something like (not married to that output, but some output showing the counts for each subject over that time range). Test Subject 2 Subject 2 4 ... Eric Ladner Systems Analyst eric.lad...@chevron.com<mailto:eric.lad...@chevron.com> From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Sam Mefford Sent: August 24, 2017 15:59 To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [**EXTERNAL**] Re: [MarkLogic Dev General] Noob query question.. I should point out that this is not the fastest way to do it. A faster way would be to index "date-taken" as a dateTime element range index and use cts:search with cts:element-range-query. Sam Mefford Senior Engineer MarkLogic Corporation sam.meff...@marklogic.com<mailto:sam.meff...@marklogic.com> Cell: +1 801 706 9731 www.marklogic.com<http://www.marklogic.com> This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation. From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>] on behalf of Sam Mefford [sam.meff...@marklogic.com<mailto:sam.meff...@marklogic.com>] Sent:
Re: [MarkLogic Dev General] Noob query question..
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: mailto:general-boun...@developer.marklogic.com>> on behalf of Erik Hennum mailto:erik.hen...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, August 24, 2017 at 6:19 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Noob query question.. Hi, Eric: In MarkLogic 9, you could create a TDE template to project rows into the index with columns for the subject and date_taken. Then, using SQL, SPARQL, or Optic, you could group on the subject and count the rows as filtered by the date. In MarkLogic 8, you could set up a range indexes on the subject and date_taken and use a values query on the subject range index, counting document frequency and filtering on the date. Hoping that's orienting, Erik Hennum From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>] on behalf of Ladner, Eric (Eric.Ladner) [eric.lad...@chevron.com<mailto:eric.lad...@chevron.com>] Sent: Thursday, August 24, 2017 2:30 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Noob query question.. Thank you. I will play with this in my development environment tomorrow. I don’t quote see how it’s getting the counts per subject, though. For reference.. the structure is similar to this: Test Subject 2017-04-01T15:32:00 Blah, blah There would be many notes, obviously and the output would ideally be something like (not married to that output, but some output showing the counts for each subject over that time range). Test Subject 2 Subject 2 4 ... Eric Ladner Systems Analyst eric.lad...@chevron.com<mailto:eric.lad...@chevron.com> From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Sam Mefford Sent: August 24, 2017 15:59 To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [**EXTERNAL**] Re: [MarkLogic Dev General] Noob query question.. I should point out that this is not the fastest way to do it. A faster way would be to index "date-taken" as a dateTime element range index and use cts:search with cts:element-range-query. Sam Mefford Senior Engineer MarkLogic Corporation sam.meff...@marklogic.com<mailto:sam.meff...@marklogic.com> Cell: +1 801 706 9731 www.marklogic.com<http://www.marklogic.com> This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation. From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>] on behalf of Sam Mefford [sam.meff...@marklogic.com<mailto:sam.meff...@marklogic.com>] Sent: Thursday, August 24, 2017 2:56 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Noob query question.. XQuery is an extension of XPath. Here's an example in XPath. These things are easiest to understand if we know the structure of your docs. Suppose I insert: xdmp:document-insert("test.xml", 2015-01-01) I could find the count of docs more than two years old like this: count(/note[fn:days-from-duration(fn:current-date() - date-taken) > (365 * 2)]) Sam Mefford Senior Engineer MarkLogic Corporation sam.meff...@marklogic.com<mailto:sam.meff...@marklogic.com> Cell: +1 801 706 9731 www.marklogic.com<http://www.marklogic.com> This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation. From:general-boun...@developer.marklogic.com<mailto:gene
Re: [MarkLogic Dev General] How to pass variable to limit or skip option in cts:uris ?
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 MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Matt Moody mailto:matt.mo...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, August 24, 2017 at 3:24 PM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] How to pass variable to limit or skip option in cts:uris ? I’m struggling with this simple scenario… How do I pass a variable to the limit and skip options in cts:uris ? I’ve tried all sorts of ways to pass in $skip, but always receive the Invalid option error. let $skip := 10 return cts:uris("", ("limit=10", "skip=($skip)"), cts:collection-query(“sample-docs”)) this is getting… [1.0-ml] XDMP-OPTION: cts:uris("", ("limit=10", "skip=($skip)"), cts:collection-query("sample-docs")) -- Invalid option "skip=($skip)" Thanks! -Matt Moody ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Segmentation fault when start MarkLogic
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.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Shmennen mailto:shmen...@yahoo.com>> Reply-To: Shmennen mailto:shmen...@yahoo.com>>, MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, August 24, 2017 at 9:54 AM To: "General@developer.marklogic.com<mailto:General@developer.marklogic.com>" mailto:General@developer.marklogic.com>> Subject: [MarkLogic Dev General] Segmentation fault when start MarkLogic Hello All, I am trying to start the MarkLogic on CentOS (inside the VM with MarkLogic-8.0-3.2.x86_64 provided by Course Lab) and I get below error: 2017-08-24 14:49:59.557 Notice: Starting MarkLogic Server 8.0-3.2 x86_64 in /opt/MarkLogic with data in /var/opt/MarkLogic Segmentation fault in thread 0x7f94e8c19740 addr 0x10 #0 0x00368e40f2ee in waitpid () from /lib64/libpthread.so.0 #1 0x037c3418 in xdmp::pstack() () #2 0x037c372d in pstackSignalAction () #3 #4 0x037f502f in xdmp::Server::init() () #5 0x037fb985 in xdmp::runInitialization() () #6 0x037fcbd9 in xdmp::run() () #7 0x037ffeca in xdmp::daemon(int, char const**) () #8 0x00368e01ed5d in __libc_start_main () from /lib64/libc.so.6 #9 0x00cdca59 in _start () 2017-08-24 14:50:00.559 Notice: Starting MarkLogic Server 8.0-3.2 x86_64 in /opt/MarkLogic with data in /var/opt/MarkLogic Notice that I just downloaded the VM without any modification . Regards ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Roxy Deployment Error
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.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Darrel Cox mailto:c...@avalonconsult.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, August 22, 2017 at 6:20 PM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Roxy Deployment Error Dave, The admin console for server shows 8.0-6 and "ml qa info | grep server-version" reports /> ml qa info | grep server-version ml.server-version: 8 Thanks, Darrel Darrel Cox<mailto:c...@avalonconsult.com> Sr. Consultant | Avalon Consulting, LLC M: 703-585-0392 LinkedIn<http://www.linkedin.com/company/avalon-consulting-llc> | Google+<http://www.google.com/+AvalonConsultingLLC> | Twitter<https://twitter.com/avalonconsult> -- This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. On Tue, Aug 22, 2017 at 1:20 PM, Darrel Cox mailto:c...@avalonconsult.com>> wrote: I'm having an issue with a Roxy deployment. The "ml bootstrap" works fine. However, I'm getting the error below when I try to do a "ml deploy content" or "ml deploy modules". When it runs locally (on my Mac) they work fine on a new Marklogic installation using both version 8.0-6 and 9.0-2. The servers that gives the error were probably upgraded from an earlier version. What earlier version(s) I'm not sure. Error output /> ml qa deploy content Roxy::Http : request failure count: 1, exception: # Roxy::Http : request failure count: 2, exception: # Roxy::Http : request failure count: 3, exception: # Roxy::Http : request failure count: 4, exception: # Roxy::Http : re-raising same error: 10.134.123.185 temporarily unavailable: (Connection reset by peer) -- error count: 4, error age: 0 ERROR: 10.134.123.185 temporarily unavailable: (Connection reset by peer) ERROR: ["/dofri/deploy/lib/RoxyHttp.rb:362:in `block in request'", "/dofri/deploy/lib/RoxyHttp.rb:352:in `loop'", "/dofri/deploy/lib/RoxyHttp.rb:352:in `request'", "/dofri/deploy/lib/MLClient.rb:113:in `go'", "/dofri/deploy/lib/xcc.rb:175:in `go'", "/dofri/deploy/lib/xcc.rb:136:in `block in load_files'", "/dofri/deploy/lib/xcc.rb:129:in `each'", "/dofri/deploy/lib/xcc.rb:129:in `each_with_index'", "/dofri/deploy/lib/xcc.rb:129:in `load_files'", "/dofri/deploy/lib/server_config.rb:1250:in `load_data'", "/dofri/deploy/lib/server_config.rb:2364:in `deploy_content'", "/dofri/deploy/lib/server_config.rb:1188:in `deploy'", "deploy/lib/ml.rb:166:in `'"] --- I updated the ml comand-line file and changed line 158 to the highlighted line below. Adding -v and -w. According to ruby -h, this turns on verbose mode and warnings for the script. #ruby -I deploy -I deploy/lib deploy/lib/ml.rb "$@" || exit $? ruby -v -w -I deploy -I deploy/lib deploy/lib/ml.rb "$@" || exit $? Error output after adding -v -w /> ml qa deploy content ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15] /dofri/deploy/lib/Help.rb:155: warning: mismatched indentations at 'end' with 'case' at 61 /dofri/deploy/lib/server_config.rb:1553: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:1841: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:1850: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:2195: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:2353: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:2404: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:2410: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:2476: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:2483: warning: assigned but unused variable - dbid /
Re: [MarkLogic Dev General] Where is General Documentation for the Task Server App?
I don't believe there's any reason why the Task Server would be triggering a restart (although some configuration changes affecting the Task Server would). I'd look elsewhere for an error. Specifically, I'd check ErrorLog.txt, find the time when a restart happened, and look 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/ On 8/23/17, 11:18 AM, "general-boun...@developer.marklogic.com on behalf of Eliot Kimber" wrote: >I¹m trying to understand the Task Server (and in my case, why it is >consistently restarting after satisfying a subset of its queue). > >Going through the ML 8 docs I¹m not finding any general discussion of the >Task Server, only references to it from elsewhere (e.g., in the docs for >xdmp:spawn() and in discussion of scheduling tasks). > >But not finding anything that would appear to provide insight into why >the server would perform an uncommanded restart (or information >indicating that it would never do that and thus the problem must be >elsewhere). > >Have I missed it? Given that the Task Server is a built-in and prominent >part of MarkLogic it seems odd that there¹s no general documentation for >it, which makes me think I must have missed it. But I both searched the >doc set and ToC and scanned the entire Guide ToC and didn¹t find anything. > >Thanks, > >Eliot >-- >Eliot Kimber >http://contrext.com > > > > >___ >General mailing list >General@developer.marklogic.com >Manage your subscription at: >http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Roxy Deployment Error
The "#" message generally means there's a problem trying to connect to the server. Make sure that the "server-version" property matches the version of MarkLogic you're working with. If they were upgraded, perhaps "ml qa info | grep server-version" 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 Darrel Cox mailto:c...@avalonconsult.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, August 22, 2017 at 4:20 PM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Roxy Deployment Error I'm having an issue with a Roxy deployment. The "ml bootstrap" works fine. However, I'm getting the error below when I try to do a "ml deploy content" or "ml deploy modules". When it runs locally (on my Mac) they work fine on a new Marklogic installation using both version 8.0-6 and 9.0-2. The servers that gives the error were probably upgraded from an earlier version. What earlier version(s) I'm not sure. Error output /> ml qa deploy content Roxy::Http : request failure count: 1, exception: # Roxy::Http : request failure count: 2, exception: # Roxy::Http : request failure count: 3, exception: # Roxy::Http : request failure count: 4, exception: # Roxy::Http : re-raising same error: 10.134.123.185 temporarily unavailable: (Connection reset by peer) -- error count: 4, error age: 0 ERROR: 10.134.123.185 temporarily unavailable: (Connection reset by peer) ERROR: ["/dofri/deploy/lib/RoxyHttp.rb:362:in `block in request'", "/dofri/deploy/lib/RoxyHttp.rb:352:in `loop'", "/dofri/deploy/lib/RoxyHttp.rb:352:in `request'", "/dofri/deploy/lib/MLClient.rb:113:in `go'", "/dofri/deploy/lib/xcc.rb:175:in `go'", "/dofri/deploy/lib/xcc.rb:136:in `block in load_files'", "/dofri/deploy/lib/xcc.rb:129:in `each'", "/dofri/deploy/lib/xcc.rb:129:in `each_with_index'", "/dofri/deploy/lib/xcc.rb:129:in `load_files'", "/dofri/deploy/lib/server_config.rb:1250:in `load_data'", "/dofri/deploy/lib/server_config.rb:2364:in `deploy_content'", "/dofri/deploy/lib/server_config.rb:1188:in `deploy'", "deploy/lib/ml.rb:166:in `'"] --- I updated the ml comand-line file and changed line 158 to the highlighted line below. Adding -v and -w. According to ruby -h, this turns on verbose mode and warnings for the script. #ruby -I deploy -I deploy/lib deploy/lib/ml.rb "$@" || exit $? ruby -v -w -I deploy -I deploy/lib deploy/lib/ml.rb "$@" || exit $? Error output after adding -v -w /> ml qa deploy content ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15] /dofri/deploy/lib/Help.rb:155: warning: mismatched indentations at 'end' with 'case' at 61 /dofri/deploy/lib/server_config.rb:1553: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:1841: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:1850: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:2195: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:2353: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:2404: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:2410: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:2476: warning: assigned but unused variable - r /dofri/deploy/lib/server_config.rb:2483: warning: assigned but unused variable - dbid /dofri/deploy/lib/RoxyHttp.rb:279: warning: assigned but unused variable - e /dofri/deploy/lib/RoxyHttp.rb:84: warning: method redefined; discarding old basic_auth /usr/local/Cellar/ruby/2.3.0/lib/ruby/2.3.0/net/http/header.rb:420: warning: previous definition of basic_auth was here /dofri/deploy/lib/xcc.rb:57: warning: mismatched indentations at 'end' with 'def' at 52 /dofri/deploy/lib/xcc.rb:115: warning: assigned but unused variable - r /dofri/deploy/lib/xcc.rb:232: warning: assigned but unused variable - body /dofri/deploy/lib/MLClient.rb:80: warning: assigned but unused variable - request_params /dofri/deploy/lib/xcc.rb:27: warning: method redefined; discarding old set_path /dofri/deploy/lib/RoxyHttp.rb:31: warning: previous definition of set_path was here /dofri/deploy/lib/xcc.rb:52: warning: method redefined; discarding old read_status_
Re: [MarkLogic Dev General] General Digest, Vol 156, Issue 31
Reminder: To subscribe or unsubscribe via the World Wide Web, visit http://developer.marklogic.com/mailman/listinfo/general or, via email, send a message with subject or body 'help' to general-requ...@developer.marklogic.com<mailto:general-requ...@developer.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...@livanta.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, August 15, 2017 at 10:00 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] General Digest, Vol 156, Issue 31 Remove From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> mailto:general-boun...@developer.marklogic.com>> on behalf of general-requ...@developer.marklogic.com<mailto:general-requ...@developer.marklogic.com> mailto:general-requ...@developer.marklogic.com>> Sent: Thursday, June 22, 2017 5:27:00 AM To: general@developer.marklogic.com<mailto:general@developer.marklogic.com> Subject: General Digest, Vol 156, Issue 31 Send General mailing list submissions to general@developer.marklogic.com<mailto:general@developer.marklogic.com> To subscribe or unsubscribe via the World Wide Web, visit http://developer.marklogic.com/mailman/listinfo/general or, via email, send a message with subject or body 'help' to general-requ...@developer.marklogic.com<mailto:general-requ...@developer.marklogic.com> You can reach the person managing the list at general-ow...@developer.marklogic.com<mailto:general-ow...@developer.marklogic.com> When replying, please edit your Subject line so it is more specific than "Re: Contents of General digest..." Today's Topics: 1. Re: field constraint in search API (Charles Greer) 2. Marklogic - xdmp:filesystem-file (Ly CafeSua) 3. Re: Marklogic - xdmp:filesystem-file (Geert Josten) 4. Regarding Marklogic space (Mani, Sivasubramani (ELS)) -- Message: 1 Date: Wed, 21 Jun 2017 21:58:34 + From: Charles Greer mailto:charles.gr...@marklogic.com>> Subject: Re: [MarkLogic Dev General] field constraint in search API To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Message-ID: <64677819b9b5be4cb1c549f188bffa500c8ff...@exchg10-be01.marklogic.com<mailto:64677819b9b5be4cb1c549f188bffa500c8ff...@exchg10-be01.marklogic.com>> Content-Type: text/plain; charset="windows-1252" Hi Alan I think your field contraint is fine-- the default grammar simply expects a different syntax. I could be mistaken, but I think either of the following expressions will give you ANDed queries: ANY:"x AND y" ANY:x ANY:y See if that gives you what you need. There may be a way beyond this to use the grammar configuration to move you toward the syntax you've used, but it's not occurring to me off the top of my head. Charles Charles Greer Lead Engineer MarkLogic Corporation cgr...@marklogic.com<mailto:cgr...@marklogic.com> Cell: +1 707 318 0442 @grechaw www.marklogic.com<http://www.marklogic.com> From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>] on behalf of Alan Darnell [alan.darn...@utoronto.ca<mailto:alan.darn...@utoronto.ca>] Sent: Tuesday, June 20, 2017 2:54 PM To: General Developer Discussion Subject: [MarkLogic Dev General] field constraint in search API Having a little trouble setting up a field constraint in the Search API and can?t find an answer in the documentation. We?ve created a field called ?anywhere? composed of a number of elements that appear in our standard XML document. We?ve also created a constraint called ANY defined as: We are sending the string ANY:(x y) to the search API. We are looking for this to turn into two AND?d word queries but what we get is a phrase search on ?x y?. Here?s the output from the search API: (cts:search(/book, cts:field-word-query("anywhere", "x y", ("lang=en"), 1), ("score-logtfidf",cts:score-order("descending")), 1))[1 to 20] We were hoping instead for something like this. (cts:search(/book, cts:field-word-query(?anywhere"), cts:and-query((cts:word-query("x", ("case-insensitiv
Re: [MarkLogic Dev General] Ops Director tech preview
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 Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Dave Cassel mailto:david.cas...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, August 10, 2017 at 10:00 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Ops Director tech preview Hello Community, At MarkLogic World this year, we talked about an exciting new operations tool called Ops Director, which gives you insight into what's going on across multiple MarkLogic clusters. From a single dashboard, you can view alerts, load levels, and other information across all your MarkLogic instances. Norm Walsh did a great lightning talk and manned a demo booth for Ops Director in Chicago, and there was a lot of interest in and feedback for this tool from both existing and prospective customers. Since that time, the Ops Director team has been focused and working hard to integrate that feedback and complete the functionality for Ops Director 1.0. We're excited to announce the availability of Ops Director Technical Preview. Technical Preview is the last milestone before GA of the tool, and it’s a great opportunity for the team to get broader feedback for the final push to GA. In the Technical Preview you can: * Install and configure Ops Director * Setup a multi-cluster monitoring environment * Login and explore the Ops Director GUI * View the Monitor Dashboard * View and search event logs, system alerts, and tasks of your instances * Get resource information in the Manage Tab * Analyze resource performance in the Analyze tab The team is eager to get feedback on these features, and invites you to download and install Ops Director Technical Preview from www.marklogic.com/beta<http://www.marklogic.com/beta>. 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/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Ops Director tech preview
Hello Community, At MarkLogic World this year, we talked about an exciting new operations tool called Ops Director, which gives you insight into what's going on across multiple MarkLogic clusters. From a single dashboard, you can view alerts, load levels, and other information across all your MarkLogic instances. Norm Walsh did a great lightning talk and manned a demo booth for Ops Director in Chicago, and there was a lot of interest in and feedback for this tool from both existing and prospective customers. Since that time, the Ops Director team has been focused and working hard to integrate that feedback and complete the functionality for Ops Director 1.0. We're excited to announce the availability of Ops Director Technical Preview. Technical Preview is the last milestone before GA of the tool, and it’s a great opportunity for the team to get broader feedback for the final push to GA. In the Technical Preview you can: * Install and configure Ops Director * Setup a multi-cluster monitoring environment * Login and explore the Ops Director GUI * View the Monitor Dashboard * View and search event logs, system alerts, and tasks of your instances * Get resource information in the Manage Tab * Analyze resource performance in the Analyze tab The team is eager to get feedback on these features, and invites you to download and install Ops Director Technical Preview from www.marklogic.com/beta<http://www.marklogic.com/beta>. 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/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Failure Trying to Restore ML 4.2 Backup to ML 8
The MarkLogic 8 Installation Guide has a section for "Upgrading from Release 4.2 or earlier" (http://docs.marklogic.com/8.0/guide/installation/procedures#id_54482). "MarkLogic 8 only supports upgrading from Release 5.0 or later; it does not provide a direct upgrade path for previous releases of MarkLogic Server. If you are upgrading from a 4.2 or earlier release of MarkLogic Server, either install this release as a clean installation or upgrade your existing release to the latest Release 5.0, 6.0, or 7.0 before installing this release. For details on upgrading a Release 4.2 or earlier release, see the Installation Guide <http://docs.marklogic.com/8.0/guide/installation> for MarkLogic Server 4.2. If you are upgrading from 4.2 and do not want to reindex your content, set the reindexer enable to false before upgrading. You can run MarkLogic 8 in either 4.2 or 5.0 compatibility mode, as described in Upgrades and Database Compatibility <http://docs.marklogic.com/8.0/guide/installation/intro#id_80903>." The MarkLogic 7 Installation Guide has a section for "Upgrading from Release 6.0, 5.0, or 4.2" (http://docs.marklogic.com/7.0/guide/installation/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> Technical Community Manager MarkLogic Corporation <http://www.marklogic.com/> http://developer.marklogic.com/ On 7/27/17, 2:41 PM, "general-boun...@developer.marklogic.com on behalf of Eliot Kimber" wrote: >I have a backup from an ML 4.2 database that I¹m trying to restore to an >ML 8 server. The database configurations are (or should be) the same >between both servers and both are running on Linux servers. > >If I have the same set of forests defined on the ML 8 server as in the >backup then when I go to the restore screen it lists all the forests in >the backup but all their check boxes are unchecked and greyed out. If I >delete some of the forests from the ML 8 server then those forests are >selected and not greyed out. > >ButŠ > >When I proceed with the restore I consistently get failures like this: > >Operation failed with error message: XDMP-NOFOREST: >xdmp:database-restore((xs:unsignedLong("5211046837612715608"), >xs:unsignedLong("5138674030818805002")), >"/marklogic/backup/rsuite/20170726-1", (), fn:false(), (), fn:false(), >()) -- No forest with identifier 5211046837612715608. Check server logs. > >I¹m not seeing any other errors in the ErrorLog.txt log > >I didn¹t see anything in the ML 8 backup and restore docs that suggested >what the issue might be. > >The 5211046837612715608 value comes from databases.xml and I see a >mapping for this ID in the assignments.xml file: > > >rsuite02 >true >14194071972761628339 >/somedir/MarkLogic >all >false > >5211046837612715608 > > > > >And there is a directory Forests/rsuite02 in the backup. > >Any idea what would be causing this failure? > >Thanks, > >Eliot >-- >Eliot Kimber >http://contrext.com > > > > >___ >General mailing list >General@developer.marklogic.com >Manage your subscription at: >http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Issue with Appservices after ML upgrade to ML9
/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.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of amit gope mailto:amitgo...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Sunday, July 23, 2017 at 9:47 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Issue with Appservices after ML upgrade to ML9 Hi All, I am facing issue while trying to access the appservices URL http://localhost:8000/appservices. All other things working fine, please suggest what might be going wrong here. The Error that I am seeing is : Error An unexpected error has occurred. Check the error log or contact MarkLogic support<mailto:supp...@marklogic.com>. Message http://marklogic.com/xdmp/error error.xsd" xmlns:error="http://marklogic.com/xdmp/error"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> REST-INVALIDREQUEST 1.0-ml Invalid request REST-INVALIDREQUEST: Invalid request: AppBuilder request no longer supported: /appservices false AppBuilder request no longer supported: /appservices /MarkLogic/rest-api/8000-rewriter.xml 1.0-ml Best Regards Amit ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, Okay, I'm running a bit late with this edition. I took a vacation right before a big American holiday; I had a couple emails to dig through on my return, as you might imagine. MarkLogic World Not able to make it this year? Did you go, but weren't able to attend every talk that sounded interesting? Not to fear, the videos are here. http://www.marklogic.com/resource-event/mlw-2017/. Community Projects In case you missed it, notice that MarkLogic-related community-driven projects have been migrated from github.com/marklogic to github.com/marklogic-community. This will make it easier to tell which projects are supported by the company and which are supported by the community. * Overstory IntelliJ plugin: Ron Hitchens and the folks at Overstory have been working on an IntelliJ plugin for MarkLogic, to support code completion, debugging, and other features. It's still in the early stages, but take a look, give them some feedback, or contribute to the code at https://github.com/overstory/marklogic-intellij-plugin. * Rob Rudin published version 2.8.0 of both ml-gradle<https://github.com/marklogic-community/ml-gradle> and ml-app-deployer<https://github.com/marklogic-community/ml-app-deployer>, a Management API wrapper. * Geert Josten and team have released version 1.3.2 of slush-marklogic-node<https://github.com/marklogic-community/slush-marklogic-node>, a plugin for the Slush application generator<http://slushjs.github.io/>. * Rob Szkutak and Geert Josten released 1.7.6 of Roxy, with updates mostly related to the application deployer. Events * Boston, July 11th: The Role of Data Lakes in Supporting Digital Transformation Initiatives<https://www.meetup.com/MarkLogic-NoSQL-Boston/events/239300553/> * London, July 12th: Semantics in Action!<https://www.meetup.com/MarkLogic-User-Group-UK/events/240663738/> * San Carlos, CA, July 19th: Empower Your Geospatial Application with a NoSQL Database<https://www.meetup.com/Peninsula-NoSQL-Meetup/events/241154749/> 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/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Query Console error post upgrade 8 > 9
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? -- 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 Mark Donoghue mailto:m.donog...@ieee.org>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, June 22, 2017 at 10:45 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Query Console error post upgrade 8 > 9 Hi, I just upgraded my local (laptop) install of Marklogic 8 to 9.0-1.1. Now, when I attempt to access the query console I get the following error: == SECURITY-BADREQUEST (err:FOER): Your session has been terminated by another login. Refresh Query Console to create a new session. == Admin interface and Configuration Manager work fine. I have attempted the following: - Refreshed the browser (Chrome ver. 59.0.3071.109), and deleted browsing data. - Restarted my laptop several times. - Using Firefox (45.5.1) and get the same error message. - Created a new user with query-console permission (same error). - Changed the auth scheme from digest to basic, and back to digest. Chrome developer tools reports errors from the following resources: == jquery-1.7.min.js:4 GET http://localhost:8008/qconsole/endpoints/workspaces.xqy?cache=1498142153868 500 (SECURITY-BADREQUEST (err:FOER): Your session has been terminated by another login. Refresh Query Console to create a new session.) send @ jquery-1.7.min.js:4 == and == jquery-1.7.min.js:4 GET http://localhost:8008/qconsole/endpoints/sources.xqy?type=databases&cache=1498142153871 500 (SECURITY-BADREQUEST (err:FOER): Your session has been terminated by another login. Refresh Query Console to create a new session.) == The only evidence of a similar error that I could find on the web refers to a tool named Roxy, which I'm not familiar with. It is also for version 8 of Marklogic. See: https://github.com/marklogic-community/roxy/issues/679 I am out of ideas. Has anyone else had this experience? Thanks, Mark - -- --- - - Mark Donoghue IEEE (732) 562-6045 m.donog...@ieee.org<mailto:m.donog...@ieee.org> IEEE - Advancing Technology for Humanity ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Migration from github.com/marklogic to github.com/marklogic-community
Hello all, In the June 1st Community Newsletter, I announced that we're going to migrate non-supported projects from github.com/marklogic to github.com/marklogic-community. By doing so, we'll provide more clarity on what projects are supported by MarkLogic (the company) and which are Community driven. I'm writing to let you know that I've begun the migration process and have moved more than 40 projects from their original homes to the marklogic-community account. When a project moves, GitHub provides redirects; as such I'm anticipating very little impact. When you point your browser to the old home, it will end up at the new one. If you notice a problem with a project, please file an issue on that project's GitHub page (and feel free to send me an email if you want to ensure that someone sees it; shouldn't be necessary with actively maintained projects). That said, you'll still want to update your links. If you have cloned a repository, git will record the "remotes" that your clone is attached to. You can see these with the command "git remote -v": $ git remote -v origin g...@github.com:dmcassel/roxy.git (fetch) origin g...@github.com:dmcassel/roxy.git (push) upstream g...@github.com:marklogic/roxy.git (fetch) upstream g...@github.com:marklogic/roxy.git (push) If you don't have any work in progress, and you're not real comfortable with git, you might find it easiest to simply clone the repo again from its new home (in this case, "git clone https://github.com/marklogic-community/roxy";). You can also change the remote pointers in place. Here I've got my clone of my fork of Roxy ("origin") and its got a pointer to the original repo ("upstream"). I can still pull from upstream, but just to be a little cleaner, I'd like to point to the right place. Here's how I fix that: $ git remote set-url upstream https://github.com/marklogic-community/roxy If you'd like to read more about what happens when a repository gets 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/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Announcement: IntelliJ XQuery plugin with live MarkLogic debugging
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.com on behalf of Ron Hitchens" wrote: > > It¹s been a few months in the making but the IntelliJ plugin that >we¹ve been working on is now available for you to install and try out. >It appeared in the JetBrains plugin repository yesterday and you can >easily install it directly from within your IDE. Go to Preferences > >Plugins > Browse Repositories and search for ³marklogic². The full name >is ³XQuery Support + MarkLogic Debugger². > > Full information and links to various places where you can find more >information is here: > >http://www.overstory.co.uk/news/plugin > > I have pasted the text of that page below for posterity and for your >future archive searching convenience. Note that the many links on that >page do not appear here. The most important one is the GitHub project >repository at https://github.com/overstory/marklogic-intellij-plugin > > Note that this plugin should work in all (or at least most) of the >JetBrains IDEs, such as WebStorm, PyCharm, etc. Please let us know if it >doesn¹t work in your favorite one. > > This is still a beta release, please let us know what doesn¹t work. >We need your feedback to get it to a 1.0 release. > > Thanks to MarkLogic for initial sponsorship of this project, and to >Grzegorz Ligas for the XQuery Support plugin project that was forked to >add the MarkLogic-specific features. > > Watch our @overstory Twitter feed and/or contact us at >plu...@overstory.co.uk > > Cheers, and happy MarkLogic debugging. > >--- >Ron Hitchens {r...@overstory.co.uk} +44 7879 358212 > >= > >OverStory is happy to announce public availability of a new XQuery >language plugin for IntelliJ IDEA. This plugin not only provides >excellent language-aware XQuery 3.0/3.1 editing, including MarkLogic >extensions, to the popular Integrated Development Environment (IDE) it >also adds live execution and debugging of XQuery code inside MarkLogic. > >This new plugin is a big step forward for developing MarkLogic >application code. You can now use a single IDE to develop code in Java >(or Groovy/Scala/Python/PHP/JavaScript/etc) and XQuery all in one place. >In a single IDE you can now set breakpoints both in your Java code and in >your XQuery for integrated, full stack, in-situ development and problem >resolution. > >This is a beta release of the plugin. There is still work to do but we >want to put it in the hands of developers now. We very much want >developer feedback so that we can polish it up for final release soon. >We will release updates fairly quickly during the beta phase as needed to >achieve a stable 1.0 release in the near future. > >The MarkLogic Debugger plugin is available now in the public >JetBrains/IntelliJ repository. It can be downloaded from the web, but it >is much easier to install via the Plugins dialog. Within IntelliJ, just >go to Preferences > Plugins > Browse Repositories and search for >"MarkLogic". The name of the plugin is "XQuery Support + MarkLogic >Debugger". Simply click to install. > >The plugin is not restricted to IDEA (the Java IDE), it should also work >in the other members of the JetBrains IDE family such as WebStorm, >PyCharm, PhpStorm and etc. If you use any of those IDEs please try it >out and let us know your experiences. > >This plugin is an Open Source project and can be found on GitHub. Please >report any bugs or other issues via the project Issue Tracker. You can >also suggest new features there, but check the Roadmap on the Wiki first. > The Wiki is also where you will find information about how to get >started with the plugin and what you will need to know about debugging >XQuery on MarkLogic. > >We are very grateful to MarkLogic Corporation for sponsoring development >of this plugin to get it to public release. We are also grateful to >Grzegorz Ligas who created the earlier XQuery Support (intellij-xquery) >plugin. This project originated as a GitHub fork from that project. > >Keep an eye on our @overstory Twitter feed for updates about the plugin. >If you want to contact us to discuss details of the plugin, sponsoring >the project or otherwise contributing, or for bespoke development, >contact us by email: plu...@overstory.co.uk. > > >___ >General mailing list >General@developer.marklogic.com >Manage your subscription at: >http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Videos from ML World 2017
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 Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Yogesh Jadhav mailto:yogeshjadha...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, June 14, 2017 at 3:06 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Videos from ML World 2017 They will upload it... keep eye on below link. http://mlwonline.marklogic.com/search.xqy?q=SessionCategory%3ABreakouts%20AND%20sort%3Anewest -YJ On Wed, Jun 14, 2017 at 6:41 PM, Oleksii Segeda mailto:oseg...@worldbankgroup.org>> wrote: Hi everyone, Are there any plans to update Youtube channel or a website with videos from ML World 2017? Regards, Oleksii Segeda IT Analyst Information and Technology Solutions www.worldbank.org<http://www.worldbank.org> ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general -- Regards, Yogesh Jadhav [View Yogesh Jadhav's profile on LinkedIn]<https://in.linkedin.com/pub/yogesh-jadhav/89/134/5a4> ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] RunDMC - Doc Server - 500 Internal Server Error
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, @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 Yogesh Jadhav mailto:yogeshjadha...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Saturday, June 10, 2017 at 8:34 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] RunDMC - Doc Server - 500 Internal Server Error Hi Everyone, I have installed RunDMC on my marklogic server host. I'm able to access my RunDMC on port which is like developer.marklogic.com<http://developer.marklogic.com/> but I'm unable to access on port 8011 which is like docs.marklogic.com<http://docs.marklogic.com/> I'm getting below error in error log while accessing port 8011 2017-06-10 17:41:40.846 Notice: 8011-RunDMC-apidoc: XDMP-TREAT: (err:XPDY0050) fn:doc($URI) treat as node() -- Invalid treat: () treat as node() 2017-06-10 17:41:40.846 Notice: 8011-RunDMC-apidoc: in /apidoc/controller/transform.xqy, at 22:12 [1.0-ml] 2017-06-10 17:42:21.200 Notice: 8011-RunDMC-apidoc: XDMP-TREAT: (err:XPDY0050) fn:doc($URI) treat as node() -- Invalid treat: () treat as node() 2017-06-10 17:42:21.200 Notice: 8011-RunDMC-apidoc: in /apidoc/controller/transform.xqy, at 22:12 [1.0-ml] Here is how I have installed. https://asciinema.org/a/64digo3a3h9tzb3equity2uak (Please seek whenever required) Thanks in Advance. -- Regards, Yogesh Jadhav [View Yogesh Jadhav's profile on LinkedIn]<https://in.linkedin.com/pub/yogesh-jadhav/89/134/5a4> ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Please remove me
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.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Afshin Bozorgzadeh mailto:bozorg...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, June 1, 2017 at 12:15 PM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Please remove me Please remove me from the email Best regards Afshin Bozorgzadeh afs...@scmsolution.com<mailto:afs...@scmsolution.com> www.scmsolution.com<http://www.scmsolution.com> 978-886-8584 ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, Wow, so much going on this month I'm not sure what to lead with… but I've got to go with this: MarkLogic 9 released! MarkLogic 9.0-1.1 is now available for download from http://developer.marklogic.com/products. To learn about it, you can get the white paper<http://developer.marklogic.com/media/white-paper/whats-new-in-marklogic-9.pdf>, read the summary blog post<http://developer.marklogic.com/blog/announcing-ml9>, or take MarkLogic University's self-paced What's New in MarkLogic 9?<http://www.marklogic.com/training-courses/whats-new-marklogic-9/> course. Lots of great new features around data integration, security, and manageability, as well as improvements to existing features. MarkLogic World MarkLogic World 2017 in Chicago and Tokyo were great events: well-attended, with great discussions among MarkLogic staff, partners, and customers. London, keep the momentum going June 12-14! Business & technical talks, expert 1:1 sessions, MLU classes, and hands-on workshops make this event worth attending. You can follow the action on Twitter with #mlw17<https://twitter.com/hashtag/MLW17>. There are still some spots left for the hands-on workshops<http://www.cvent.com/events/marklogic-world-2017-london/custom-35-2f1f975f18ef436e9543f330d5942568.aspx?RefID=World_london> in London (Multi-model in Action with Search, Semantics, and SQL; Integrating Your Data with the MarkLogic Data Hub Framework; and Protecting Sensitive Information with New MarkLogic Security Features). Be sure to sign up ahead of time to reserve your spot! Community Projects -- Migration MarkLogic has had a number of open source projects hosted in GitHub for years. As more of the company's official projects are now being built there (such as the Java Client API, MarkLogic Content Pump, and others), we've decided to migrate community-driven projects from https://github.com/marklogic to https://github.com/marklogic-community. By doing so, it will be easier to see which projects are company-supported and which are community-supported. (You can also look for the Support notice in a project's README file.) I plan to migrate projects during June & July — if you have questions or concerns about this, please contact me. Community Projects — Releases * MarkLogic Data Hub Framework<https://github.com/marklogic/marklogic-data-hub>, v1.1.3 (for MarkLogic 8) and v2.0.0-beta.1 (for MarkLogic 9) * mlxprs<https://github.com/mikrovvelle/mlxprs> — a Visual Studio extension for MarkLogic. This is pretty new, so please check it out and file issues or pull requests on GitHub to help advance the project. New Book Building on Multi-Model Databases: How to Manage Multiple Schemas Using a Single Platform<http://info.marklogic.com/building-on-multimodel-databases.html> by Pete Aven and Diane Burley is now available as a free book from O'Reilly. Check it out and see what they have to say about simplifying your data management. MarkLogic Jobs In addition to openings at MarkLogic<http://www.marklogic.com/company/careers/career-opportunities/#all/all>, our partners and customers are looking for MarkLogic talent. Here are a few openings: * David Robinson of Consolpartners.com is looking for a MarkLogic Developer in Los Angeles<https://www.indeed.com/cmp/ConSol-Partners/jobs/Marklogic-Nosql-Developer-49efb1c151e82ff0?q=Marklogic+Developer>. * Sudhakar Teegala of OpenLogix is looking for a MarkLogic Lead in Pennsylvania for a long-term contract. Contact him at steeg...@openlogix.co for details. * Chandrasekhar Arakala needs MarkLogic Consultants in Rockville, MD, but says remote work is possible. Contact chan...@acentle.com. * Anthony Aakre needs a MarkLogic DBA in the Washington, DC area. TS/SCI 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 Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Processing Large Number of Docs to Get Statistics
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.com/dmcassel> Technical Community Manager MarkLogic Corporation <http://www.marklogic.com/> http://developer.marklogic.com/ On 5/23/17, 7:30 AM, "general-boun...@developer.marklogic.com on behalf of Eliot Kimber" wrote: > >What is TDE? I’m not conversant with ML 9 features yet. > >Also, I’m currently working against an ML 4.2 server (don’t ask). > >TaskBot looks like just what I need but docs say it requires ML 7+ but >could possibly be made to work with earlier releases. If someone can >point me in the right direction I can take a stab at making it work with >ML 4. > >Thanks, > >Eliot >-- >Eliot Kimber >http://contrext.com > > > > >On 5/23/17, 8:56 AM, "general-boun...@developer.marklogic.com on behalf >of Erik Hennum" erik.hen...@marklogic.com> wrote: > >Hi, Eliot: > >On reflection, let me retract the range index suggestion. I wasn't >considering >the domain implied by the element names -- it would never make sense >to blow out a range index with the value of all of the paragraphs. > >The TDE suggestion for MarkLogic 9 would still work, however, because >you >could have an xs:short column with a value of 1 for every paragraph. > > >Erik Hennum > > >From: general-boun...@developer.marklogic.com >[general-boun...@developer.marklogic.com] on behalf of Erik Hennum >[erik.hen...@marklogic.com] >Sent: Tuesday, May 23, 2017 6:21 AM >To: MarkLogic Developer Discussion >Subject: Re: [MarkLogic Dev General] Processing Large Number of Docs >to Get Statistics > >Hi, Eliot: > >One alternative to Geert's good suggestion -- if and only if the >number >of element names is small and you can create range indexes on them: > >* add an element attribute range index on Article/@id >* add an element range index on p >* execute a cts:value-tuples() call with the constraining element >query and directory query >* iterate over the tuples, incrementing the value of the id in a map >* remove the range index on p > >In MarkLogic 9, that approach gets simpler. You can just use TDE >to project rows with columns for the id and element, group on >the id column, and count the rows in the group. > >Hoping that's useful (and salutations in passing), > > >Erik Hennum > > >From: general-boun...@developer.marklogic.com >[general-boun...@developer.marklogic.com] on behalf of Geert Josten >[geert.jos...@marklogic.com] >Sent: Tuesday, May 23, 2017 12:53 AM >To: MarkLogic Developer Discussion >Subject: Re: [MarkLogic Dev General] Processing Large Number of Docs >to Get Statistics > >Hi Eliot, > >I¹d consider using taskbot >(http://registry.demo.marklogic.com/package/taskbot), and using that >in >combination with either $tb:OPTIONS-SYNC or $tb:OPTIONS-SYNC-UPDATE. >It >will make optimal use of the TaskServer of the host on which you >initiate >the call. It doesn¹t scale endlessly, but it batches up the work >automatically for you, and will get you a lot further fairly easily.. > >Cheers, >Geert > >On 5/23/17, 5:43 AM, "general-boun...@developer.marklogic.com on >behalf of >Eliot Kimber" ekim...@contrext.com> wrote: > >>I haven¹t yet seen anything in the docs that directly address what >I¹m >>trying to do and suspect I¹m simply missing some ML basics or just >going >>about things the wrong way. >> >>I have a corpus of several hundred thousand docs (but could be >millions, >>of course), where each doc is an average of 200K and several thousand >>elements. >> >>I want to analyze the corpus to get details about the number of >specific >>subelements within each document, e.g.: >> >> >>for $article in cts:search(/Article, cts:directory-query("/Default/", >>"infinity"))[$start to $end] >> return >paras=²{count($article//p}²/> >> >>I¹m running this as a query from Oxygen (so I can capture the results >>locally so I can do other stuff with them). >> >>On
Re: [MarkLogic Dev General] Docker & Amazon Cloud Support / Marklogic 9
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://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Dave Cassel mailto:david.cas...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, May 16, 2017 at 9:00 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Docker & Amazon Cloud Support / Marklogic 9 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>> on behalf of Andreas Felix mailto:andreas.fe...@ebcont.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, May 16, 2017 at 10:47 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Docker & Amazon Cloud Support / Marklogic 9 Hi, is there already a support for Amazon Cloud and Docker in Marklogic 9? I found nothing in the Amazon Marketplace and no Information about the announced Docker Support in the Release Notes. regards andreas -- Mit freundlichen Grüßen / Kind regards Ing. Andreas Felix Senior IT Consultant EBCONT enterprise technologies GmbH Millennium Tower Handelskai 94-96 1200 Wien Mobil: +43 664 606 51 747 Fax: +43 2772 812 69-9 Email: andreas.fe...@ebcont.com<mailto:andreas.fe...@ebcont.com> Web: http://www.ebcont-et.com/ OUR TEAM IS YOUR SUCCESS HG St. Pölten - FN 293731h UID: ATU63444589 ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Docker & Amazon Cloud Support / Marklogic 9
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>> on behalf of Andreas Felix mailto:andreas.fe...@ebcont.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, May 16, 2017 at 10:47 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Docker & Amazon Cloud Support / Marklogic 9 Hi, is there already a support for Amazon Cloud and Docker in Marklogic 9? I found nothing in the Amazon Marketplace and no Information about the announced Docker Support in the Release Notes. regards andreas -- Mit freundlichen Grüßen / Kind regards Ing. Andreas Felix Senior IT Consultant EBCONT enterprise technologies GmbH Millennium Tower Handelskai 94-96 1200 Wien Mobil: +43 664 606 51 747 Fax: +43 2772 812 69-9 Email: andreas.fe...@ebcont.com<mailto:andreas.fe...@ebcont.com> Web: http://www.ebcont-et.com/ OUR TEAM IS YOUR SUCCESS HG St. Pölten - FN 293731h UID: ATU63444589 ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] MarkLogic 9 Redaction
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.marklogic.com>> on behalf of Geert Josten mailto:geert.jos...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, May 10, 2017 at 2:56 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] MarkLogic 9 Redaction Hi Tulasi, With Flex Rep, you can configure push or pull approach, both driven from CPF if I recall correctly. In both cases you can add your own pipelines to do whatever is needed to get the right stuff replicated in the right way. I think in your case you might need to use push approach, since you need to run redaction from master side. There are no specific docs on doing Redaction with FlexRep, but it is a useful use case. @DaveC, worth as a new chapter to Redaction or FlexRep guide? Kind regards, Geert From: mailto:general-boun...@developer.marklogic.com>> on behalf of "Guraja, Tulasi" mailto:tulasi.gur...@credit-suisse.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, May 10, 2017 at 4:16 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] MarkLogic 9 Redaction Hi Dave, Thank you for your response. Have referred to the FlexRep documentation and couldn’t find any usage of Redaction. Am I missing something? Can you please provide me more insights on this? Thanks, Tulasi Guraja IWM IT +1 212 325 5954 (*105 5954) From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Dave Cassel Sent: Tuesday, May 09, 2017 4:57 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] MarkLogic 9 Redaction 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://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 "Guraja, Tulasi" mailto:tulasi.gur...@credit-suisse.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, May 9, 2017 at 2:54 PM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] MarkLogic 9 Redaction Hi, I am looking at Redaction feature in MarkLogic 9. I understand that this can be used for Read and Export. I would like to check and confirm if Redaction feature can be used in Replication (replicating data across globes by masking data points)? Thanks, Tulasi Guraja == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html == == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html == ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] MarkLogic 9 Redaction
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://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 "Guraja, Tulasi" mailto:tulasi.gur...@credit-suisse.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, May 9, 2017 at 2:54 PM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] MarkLogic 9 Redaction Hi, I am looking at Redaction feature in MarkLogic 9. I understand that this can be used for Read and Export. I would like to check and confirm if Redaction feature can be used in Replication (replicating data across globes by masking data points)? Thanks, Tulasi Guraja == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html == ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Announcing MarkLogic 9
Gary, Andreas, MarkLogic 9 should be available in the AWS and Azure Marketplaces within a week or two. We won't be offering formal support for GCP in this release. We also have no MarkLogic 9 plans for an Atlas-like offering. Customers who would like to see support for GCP or an Atlas-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.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Gary Russo mailto:garyru...@hotmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, May 9, 2017 at 11:47 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Announcing MarkLogic 9 Hello Dave, I was just thinking the same as Andreas. When will ML9 be available on AWS? When will ML9 be available in the Azure Marketplace? When will ML9 be available in GCP (Google Cloud Platform)? Will MarkLogic have an offering like MongoDB Atlas? => https://www.mongodb.com/cloud/atlas/compare Gary Russo NoSQL Architect/Developer http://garyrusso.wordpress.com<http://garyrusso.wordpress.com/> From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> mailto:general-boun...@developer.marklogic.com>> on behalf of Andreas Hubmer mailto:andreas.hub...@ebcont.com>> Sent: Tuesday, May 9, 2017 11:28 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Announcing MarkLogic 9 Hi Dave, That's great news. Do you know when it will be available on the Amazon AWS marketplace? Regards, Andreas 2017-05-09 17:10 GMT+02:00 Dave Cassel mailto:david.cas...@marklogic.com>>: Hello Community, I'm happy to announce that MarkLogic 9 is now available for download<http://developer.marklogic.com/products>. MarkLogic 9 provides new features and enhancements to make data integration easier and more powerful. Entity Services<http://docs.marklogic.com/guide/entity-services/intro> helps define a model for your integrated data, supporting the creation of a scalable, performant data hub. Moving data into, out of, or between MarkLogic clusters will be easier with the Data Movement SDK<http://docs.marklogic.com/guide/java/data-movement>. With Template-Driven Extraction<http://docs.marklogic.com/guide/app-dev/TDE>, you can now get data into the indexes without modifying your document structure. The Optic API<http://docs.marklogic.com/guide/app-dev/OpticAPI> powers document joins and aggregates, group-bys and other tabular operations on data stored in documents. MarkLogic's government-grade security takes the next step, adding Encryption at Rest<http://docs.marklogic.com/guide/security/encryption#> and Element-Level Security<http://docs.marklogic.com/guide/security/element#>. With the new Redaction<http://docs.marklogic.com/guide/app-dev/redaction> feature, it's easier to make production data safe for use in your development and test environments. Managing MarkLogic has gotten easier too. Rolling upgrades<http://docs.marklogic.com/guide/admin/rolling-upgrades> mean less downtime when upgrading a cluster, while Telemetry<http://docs.marklogic.com/guide/monitoring/telemetry> streamlines communication with the Support team. Developers should take a look at the improvements to Query Console<http://docs.marklogic.com/guide/relnotes/chap3#id_98737>, including profiling for Server-side JavaScript, editing aids, and better results display. Beyond QC, there are new geospatial capabilities<http://docs.marklogic.com/guide/relnotes/chap3#id_83759> and several enhancements to the REST<http://docs.marklogic.com/guide/relnotes/chap3#id_23470>, Java<http://docs.marklogic.com/guide/relnotes/chap3#id_65307>, and Node.js APIs<http://docs.marklogic.com/guide/relnotes/chap3#id_53771>. You'll also be able to take more control of stemming and tokenization<http://docs.marklogic.com/guide/relnotes/chap3#id_28687> and wildcarding<http://docs.marklogic.com/guide/relnotes/chap3#id_25301>. Here are some resources you can use to explore what MarkLogic 9 has to offer: * MarkLogic University's What's New in MarkLogic 9<https://mlu.marklogic.com/selfpaced/course/mlnine/>? self-paced course * New Features in MarkLogic 9<http://docs.marklogic.com/guide/relnotes/chap3> in the Release Notes * Tutorials: * Entity Services<http://developer.marklogic.com/learn/entity-services> * Optic API<http://developer.
[MarkLogic Dev General] Announcing MarkLogic 9
Hello Community, I'm happy to announce that MarkLogic 9 is now available for download<http://developer.marklogic.com/products>. MarkLogic 9 provides new features and enhancements to make data integration easier and more powerful. Entity Services<http://docs.marklogic.com/guide/entity-services/intro> helps define a model for your integrated data, supporting the creation of a scalable, performant data hub. Moving data into, out of, or between MarkLogic clusters will be easier with the Data Movement SDK<http://docs.marklogic.com/guide/java/data-movement>. With Template-Driven Extraction<http://docs.marklogic.com/guide/app-dev/TDE>, you can now get data into the indexes without modifying your document structure. The Optic API<http://docs.marklogic.com/guide/app-dev/OpticAPI> powers document joins and aggregates, group-bys and other tabular operations on data stored in documents. MarkLogic's government-grade security takes the next step, adding Encryption at Rest<http://docs.marklogic.com/guide/security/encryption#> and Element-Level Security<http://docs.marklogic.com/guide/security/element#>. With the new Redaction<http://docs.marklogic.com/guide/app-dev/redaction> feature, it's easier to make production data safe for use in your development and test environments. Managing MarkLogic has gotten easier too. Rolling upgrades<http://docs.marklogic.com/guide/admin/rolling-upgrades> mean less downtime when upgrading a cluster, while Telemetry<http://docs.marklogic.com/guide/monitoring/telemetry> streamlines communication with the Support team. Developers should take a look at the improvements to Query Console<http://docs.marklogic.com/guide/relnotes/chap3#id_98737>, including profiling for Server-side JavaScript, editing aids, and better results display. Beyond QC, there are new geospatial capabilities<http://docs.marklogic.com/guide/relnotes/chap3#id_83759> and several enhancements to the REST<http://docs.marklogic.com/guide/relnotes/chap3#id_23470>, Java<http://docs.marklogic.com/guide/relnotes/chap3#id_65307>, and Node.js APIs<http://docs.marklogic.com/guide/relnotes/chap3#id_53771>. You'll also be able to take more control of stemming and tokenization<http://docs.marklogic.com/guide/relnotes/chap3#id_28687> and wildcarding<http://docs.marklogic.com/guide/relnotes/chap3#id_25301>. Here are some resources you can use to explore what MarkLogic 9 has to offer: * MarkLogic University's What's New in MarkLogic 9<https://mlu.marklogic.com/selfpaced/course/mlnine/>? self-paced course * New Features in MarkLogic 9<http://docs.marklogic.com/guide/relnotes/chap3> in the Release Notes * Tutorials: * Entity Services<http://developer.marklogic.com/learn/entity-services> * Optic API<http://developer.marklogic.com/learn/optic-api> * Template-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 Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, The big news for this month is, of course, MarkLogic World, coming up May 15th – 18th in Chicago, June 1st in Tokyo, and June 12th-14th in London. You may have already checked the agenda and seen the content on data integration; security & governance; cloud, infrastructure, & agility. My favorite part is that I get to talk to you folks directly. It's a great chance to chat with members of the community about what they would like from the developer site, the documentation, community-driven projects, and other learning resources. Releases * MarkLogic 8.0-6.4<http://developer.marklogic.com/products> — check the list of bug fixes here: https://help.marklogic.com/Bugtrack/List * Paxton has released version 1.1.2<https://github.com/marklogic/marklogic-data-hub/releases/tag/v1.1.2> of the Data Hub Framework. If you're coming to MarkLogic World, you'll hear more about the framework there. * Sanju has released a Zeppelin interpreter for MarkLogic<https://github.com/sanjuthomas/zeppelin-marklogic-interpreter>. Zeppelin is a web-based notebook that enables interactive data analytics. Sanju would like to gauge the community's interest in the project and is looking for contributors, particularly people familiar with JSearch. If you find this interesting, you can write back to me off-list and I'll pass that along. Events * Have I mentioned MarkLogic World Chicago? https://world.marklogic.com/ * Online, May 4th: Powering Content in the Publishing and Media Industries<http://www.marklogic.com/events/powering-content-publishing-media-industries/> * Boston, May 8th: Delivering a Data First Strategy for Digital Transformation<https://www.meetup.com/MarkLogic-NoSQL-Boston/events/239300434/> * McLean, VA, May 9th: Maximizing Your MarkLogic and Java Investments<https://www.meetup.com/Mark-Logic-User-Group/events/239281063/?rv=ea1> * London, May 16th: The Intelligence Data Hub<https://www.meetup.com/semantic-web-london/events/239464000/> * Boston, May 30th: Enable Existing Client Services Apps by Consuming Aggregated NoSQL Data<https://www.meetup.com/MarkLogic-NoSQL-Boston/events/239300508/> * Tokyo, June 1st: MarkLogic World Tokyo * London, June 13th: MarkLogic World London As always, if you'd like one of the Meetup talks to come to a city near you, let me know. Content * Arthi Ramachandran explains how Windows Server 2016 makes it easier to create MarkLogic Docker images<http://developer.marklogic.com/blog/Marklogic-Docker-Windows> * Paxton Hare looks at Seven Reasons to use a Range Index in MarkLogic<http://developer.marklogic.com/blog/seven-reasons-for-range-indexes> * Karl Erisman of Avalon Consulting wrote about Enterprise data integration with the MarkLogic Data Hub Framework<https://www.linkedin.com/pulse/enterprise-data-integration-marklogic-hub-framework-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/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Regarding MarkLogic
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 Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of "Mani, Sivasubramani (ELS)" mailto:s.m...@elsevier.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, April 24, 2017 at 9:01 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Regarding MarkLogic Hi Team, How can I be sure that a query has been resolved completely in index and have not accessed in the disk. Thanks & Regards, Siva ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Updating graph with Curl
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.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Ghislain Atemezing mailto:ghislain.atemez...@mondeca.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, April 12, 2017 at 12:04 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Updating graph with Curl Hi Dave, I don’t remember I found something interesting in the logs. Something along these lines: {"errorResponse":{"statusCode":500, "status":"Internal Server Error", "messageCode":"INTERNAL ERROR", "message":"XDMP-EXTIME: map:put(map:map(http://www.w3.org/2001/XMLSchema\"; xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"; .../>), $graph, (map:get(map:map(http://www.w3.org/2001/XMLSchema\"; xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"; .../>), $graph), .)) -- Time limit exceeded Yes, I’ve used mlcp to load the billion triples in the triple store. What I want know it to do multithreading operations to update my dataset. Best, Ghislain Le 12 avr. 2017 à 17:30, Dave Cassel mailto:dave.cas...@marklogic.com>> a écrit : 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. -- 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 Ghislain Atemezing-Pro mailto:ghislain.atemez...@mondeca.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, April 12, 2017 at 11:18 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Updating graph with Curl Hello, I am having an issue when trying to update my endpoint using curl with some triples in a .nq file. The file contains almost 2Mio triples and I wanted to update my repository. Here is the command: curl --anyauth --user mondeca:MdK2016! -i -X POST --data-binary @./.nq -H "Content-type: application/n-quads" 'http://myhost:8000/v1/graphs?database=m<http://localhost:8000/v1/graphs?database=opoceProd>ydataset' I am having timeout after setting the limit to 600s and 1200s. Below is the error I receive: HTTP/1.1 500 Internal Server Error Content-type: application/json; charset=UTF-8 Server: MarkLogic Content-Length: 500 Connection: Keep-Alive Keep-Alive: timeout=5 Is there any good practice to do for this kind of task? Am I using a wrong Curl command to update my repository? Thanks in advance for any help. Best, Ghislain -- Ghislain A. Atemezing, Ph.D R&D Engineer @ Mondeca, Paris, France Labs: http://labs.mondeca.com<http://labs.mondeca.com/> Tel: +33 (0)1 4111 3034 Web: www.mondeca.com<http://www.mondeca.com/> Twitter: @gatemezing About Me: http://atemezing.org<http://atemezing.org/> ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general Ghislain A. Atemezing, Ph.D R&D Engineer SemWeb @ Mondeca, Paris, France Labs: http://labs.mondeca.com<http://labs.mondeca.com/> Tel: +33 (0)1 4111 3034 Web: www.mondeca.com<http://www.mondeca.com/> Twitter: @gatemezing About Me: https://w3id.org/people/gatemezing ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Updating graph with Curl
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. -- 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 Ghislain Atemezing-Pro mailto:ghislain.atemez...@mondeca.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, April 12, 2017 at 11:18 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Updating graph with Curl Hello, I am having an issue when trying to update my endpoint using curl with some triples in a .nq file. The file contains almost 2Mio triples and I wanted to update my repository. Here is the command: curl --anyauth --user mondeca:MdK2016! -i -X POST --data-binary @./.nq -H "Content-type: application/n-quads" 'http://myhost:8000/v1/graphs?database=m<http://localhost:8000/v1/graphs?database=opoceProd>ydataset' I am having timeout after setting the limit to 600s and 1200s. Below is the error I receive: HTTP/1.1 500 Internal Server Error Content-type: application/json; charset=UTF-8 Server: MarkLogic Content-Length: 500 Connection: Keep-Alive Keep-Alive: timeout=5 Is there any good practice to do for this kind of task? Am I using a wrong Curl command to update my repository? Thanks in advance for any help. Best, Ghislain -- Ghislain A. Atemezing, Ph.D R&D Engineer @ Mondeca, Paris, France Labs: http://labs.mondeca.com Tel: +33 (0)1 4111 3034 Web: www.mondeca.com<http://www.mondeca.com> Twitter: @gatemezing About Me: http://atemezing.org ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] MarkLogic unexpected REST authentication (digest)
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-To: Nikunj Vekariya mailto:nikunjdvekar...@yahoo.com>> Date: Wednesday, April 12, 2017 at 7:33 AM To: Dave Cassel mailto:dave.cas...@marklogic.com>>, MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] MarkLogic unexpected REST authentication (digest) Hi Dave, Yes it is 401 error. I tried running the same script multiple times, but still throwing same error. Best, Nikunj On Wednesday, 12 April 2017 4:59 PM, Dave Cassel mailto:dave.cas...@marklogic.com>> wrote: 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. -- 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 Nikunj Vekariya mailto:nikunjdvekar...@yahoo.com>> Reply-To: Nikunj Vekariya mailto:nikunjdvekar...@yahoo.com>>, MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, April 12, 2017 at 7:24 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] MarkLogic unexpected REST authentication (digest) I am using MarkLogic 8.0-5.4 version. I created an REST instance @port 8100. The default http configuration for authentication is digest and default user is nobody. When I pass the following curl command it throws 401 unauthorized error. curl --anyauth --user admin:admin -X PUT -d "" -H "Content-type: application/xml" http://localhost:8100/v1/documents?uri=/shakespeare/plays/a_and_c.xml Even if I replace --anyauth with --digest it throws the same error. Also if I change the default user to admin and keep authentication to digest in admin, and try to run the same curl command it throws the same error. Basically if I keep authentication to digest, it throws 401 unauthorized error message. I want to use digest in my application. How shall I proceed to it? Best, Nikunj Vekariya ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] MarkLogic unexpected REST authentication (digest)
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. -- 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 Nikunj Vekariya mailto:nikunjdvekar...@yahoo.com>> Reply-To: Nikunj Vekariya mailto:nikunjdvekar...@yahoo.com>>, MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, April 12, 2017 at 7:24 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] MarkLogic unexpected REST authentication (digest) I am using MarkLogic 8.0-5.4 version. I created an REST instance @port 8100. The default http configuration for authentication is digest and default user is nobody. When I pass the following curl command it throws 401 unauthorized error. curl --anyauth --user admin:admin -X PUT -d "" -H "Content-type: application/xml" http://localhost:8100/v1/documents?uri=/shakespeare/plays/a_and_c.xml Even if I replace --anyauth with --digest it throws the same error. Also if I change the default user to admin and keep authentication to digest in admin, and try to run the same curl command it throws the same error. Basically if I keep authentication to digest, it throws 401 unauthorized error message. I want to use digest in my application. How shall I proceed to it? Best, Nikunj Vekariya ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, I'm sure you've heard that MarkLogic World is coming up in Chicago, London, and Tokyo. If you've never been, this video will give you an idea what people like about the event<https://www.youtube.com/watch?v=H01BMoZEzc4>. Content * Kurt Cagle wrote about Custom Functions in MarkLogic SPARQL<https://medium.com/metaphorical-web/custom-functions-in-marklogic-sparql-ad83a5bffdb9> * Karl Erisman reviews MarkLogic 9's row-oriented views and the Optic API<https://www.linkedin.com/pulse/marklogic-9-introduces-row-oriented-views-optic-api-karl-erisman> * Lee Pollington reviews XML's path through the hype curve in My Trusted Companion: XML (Which Is Now Everywhere)<http://www.marklogic.com/blog/why-i-love-xml-and-good-thing-its-everywhere/> Software Releases * MarkLogic versions 8.0-6.3<http://developer.marklogic.com/downloads> and 7.0-6.9<http://developer.marklogic.com/products/marklogic-server/7.0> are available on DMC. Check help.marklogic.com<https://help.marklogic.com/Bugtrack/List> to see the list of fixes in these releases. * Rob Rudin has released version 2.6.0 of ml-gradle<https://github.com/rjrudin/ml-gradle/releases/tag/2.6.0>, his MarkLogic application deployment project * Paxton Hare released version 1.1.1 of the Data Hub Framework<https://github.com/marklogic/marklogic-data-hub/releases/tag/v1.1.1>. If you haven't poked around with this project, take ten minutes and go through the tutorial<https://marklogic.github.io/marklogic-data-hub/> or watch MLU's video series<http://mlu.marklogic.com/ondemand/index.xqy?q=Series%3A%22Operational%20Data%20Hubs%22>. Time well spent. * Rob Rudin strikes again. Looking for a simpler way to migrate from an RDBMS to MarkLogic? Rob's ml-migration-starter<https://github.com/rjrudin/ml-migration-starter>, currently available with a 1.1.0 release, is a starter kit for doing just that. * Sanju Thomas presents a new project: kafka-connect-marklogic<https://github.com/sanjuthomas/kafka-connect-marklogic>, which lets you pull data from Kafka (stream processing) into MarkLogic. Events * Chicago, April 5: Data Hubs vs. Data Lakes - There's a difference! Which one is right for you? * Webinar, May 4: Powering Content in 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 get hands-on practice guided by experts. Check out the schedule at https://mlu.marklogic.com/registration/. Dave. -- Dave Cassel, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] mlproj, yet another project manager for MarkLogic
A couple notes: * the Roxy Deployer does support multiple environments (https://github.com/marklogic/roxy/wiki/Environment-properties); could you say more about the flexibility? * agreed that more people know JavaScript than Ruby * the Roxy Deployer supports app-types MVC, REST, and bare (the source code is whatever you choose to provide), with scaffolding available for MVC (controllers & views) and REST (extensions & transforms) In case this comes across as critical: while I'm a fan of focusing effort on a small number projects, if there's demand for a 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<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 Florent Georges mailto:li...@fgeorges.org>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, March 28, 2017 at 11:45 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] mlproj, yet another project manager for MarkLogic Hi Andreas, Thank you! Yes, it covers essentially the same function. It is still in development, and a bit experimental. So far, the main difference is the environment file format, that is more flexible to describe MarkLogic environments <http://mlproj.org/environments>. It is also meant to be extensible, and because it uses JavaScript, I hope it will be easier for people to extend it than using Ruby (just because it is better well-known). Another aspect is that is it meant to support several kinds of projects (a web application serving web pages in MarkLogic, or providing a RESTful API, etc.) The goal is to support people to create new types of projects, so users can start with a full-fledged scaffolding for the type of application then want to create (and not be restricted to only these I can come up with.) But as I said, it is still experimental, so I hope it will take feedback into account, especially features that newcomers and day-to-day users think are important. Regards, -- Florent Georges H2O Consulting http://h2o.consulting/ On 28 March 2017 at 16:49, Andreas Hubmer wrote: Hi Florent, Sounds interesting. >From what I've seen so far mlproj is similar to Roxy. Can you describe the differences? Regards, Andreas 2017-03-28 16:13 GMT+02:00 Florent Georges mailto:li...@fgeorges.org>>: Hi Dave, I do not know mlsound, so I can't really say. But given your question, the main difference is probably that mlproj is not for the Node.js environment. It only requires it as an "implementation detail", but it really is for MarkLogic, for any MarkLogic project, regardless of the technology it uses (JavaScript, XQuery, triples...) It only addresses the server-side of projects, nothing about any other layer, like Node.js. I am not sure about your second question. But if the question is "are the environment described using the same payload one can send to the Mgmt API to create databases and servers?", then the answer is no. I think it is an important feature of mlproj, that environments are described in a specific format, aimed at being clearer and more maintainable than the API payloads. Look at http://mlproj.org/environments (and the examples mentioned in the first paragraph.) Thank you for your interest :-) Regards, -- Florent Georges H2O Consulting http://h2o.consulting/ On 27 March 2017 at 18:40, Dave Cassel wrote: 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> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Florent Georges mailto:li...@fgeorges.org>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, March 27, 2017 at 7:27 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] mlproj, yet another project manager for MarkLogic Hi, I am happy to announce mlproj, yet another project manager for MarkLogic: http://mlproj.org/ Thanks to Node and NPM, it is dead easy to install and extend. It comes with a simple JSON format to describe MarkLogic environments, and
Re: [MarkLogic Dev General] mlproj, yet another project manager for MarkLogic
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> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Florent Georges mailto:li...@fgeorges.org>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, March 27, 2017 at 7:27 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] mlproj, yet another project manager for MarkLogic Hi, I am happy to announce mlproj, yet another project manager for MarkLogic: http://mlproj.org/ Thanks to Node and NPM, it is dead easy to install and extend. It comes with a simple JSON format to describe MarkLogic environments, and commands to create and deploy them. Though of course it is not restricted to JavaScript and JSON, and handles XML and XQuery, and triples and SPARQL all the same. It is still in development, and is expected to evolve quite rapidly. But it is already usable for most simple actions. Any feedback welcome, either here, or on http://twitter.com/fgeorges, or on http://github.com/fgeorges/mlproj. Have fun! Regards, -- Florent Georges H2O Consulting http://h2o.consulting/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Element Range Index query not working
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>> on behalf of Mat Gritt mailto:mat.gr...@solnet.co.nz>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, March 16, 2017 at 5:12 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Element Range Index query not working How do I unsubscribe to this list? Thank you for your help Mat From: mailto:general-boun...@developer.marklogic.com>> on behalf of Geert Josten mailto:geert.jos...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, 17 March 2017 at 10:09 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Element Range Index query not working Hi Shan, You search on a date that is larger than the two dates in the data, and also specify GT (Greater Than). That will not match either of the startDates. Have you tried with LT or LE? Not sure if it is relevant, but you provide a date to a dateTime query. Kind regards, Geert From: mailto:general-boun...@developer.marklogic.com>> on behalf of Shiv Shankar mailto:shiv.shivshan...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, March 16, 2017 at 8:53 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Element Range Index query not working Hi, My below query below is failing by fetching all data. sample data: { "pid": 1, "fname": "", "lname": "", "pinfo": [ { "screen": "1", "startDate": "2003-02-13T19:18:21.810Z", "endDate": "" }, { "screen": "2", "startDate": "2002-02-13T19:18:21.810Z", "endDate": "" } ] } Search Post: {"query":{"queries":[{"range-query":{"type":"dateTime","json-property":"startDate","value":"2004-05-25","range-operator":"GT"}}]}} Note: created element range index on startDate. Any advise for REST service to compare between the two dates ( that has timestamp) ( I did with QBE also)? Thanks Shan. ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] MarkLogic Early Access
Hello Community, MarkLogic 9 Early Access 4 (beta release) is now open to anyone who wants to explore what's next. If you haven’t yet joined our Early Access program, please register at https://ea.marklogic.com<https://ea.marklogic.com/>. MarkLogic 9 is our most ambitious release ever. The release is the result of a massive, multi-year R&D effort and we’re excited for you to try it out and give feedback. In MarkLogic 9, data integration is simpler with Entity Services, the Optic API, Template Driven Extraction, and the Data Movement SDK. Your data is more secure with Advanced Encryption, Element-Level Security, and Redaction. Administrators will be happy to see the new Ops Director and Telemetry features. There are also major enhancements to current capabilities, including Tiered Storage, Geospatial, Language Support, and Query Console. When you register for 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://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] A newbie question
Are you running on localhost? If not, there may be a problem with a firewall. It doesn't sound like it, but maybe there's a permissions problem with the file system. The daemon user that runs MarkLogic needs to have read permissions on the files you want to read and (I think) 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://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 "Kaza, Sriram" mailto:sk...@kemper.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, March 10, 2017 at 11:55 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] A newbie question I executed the Self-paced Developer's XQuery class code for creating an HTTP AppService for 8030-world-leaders and placed hello.xqy in the root directory of the filesystem where it is supposed to look. I get an "This site can’t be reached" error when I issue the URL "http://<.host>:8030/hello.xqy" in the browser. Where do I look for errors on the server? How do I troubleshoot this? Any pointers are helpful. I see that the Oracle-Linux server is listening on port 8030 when I issue netstat -a |grep 8030 I do not see any entries in either ErrorLog.txt or 8030_AccessLog.txt in the Logs directory. The HTTP Service is not red (indicating any error). Also when I delete the 8030-world-leaders HTTP AppServer and netstat -a |grep 8030 does not show the row "tcp 0 0 0.0.0.0:8030 0.0.0.0:* LISTEN". After I create the HTTP AppServer, it shows up in netstat -a. So, I am assuming it is able to run the HTTP service but I am thinking there should be some logs or something I can use to troubleshoot if the HTTP service is able to see my request If I do a wget, I get a message saying "Connected. HTTP request sent, awaiting response 401 Unauthorized Authorization failed." This makes an entry in the 8030_AccessLog.txt with a message "GET /hello.xqy HTTP/1.1" 401 209 - "Wget/1.14 (linux-gnu)" The hello.xqy has the following contents: xquery version "1.0-ml"; "Hello World!" Is there some authorization/security that I have to enable for the HTTP Service? The HTTP service root directory /marklogic/apps2 and the file hello.xqy have permissions for ‘daemon’ to read. Thanks, Sriram Sriram Kaza Oracle DBA Kemper Corporate Services One Tower Lane, Lower Level, Oakbrook Terrace, IL 60181 630.368.8047 sk...@kemper.com<mailto:sk...@kemper.com> kemper.com<http://kemper.com> [cid:image78bb86.JPG@674d4ec0.4296a44f] CONFIDENTIALITY NOTICE: This communication may contain confidential information intended only for the addressee(s). If you received this communication in error, please notify the sender and delete it from your system. ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, MarkLogic World<https://world.marklogic.com/> registration is open for Chicago, London, and Tokyo. We're already getting a lot of interest in the hands-on workshops, so if you want to participate in one, reserve your spot! The workshops this year are: Multimodel in Action with Search; Protecting, Sharing, and Governing Sensitive Information with MarkLogic; and Integrating Your Data with the MarkLogic Data Hub Framework. Content * We won another award! MarkLogic is the 2017 DEVIES winner for best Data Developer tools. Check out my post<http://www.marklogic.com/blog/2017-devies-award-winner/> for more information. * Paxton Hare wrote up A Checklist for Optimizing Query Performance<http://developer.marklogic.com/blog/performance-checklist>. Community Projects * Paxton's been busy. In January he also released a stand-alone XQuery MarkLogic debugger<https://github.com/paxtonhare/marklogic-debugger>, currently at v1.0.0-alpha.8. Check out his video showing how it works<https://youtu.be/gehl1hp4Bvw>. * The Roxy team released version 1.7.5<https://github.com/marklogic/roxy/releases/tag/v1.7.5>. * Marianne Myer's slush-marklogic-dotnet project generator<https://github.com/mariannemyers/slush-marklogic-dotnet> is up to version 2.0. * Jim Fuller has released version 1.0.3 of RXQ<https://github.com/xquery/rxq>, used for building XQuery-based MVC/REST apps. * David Lee has some Docker scripts to share<https://github.com/DALDEI/ml-docker>. * The New Relic plugin<https://github.com/marklogic/newrelic-plugin> for monitoring MarkLogic is up to version 0.2.8. Events * Los Angeles, March 9: Smart Content Summit<http://www.marklogic.com/events/smart-content-summit/> * McLean, VA, March 23: Mission Critical Data on the Move<http://www.marklogic.com/events/mission-critical-data-move/> * Santa Clara, CA, March 29: Multi-model Data Management for a Complex World<http://globalbigdataconference.com/santa-clara/big-data-bootcamp-79/speaker-details/david-cassel-41531.html> (hands-on workshop) * Amsterdam, March 29: MarkLogic Meetup - Situational Awareness<https://www.meetup.com/MarkLogic-User-Group-Benelux/events/237849373/> * Berlin, March 29: ETL Prozesse reduzieren durch Data Point Modelling in einer NoSQL Datenbank<https://www.meetup.com/MarkLogic-User-Group-NoSQL-Database-Technology/events/235981792/> * Frankfurt, March 30: ETL Prozesse reduzieren durch Data Modelling in einer NoSQL Datenbank<https://www.meetup.com/MarkLogic-User-Group-NoSQL-Database-Technology/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://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Best way to copy database
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 Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Gary Larsen mailto:gary.lar...@envisn.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, February 20, 2017 at 12:16 PM To: 'MarkLogic Developer Discussion' mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Best way to copy database On reread looks like I’m missing -output_type archive and -input_file_type archive [Envisn]<http://www.envisn.com/> Gary Larsen | Envisn, Inc.<http://www.envisn.com/> | 508.259.6465 | Envisn's IBM Cognos Blog<http://www.envisn.com/blog> From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Gary Larsen Sent: Monday, February 20, 2017 12:08 PM To: 'General MarkLogic Developer Discussion' Subject: [MarkLogic Dev General] Best way to copy database I need to copy an ML database (with data) for testing. MLCP export and import brought over the same number of documents, but the collection data was missing. The docs say copy_collections true is the default option. Adding to the command line yielded similar results. I don’t you this much so I must be doing something wrong. Thanks for any advice. Gary ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Code typo in guide
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/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Florent Georges mailto:li...@fgeorges.org>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, February 6, 2017 at 7:44 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Code typo in guide Hi, There is a typo in the Search Dev Guide, in the chapter on jsearch, section "Searching Documents", for instance at the following URL: http://docs.marklogic.com/guide/search-dev/javascript#id_30559 (but typo is still there on the EA doc). The code example uses "results()" instead of "result()", twice. Regards, -- Florent Georges H2O Consulting http://h2o.consulting/ - New website! ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] unsubscribe
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.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of David Baker mailto:bakerda...@comcast.net>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, February 3, 2017 at 8:34 PM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] unsubscribe David Baker 651.260.6544 ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, Planning to watch the SuperBowl this weekend? I've got three home-brewed beers ready for my guests. It's the one time we'll watch TV commercials. DMC Content The DMC blog has more posts about using MarkLogic with containers, both by Bill Miller: * Creating an MLCP Docker container with pre-loaded data<http://developer.marklogic.com/blog/docker-mlcp> * Deploying a Marklogic Cluster using Kubernetes and NGINX<http://developer.marklogic.com/blog/docker-deploy-kubernetes> I'm also planning to update the DMC Tools page<http://developer.marklogic.com/code>. I'm curious: what Community projects do you rely on? Write back and let me know. Software Releases The big news is that MarkLogic 9 Early Access 4 is now available. Sign up for access at https://ea.marklogic.com/. January was a busy month for Community projects: * Rob Rudin released version 2.5.0 of ml-gradle<https://github.com/rjrudin/ml-gradle/releases/tag/2.5.0> (Gradle plugin for automating anything you can imagine with MarkLogic) * Patrick McElwee released version 3.0.0 of ml-analytics-dashboard-ng<https://github.com/patrickmcelwee/ml-analytics-dashboard-ng> (AngularJS analytics dashboard for use with MarkLogic database) * Scott Stafford released version 0.9.0 of marklogic-spring-batch<https://github.com/sastafford/marklogic-spring-batch> (A comprehensive and robust solution for writing batch processing applications in MarkLogic) * Marianne Myers released version 2.0 of slush-marklogic-dotnet<https://github.com/mariannemyers/slush-marklogic-dotnet> (slush generator for an Angular/ASP.NET Core/MarkLogic application) * Joe Bryan released version 1.0.2 of ml-common-ng<https://github.com/joemfb/ml-common-ng> (An angular module of common components for the MarkLogic REST API) * AppDynamics released version 1.0 of marklogic-monitoring-extension<https://github.com/Appdynamics/marklogic-monitoring-extension> (AppDynamics Monitoring Extension for use with MarkLogic) * Joe Bryan released version 0.2.8 of ml-search-ng<https://github.com/joemfb/ml-search-ng> (angular module for MarkLogic search applications) * Paxton Hare released version 2.0.0-alpha.2 of the Data Hub Framework<https://github.com/marklogic/marklogic-data-hub> (A data hub framework for MarkLogic. The 2.0.0 release is based on MarkLogic 9 EA) * Rob Rudin released version 1.0.0 of ml-migration-starter<https://github.com/rjrudin/ml-migration-starter> (Starter kit for migrating data from any relational database into MarkLogic using Spring Batch) Events * Webinar, February 21: Catching Bad Guys with Technology<http://carahsoft.adobeconnect.com/marklogic> * Berlin, March 29: ETL Prozesse reduzieren durch Data Point Modelling in einer NoSQL Datenbank<https://www.meetup.com/MarkLogic-User-Group-NoSQL-Database-Technology/events/235981792/> * Frankfurt, March 30: ETL Prozesse reduzieren durch Data Modelling in einer NoSQL Datenbank<https://www.meetup.com/MarkLogic-User-Group-NoSQL-Database-Technology/events/235981853/> Also, registration has opened for MarkLogic World. We'll be in Chicago, London, and Tokyo this 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>. Ever wondered how to use LDAP with MarkLogic? -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] General Digest, Vol 151, Issue 20
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<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 "Kapoor, Pragya" mailto:pkapo...@innodata.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, January 27, 2017 at 7:53 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] General Digest, Vol 151, Issue 20 Hi Matthew, How can the below used in MarkLogic 5? Thanks Pragya From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> mailto:general-boun...@developer.marklogic.com>> on behalf of Kapoor, Pragya mailto:pkapo...@innodata.com>> Sent: Wednesday, January 11, 2017 3:41:44 PM To: general@developer.marklogic.com<mailto:general@developer.marklogic.com> Subject: Re: [MarkLogic Dev General] General Digest, Vol 151, Issue 20 Thanks a million [??] This works for me. From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> mailto:general-boun...@developer.marklogic.com>> on behalf of Matthew Royal mailto:masyu...@gmail.com>> Sent: Wednesday, January 11, 2017 1:10:27 PM To: general@developer.marklogic.com<mailto:general@developer.marklogic.com> Subject: Re: [MarkLogic Dev General] General Digest, Vol 151, Issue 20 Pragya, Regarding xml to json conversion, where the resulting output is headless. I wrote a library that can do this. You will need to upload it to your modules database at /utilities/jsonify.xqy or wherever is convenient. jsonify.xqy at https://gist.github.com/masyukun/4190b195afb02e940453c3fbb829dcc4 xquery version "1.0-ml"; import module namespace jsontools = "http://matthewroyal.com/marklogic/jsontools"; at "/utilities/jsonify.xqy"; import module namespace json = "http://marklogic.com/xdmp/json"; at "/MarkLogic/json/json.xqy"; let $xml := /docs/abc.xml add XYZ fsddd sdgsdsdsdsdsdsdsdsdsdsd text Period aertw hegheh eheheh ghhehe text return jsontools:jsonify( $xml/child::*, "headless" ) Returns: {"document-id":"/docs/abc.xml", "action":"add", "metadata":[{"name":"XYZ", "value":"fsddd sdgsdsdsdsdsdsdsdsdsdsd", "type":"text"}, {"name":"Period", "value":"aertw hegheh eheheh ghhehe", "type":"text"}]} Matthew Royal MarkLogic Senior Consultant On Tue, Jan 10, 2017 at 5:31 AM, mailto:general-requ...@developer.marklogic.com>> wrote: Send General mailing list submissions to general@developer.marklogic.com<mailto:general@developer.marklogic.com> To subscribe or unsubscribe via the World Wide Web, visit http://developer.marklogic.com/mailman/listinfo/general or, via email, send a message with subject or body 'help' to general-requ...@developer.marklogic.com<mailto:general-requ...@developer.marklogic.com> You can reach the person managing the list at general-ow...@developer.marklogic.com<mailto:general-ow...@developer.marklogic.com> When replying, please edit your Subject line so it is more specific than "Re: Contents of General digest..." Today's Topics: 1. Re: Json file (Kapoor, Pragya) -- Message: 1 Date: Tue, 10 Jan 2017 10:31:44 + From: "Kapoor, Pragya" mailto:pkapo...@innodata.com>> Subject: Re: [MarkLogic Dev General] Json file To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Message-ID: mailto:hk2pr02mb1364a2c18ce6f1508ddc25a3ea...@hk2pr02mb1364.apcprd02.prod.outlook.com>> Content-Type: text/plain; charset="us-ascii" Hi Dharmendra, Thanks for the reply, but didnt work the Required output is: {"document-id":"\/docs\/abc.xml", "action":"add", "metadata":[{"name":"XYZ", "value":"fsddd sdgsdsdsdsdsdsdsdsdsdsd", "type":"text"},{"name":"Period", &quo
Re: [MarkLogic Dev General] How to get the number of records ingested by a MLCP hit
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 Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of David Lee mailto:david@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, January 12, 2017 at 10:41 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] How to get the number of records ingested by a MLCP hit Depending on your use case and scenarios, mlcp is an application layer built on XCC and HDFS libraries, as well as application logic. If you like the feature set of mlcp and just want to call it from java then In would recommend as did Sam to call it as a sub process (Runtime.exec()). I do *not* recommend calling it in the same JVM as your java code -- there is no significant performance or feature gains and there is risk of 'contamination' of the global memory space between your app and MLCP. If you follow the 'best practice' for running sub-processes in Java, MLCP will work well in that mode. In particular, pay attention to making sure that the input and output streams of the process don’t stall or deadlock - this is well documented in the Oracle Java API's for sub process. ( not particular to MLCP). You will need to read the stdout of mlcp concurrently with writing any input provided to it or redirect the subproject's input, output, error streams to a file. This will give you the full feature set of mlcp. If you are looking for a java library intended to be embedded into a Java app, The suggested Java based library for embedded use is the Java SDK which is based on the REST framework. It is different than MLCP but at about the same abstraction level, and is a library intended for embedded use. If you are looking for the same underlying protocol that mlcp uses (but minus the application level features and HDFS support), MLCP uses the XCC library as the transport layer for direct access to ML. XCC is a library intended for imbedded use. It’s a low-level library -- so it doesn’t have the high level features that MLCP has, nor is it as easy to use or debug but it is what MLCP uses for direct ML communication, is publicly downloadable and documented. I would have recommended it as the it only if the Java API does not do what you need. In that case We would appreciate any input into what issues you have as it is designed to be much more usable at the 'application layer' in a Java app then XCC is, supporting directly high level features like complex search, data mapping etc. and in general is a good abstraction layer for middle tier Java Applications, analogous to say Hibernate -- whereas XCC is more analogous to JDBC. From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Sam Mefford Sent: Wednesday, January 11, 2017 2:33 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] How to get the number of records ingested by a MLCP hit I'm sure you could find a way. But using mlcp in a Java application is not a supported usage. mlcp is designed to run at the command-line. Sam Mefford Senior Engineer MarkLogic Corporation sam.meff...@marklogic.com<mailto:sam.meff...@marklogic.com> Cell: +1 801 706 9731 www.marklogic.com<http://www.marklogic.com> This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation. From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>] on behalf of Yogesh Kumar [yogiman...@gmail.com<mailto:yogiman...@gmail.com>] Sent: Wednesday, January 11, 2017 4:10 AM To: general@developer.marklogic.com<mailto:general@developer.marklogic.com> Subject: Re: [MarkLogic Dev General] How to get the number of records ingested by a MLCP hit Gentle reminder!! On 09-Jan-2017 3:44 PM, "Yogesh Kumar" mailto:yogiman...@gmail.com>> wrote: Gentle
Re: [MarkLogic Dev General] Getting element/attribute names and their usage frequency using Rest API
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> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Bhushan Suryawanshi mailto:bsuryawan...@xenomorph.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, January 5, 2017 at 11:44 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Getting element/attribute names and their usage frequency using Rest API Hi Guys, Any idea on the below request? Thanks & Regards, Bhushan Suryawanshi From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Bhushan Suryawanshi Sent: Wednesday, January 4, 2017 4:33 PM To: general@developer.marklogic.com<mailto:general@developer.marklogic.com> Subject: [MarkLogic Dev General] Getting element/attribute names and their usage frequency using Rest API Hello Guys, I was working on MarkLogic 8 using REST API. I want to retrieve all the element and attributes of a XML/JSON document using REST API. I have went through the MarkLogic documentation and couldn’t find a way. Consider the following XML: … . I want my search results to include list of TITLE,FM,PERSONAE and so on Any help would be greatly appreciated. Bhushan Suryawanshi Developer t: +1-212-401-7894 www.xenomorph.com<http://www.xenomorph.com/?mail> | blog<http://xenomorph.typepad.com/?mail> | twitter<http://goo.gl/oaBWO> | linkedin<http://goo.gl/rdi8W> This email is confidential and is intended only for the addressee. If you are not the intended recipient, please note that any dissemination, distribution or copying of this email is strictly prohibited. Any and all estimates, proposals, quotes and fees contained herein are for discussion purposes only and are not contractually binding unless executed in accordance with the standard practices of the Company. Attachments to this message have been virus checked but no guarantee can be made that any attachment is virus free. Please notify us immediately of any problem. ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, With the dawning of 2017, it's a good time to look back at some statistics from 2016. * there were 1338 emails sent to this list * we saw 435 new questions with the "marklogic" tag on Stack Overflow (a record high) * 234 new repositories on GitHub mentioned "marklogic" in their descriptions (another record high) Our community may not be as big as some of the other names out there, but we're active and growing! If you'd like to know about new questions on Stack Overflow<http://stackoverflow.com/tags/marklogic>, hover over the "marklogic" tag anywhere it appears, then click "subscribe". You'll get a once-daily email listing new questions with that tag. You can also follow @rundmcbot<https://twitter.com/rundmcbot> on Twitter to see new questions and blog posts. Community Projects * Paxton updated his Sublime Text MarkLogic plugin<https://github.com/paxtonhare/MarkLogic-Sublime> to work with MarkLogic 9 (early access) * Tom McGrath has started a MarkLogic Cloud Foundry Service Broker project<https://github.com/thomaswmcgrath/marklogic-service-broker> and would like to hear from community members about what features are most important * Jim Fuller has set up a collection of command-line utilities<https://github.com/xquery/ml-utils> for working with MarkLogic Events * Jan 31, Tysons Corner, VA: Data Hubs vs. Data Lakes - There's a difference! Which one is right for you?<https://www.meetup.com/Mark-Logic-User-Group/events/236638223/> * Feb 2, Frankfurt, Germany: MarkLogic Partner Day<https://www.marklogic.com/events/marklogic-partner-day-frankfurt-feb2/> Educational Materials * Alan Johnson and Tamas Piros followed up an earlier post<http://developer.marklogic.com/blog/building-a-marklogic-docker-container> with Automating MarkLogic Docker Installs<http://developer.marklogic.com/blog/docker-marklogic-initialization>. * MarkLogic University has released 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 Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Remove first page of pdf
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/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of "Kapoor, Pragya" mailto:pkapo...@innodata.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, December 13, 2016 at 6:31 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Remove first page of pdf Hi, We need to remove the first page of PDF document and then ingest it, in ML DB. Is this feasible in MarkLogic? Thanks Pragya "This e-mail and any attachments transmitted with it are for the sole use of the intended recipient(s) and may contain confidential , proprietary or privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this e-mail or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful." ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, Time for the annual crunch to get projects done before the holidays arrive. Enjoy whichever holidays you celebrate! Events * December 6th, Burlington, MA: NoSQL for Newbies, Lunch & Learn<https://www.meetup.com/MarkLogic-NoSQL-Boston/events/235023490/> * December 8th, webinar: Connecting Data Silos — Inside and Outside Your Department<http://www.marklogic.com/events/webinar-connecting-data-silos-inside-outside-department/> * December 13th, Utrecht: MarkLogic Meetup<https://www.meetup.com/MarkLogic-User-Group-Benelux/events/235448279/> * December 14th, San Carlos, CA: SQL on NoSQL – Towards a Smoother Transition<https://www.meetup.com/Peninsula-NoSQL-Meetup/events/235772712/> DMC Content * Ken Tune introduces a tool to tie MarkLogic's Monitoring API to AWS's CloudWatch<http://developer.marklogic.com/blog/monitoring-your-aws-cluster-with-cloudwatch> * Scott Parnell shows how to optimize search performance using xdmp:plan() in A goal without a plan is just a wish<http://developer.marklogic.com/blog/working-with-xdmp-plan> Do you run your software in the cloud? I added a link on the DMC Tutorials page<http://developer.marklogic.com/learn> to the MarkLogic On AWS Whitepaper<http://www.marklogic.com/resources/marklogic-aws/>. Software Releases * MarkLogic Engineering made two releases<https://github.com/marklogic/marklogic-sesame/releases> of the Sesame library for different versions of MarkLogic * The MarkLogic Data Hub project<https://github.com/marklogic/marklogic-data-hub> is up to release 1.0.2 * Geert Josten put out version 1.0.3 of mlvagrant<https://github.com/grtjn/mlvagrant> ("Scripts for bootstrapping a local MarkLogic cluster for development purposes using Vagrant and VirtualBox") * Patrick McElwee's ml-analytics-dashboard-ng is up to version 2.2.5 ("AngularJS library is an adaptation of Jianmin Liu's analytics-dashboard" Community developers have made updates 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 have two days of material. Double the triples! Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Roxy request not getting properly redirected.
Hi Amit, The built-in routing is intended to use main as the default function, so this path: "/topics" would normally go to the topics' controller's main function, while "/topics/topics" would go to the topics function in the topics controller. I see that you want the simpler URL path to go to the topics function instead. I played around with your example for a bit and I got it to work by changing the endpoint: topics The endpoint can't point to the controller itself, because the target needs to be a 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 under src/roxy, as that can change). Dave. -- 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.marklogic.com>> on behalf of amit gope mailto:amitgo...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, November 25, 2016 at 11:04 PM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Roxy request not getting properly redirected. Hi All, I am using a roxy configuration and I created an endpoint routing like this to the list of existing routing definitions: topics and I created a controller named topics.xqy, a model named topics-model.xqy and views topics This is how my topics contoller looks like xquery version "1.0-ml"; module namespace c = "http://marklogic.com/roxy/controller/topics";; import module namespace ch= "http://marklogic.com/roxy/controller-helper"; at "/roxy/lib/controller-helper.xqy"; import module namespace req = "http://marklogic.com/roxy/request"; at "/roxy/lib/request.xqy"; import module namespace error = "http://marklogic.com/roxy/error-lib"; at "../views/helpers/error-lib.xqy"; import module namespace topics = "http://marklogic.com/roxy/models/topics"; at "/app/models/topics-model.xqy"; declare option xdmp:mapping "false"; declare variable $RES-TYPE as xs:string := "Topics"; declare variable $ALL-FORMATS as xs:string+ := ("html", "xml", "json", "text"); (: Default function that is returns an error message :) declare function c:main() as item()* { error:error-handling( 500, fn:concat("Not supported, not sure why")) }; declare function c:topics() as item()* { let $result := topics:topics("RBO-TOPIC-ROOT","parents","", "ALL") return ( ch:use-view("topics/topics",$ALL-FORMATS), ch:add-value("result", $result), ch:add-value( "res-header", element header { element Date {fn:current-dateTime()}, element Location {fn:concat("/",fn:lower-case($RES-TYPE),())}, element Content-Type {req:get("req-header")/content-type/fn:string()} } ) )}; The model has the code of getting me the topics as per my application requirement. When I make a request through postman like this http://localhost:8018/topics it always goes to the main function and throws the error, and never goes to the desired topics function. Why is that so? What mistake am I doing. Please suggest. Best Regards Amit ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] epub - opf file to xml
In the code snippet below, you've retrieved the binary document, not the filtered XHTML. If you've stored the XHTML as properties on the binary document, then use the "category" parameter on GET /v1/documents specifying both "content" (binary) and "properties". Note that you'll get a multipart/mixed response. A common pattern while working with binaries is to store the binary and XHTML in separate files, then (using a collection or directory) restrict searches to the XHTML content. You can then present some interesting results to your users, 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...@developer.marklogic.com>> on behalf of Rajesh Kumar mailto:rajava...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, November 3, 2016 at 7:52 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] epub - opf file to xml Hi Dave, I tried below code by creating rest instance in 8020 port and it worked fine. As i want to implement xpath on the opf content document-filter didn't work for me eventhough it converted to xhtml format. Code snippet: xdmp:document-get("http://:8020/v1/documents?uri=/epub/sample/OPS/package.opf";, full xml ) Thanks for your response. Regards, Rajesh ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] epub - opf file to xml
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 Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Rajesh Kumar mailto:rajava...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, November 3, 2016 at 7:03 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] epub - opf file to xml Hi Team, How to convert opf file of an epub to xml in MarkLogic? I want to extract information from opf file for searching. Regards, Rajesh ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Community Newsletter
"… 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/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Dave Cassel mailto:dave.cas...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, November 1, 2016 at 12:30 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Community Newsletter Hello Community, In the past week near Philadelphia, we've had one day wearing shorts and two waking up to frost in the ground. Must be Fall/Autumn. Software Releases * From MarkLogic Engineering: * MarkLogic 8.0-6, which includes MapR support for MLCP and the Hadoop Connector<http://docs.marklogic.com/guide/mlcp/install#id_99279>, as well as bug fixes<https://help.marklogic.com/Bugtrack/List>. * MarkLogic Jena<https://github.com/marklogic/marklogic-jena> versions 3.0.2 and 1.0.2 * Community Projects: * Data Hub Framework 1.0.0<https://github.com/marklogic/marklogic-data-hub> -- Go from nothing to Enterprise Data Hub in a matter of minutes * Roxy 1.7.4<https://github.com/marklogic/roxy> — 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. This release includes a change in how bootstrapping happens which is required for ML 8.0-6, as well as Marklogic 9 (early access). MarkLogic University Curious about that data hub project above? MLU has put together a series of On Demand videos about Operational Data Hubs<http://mlu.marklogic.com/ondemand/index.xqy?q=Series%3A%22Operational%20Data%20Hubs%22>. Once you've learned about the topic, check the framework project for a data hub implementation. MLU has also continued branching out into other languages — the On Demand videos now come in English, French, German, Japanese, Korean, Mandarin, Spanish, and Swedish. Community Projects Besides the community project releases mentioned above, there are a couple new projects you might find interesting. * Adam Fowler's Data Science tools for MarkLogic<https://github.com/adamfowleruk/datascience>: This project provides a base line of various statistical and data science algorithms, with multiple implementations to suit your particular needs * Ken Tune's CloudWatch for MarkLogic<https://github.com/ken-tune/cloud-watch-for-marklogic>: CloudWatch for MarkLogic helps set up AWS CloudWatch 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<http://developer.marklogic.com/blog/use-a-middle-tier>, by Dave Cassel — access to MarkLogic's REST API should always be controlled by a middle tier * Building a MarkLogic Docker Container<http://developer.marklogic.com/blog/building-a-marklogic-docker-container>, by Alan Johnson and Tamas Piros — see how easy it is to use Docker for different versions of MarkLogic or setting up clusters * Scaling Your Database Doesn't Have to be Hard<http://developer.marklogic.com/blog/scaling-a-database>, by Dave Cassel — in response to a Tweet saying it's easier to scale services than a database * I've also updated the REST API tutorial<http://developer.marklogic.com/learn/rest> Events * Nov 10, London: Full-stack JavaScript 3-hour workshop<https://www.meetup.com/Fullstack-js-London/events/234949529/> * Nov 15, Tel Aviv: NoSQL workshop<https://devcontlvx.events.co.il/home#top> Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, In the past week near Philadelphia, we've had one day wearing shorts and two waking up to frost in the ground. Must be Fall/Autumn. Software Releases * From MarkLogic Engineering: * MarkLogic 8.0-6, which includes MapR support for MLCP and the Hadoop Connector<http://docs.marklogic.com/guide/mlcp/install#id_99279>, as well as bug fixes<https://help.marklogic.com/Bugtrack/List>. * MarkLogic Jena<https://github.com/marklogic/marklogic-jena> versions 3.0.2 and 1.0.2 * Community Projects: * Data Hub Framework 1.0.0<https://github.com/marklogic/marklogic-data-hub> -- Go from nothing to Enterprise Data Hub in a matter of minutes * Roxy 1.7.4<https://github.com/marklogic/roxy> — 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. This release includes a change in how bootstrapping happens which is required for ML 8.0-6, as well as Marklogic 9 (early access). MarkLogic University Curious about that data hub project above? MLU has put together a series of On Demand videos about Operational Data Hubs<http://mlu.marklogic.com/ondemand/index.xqy?q=Series%3A%22Operational%20Data%20Hubs%22>. Once you've learned about the topic, check the framework project for a data hub implementation. MLU has also continued branching out into other languages — the On Demand videos now come in English, French, German, Japanese, Korean, Mandarin, Spanish, and Swedish. Community Projects Besides the community project releases mentioned above, there are a couple new projects you might find interesting. * Adam Fowler's Data Science tools for MarkLogic<https://github.com/adamfowleruk/datascience>: This project provides a base line of various statistical and data science algorithms, with multiple implementations to suit your particular needs * Ken Tune's CloudWatch for MarkLogic<https://github.com/ken-tune/cloud-watch-for-marklogic>: CloudWatch for MarkLogic helps set up AWS CloudWatch 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<http://developer.marklogic.com/blog/use-a-middle-tier>, by Dave Cassel — access to MarkLogic's REST API should always be controlled by a middle tier * Building a MarkLogic Docker Container<http://developer.marklogic.com/blog/building-a-marklogic-docker-container>, by Alan Johnson and Tamas Piros — see how easy it is to use Docker for different versions of MarkLogic or setting up clusters * Scaling Your Database Doesn't Have to be Hard<http://developer.marklogic.com/blog/scaling-a-database>, by Dave Cassel — in response to a Tweet saying it's easier to scale services than a database * I've also updated the REST API tutorial<http://developer.marklogic.com/learn/rest> Events * Nov 10, London: Full-stack JavaScript 3-hour workshop<https://www.meetup.com/Fullstack-js-London/events/234949529/> * Nov 15, Tel Aviv: NoSQL workshop<https://devcontlvx.events.co.il/home#top> Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Roxy version 1.7.4
Hello all, Rob Szkutak, Geert Josten, and I are happy to announce Roxy version 1.7.4. The most important change in this release is master-branch compatibility with MarkLogic 8.0-6 and MarkLogic 9, but there are other new features and bug fixes as well. These include work on all three aspects of Roxy: the Deployer, the Unit Test Framework, and the MVC Framework. If you are working with Roxy and MarkLogic 8.0-6 or MarkLogic 9 (early access), you can upgrade Roxy with this command: ./ml upgrade --branch=master A couple version highlights: * more flexible REST deployment * better interaction with CORB2 * SJS Controllers * SJS set up and teardown for unit testing * Passing provided unit tests with a non-privileged user Check out the details at https://github.com/marklogic/roxy/releases/tag/v1.7.4. Rob, Geert, and I appreciate the issue reports, comments, and 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/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, My local community expanded by one last weekend — we got a dog. Hopefully your locally community is as fun to be around! Events * Oct 5, Stockholm: MarkLogic User Group Nordics, Data Hub Framework<https://www.meetup.com/MarkLogic-User-Group-Nordics/events/233884912/> * Oct 13, Berlin: Intro to ML9; Customer presentation: NewBooks Solution<http://www.meetup.com/MarkLogic-User-Group-NoSQL-Database-Technology/events/232561948/> * Oct 19, San Carlos: NoSQL vs Hadoop Ecosystem – Part II<https://www.meetup.com/Peninsula-NoSQL-Meetup/events/234282932/> * Oct 21-23, Salzburg: AngularJS, Node.js, Express and NoSQL<https://barcamp-sbg.at> — a pre-conference workshop run by MLU's Tamas Piros DMC Content * Our Product Management team's interns wrote about their experience<http://developer.marklogic.com/blog/interns-2016> * Inspired by a data modeling workshop I ran, I wrote a post about When to Denormalize<http://developer.marklogic.com/blog/when-to-denormalize> * Stephen Buxton shares the answers to common questions about MarkLogic Semantics<http://developer.marklogic.com/learn/semantics-questions> Community Projects * MarkLogic Data Hub<https://github.com/marklogic/marklogic-data-hub> — release candidate 5 is on GitHub * Alan Johnson updated his MarkLogic Dockerfile for MarkLogic 9 EA3<https://github.com/alan-johnson/docker-marklogic> * Scott Stafford published v0.7.1 of his MarkLogic Spring Batch framework<https://github.com/sastafford/marklogic-spring-batch> Here's one from the archives: MarkLogic's Support team has a Knowledge Base<https://help.marklogic.com/Knowledgebase/List> article on reading Query Console 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://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Search constrained by mime-type?
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://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Steve Anderson mailto:steve.ander...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, September 7, 2016 at 12:10 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Search constrained by mime-type? Is there a way to constrain a search to a certain mime-type? For example, if I want to search every JSON document, but not any XML documents, how can I do that? Thanks, Steve ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, Vacations are over and my daughters have gone back to school. Time for Meetups to get active again! Events * Sept. 7th, Peninsula NoSQL (San Carlos): NoSQL vs Hadoop Ecosystem<https://www.meetup.com/Peninsula-NoSQL-Meetup/events/233592073/> * Sept 19. MarkLogic NoSQL Boston: NoSQL Application Development Workshop<https://www.meetup.com/MarkLogic-NoSQL-Boston/events/233141589/> * Sept 20. MarkLogic User Group UK (London): Multi-model approach to data integration - A multi-model approach to data integration - Documents and Triples (and Tables!)<https://www.meetup.com/MarkLogic-User-Group-UK/events/233469820/> * Sept 27. NOVAMUG (Tysons Corner, VA): Be Empowered! Join us for a Data Hub Framework Breakfast<https://www.meetup.com/Mark-Logic-User-Group/events/233593059/> * Sept 27. Twin Cities Enterprise NoSQL<https://www.meetup.com/Twin-Cities-Enterprise-NoSQL/>: NoSQL Workshop (details coming soon) * Sept 28. Twin Cities Enterprise NoSQL<https://www.meetup.com/Twin-Cities-Enterprise-NoSQL/>: NoSQL Data Modeling Workshop (details coming soon) * Sept 29. DenMARK (Denver): Build a proof-of-concept in minutes<https://www.meetup.com/den-mark-logic/events/233775303/> * Sept 29. MarkLogic User Group Germany (Frankfurt): How to tackle compliance<http://www.meetup.com/MarkLogic-User-Group-NoSQL-Database-Technology/events/232943272/> * Oct 5. MarkLogic User Group Nordics (Stockholm), Data Hub Framework<https://www.meetup.com/MarkLogic-User-Group-Nordics/> (details coming soon) * Oct 13. MarkLogic User Group Germany (Berlin): Intro to ML9; Customer presentation: NewBooks Solution<http://www.meetup.com/MarkLogic-User-Group-NoSQL-Database-Technology/events/232561948/> Content * Paxton Hare takes a walk among the JSON trees<http://developer.marklogic.com/blog/walking-among-the-json-trees> * Paul Hoehne explores how you can use triples to store changes to a document<http://developer.marklogic.com/blog/finding-document-changes> * Tamas Piros uses the Node.js Client API to retrieve binary documents, including streaming videos<http://developer.marklogic.com/blog/working-with-binary-documents> * Paul O'Neill recorded a video describing the MarkLogic fields feature<https://www.youtube.com/watch?v=hhCHHOa0gZA> MarkLogic University Did you know that three of MLU's full courses are now available in a self-paced format<https://mlu.marklogic.com/selfpaced/>? Get introduced to MarkLogic, learn to build applications with XQuery, and learn about semantics on your schedule! Community Projects * Paxton Hare produced pre-release v1.0.0-rc.3<https://github.com/marklogic/marklogic-data-hub/releases/tag/v1.0.0-rc.3> of the MarkLogic Data Hub project<https://github.com/marklogic/marklogic-data-hub> * Rob Rudin has released version 2.3.3 of ml-gradle<https://github.com/rjrudin/ml-gradle/releases/tag/2.3.3> — if you're using Java to work with MarkLogic, this is a tool you need to know about * Adam Fowler has been working on a .Net REST API wrapper, generated from his C++ REST API wrapper<https://github.com/adamfowleruk/mlcplusplus>. He wants to know which features are most important to you<https://github.com/adamfowleruk/mlcplusplus/issues?q=is%3Aopen+is%3Aissue+label%3A%22language+C%23+.Net%22>! * The Roxy<https://github.com/marklogic/roxy> Team welcomes Rob Szkutak<https://github.com/RobertSzkutak> 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://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
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)
I see a couple problems here. Your trail.xml doesn't have a root node, and so it isn't valid XML. -- xdmp:node-delete — from the documentation<http://docs.marklogic.com/xdmp:node-delete>: Deletes a node from the database. On-the-fly constructed nodes cannot be deleted. 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<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: "Khan, Zishan" mailto:zishan.k...@capgemini.com>> Date: Wednesday, August 31, 2016 at 12:00 PM To: Dave Cassel mailto:dave.cas...@marklogic.com>> Subject: 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) Hi Dave, I used the transform function as xquery version "1.0-ml"; module namespace example = "http://marklogic.com/example";; declare function local:change($node) { typeswitch($node) case element(old_location) return xdmp:node-delete($node as node()) as empty-sequence() default return $node }; Wanted to upload the file trial.xml as zishanBangaloreHyderabad Here I want to skip Runne mlcp and got below error.. please look at this and help me in resolving the error… C:\Users\zikhan>mlcp import -mode local -host localhost -port 8055 -username adm in -password admin -input_file_path D:\Users\zikhan\Desktop\trial_fol -transform _module /example/mlcp-trialtransform.xqy -transform_namespace "http://marklogic. com/example" 16/08/31 21:24:09 INFO contentpump.LocalJobRunner: Content type is set to MIXED. The format of the inserted documents will be determined by the MIME type spe cification configured on MarkLogic Server. 16/08/31 21:24:10 INFO contentpump.FileAndDirectoryInputFormat: Total input path s to process : 1 16/08/31 21:24:11 ERROR mapreduce.ContentWriter: XDMP-PARSE: (err:XPST0003) xdmp :unquote("zishanBangaloremailto:dave.cas...@marklogic.com] Sent: Wednesday, August 31, 2016 7:39 PM To: Khan, Zishan; MarkLogic Developer Discussion Subject: 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) 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>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: "Khan, Zishan" mailto:zishan.k...@capgemini.com>> Date: Tuesday, August 30, 2016 at 7:46 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>>, Dave Cassel mailto:dave.cas...@marklogic.com>> Subject: 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) Thanks Dave, I got the ideas how to use transformation modules but I didn’t find any modules related to skipping the columns as in the MarkLogic material it was only a brief concept to use transformation on input data. Please guide me by putting your valuable inputs so that I could stair up step by step on MarkLogic ladder. Your efforts would be priceless and much appreciable, hope your input will work as a backbone for my solution. Regards, Zishan Khan / Capgemini Associate Consultant | FSGBU | Insight and Data From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Timothy Taylor Sent: Tuesday, August 30, 2016 4:04 AM To: MarkLogic Developer Discussion Subject: 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) Hey Dave, Tim Taylor from the alliances team here. Subscribed from my personal email. Any thoughts on whether an mlcp transform on the inbound side versus load as is and run a CORB job to clean up afterwards would perform better? Tim Sent from my iPhone On Aug 29, 2016, at 2:10 PM, Dave Cassel mailto:dave.cas...@marklogic.com>> wrote: You can write an MLCP transform<http://docs.marklogic.com/guide/mlcp/import#id_82518>. That should get
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)
Hi Tim, If you know at ingest time how you want to transform data, then from a performance point of view I think it's better to do it with the MLCP transform. Doing so means writing each fragment just once. There are some trade-offs: Advantages of an mlcp transform: * the data only need to be written once, instead of written and then updated. Doing the latter will result in deleted fragments, requiring merges to clean up. * Once the data are in the database, they are fully ready for use — no need to segment freshly loaded data from data that is ready for use Advantages of load-as-is followed by a CORB job: * works if you don't know how you want to format the data — load, play, revise, repeat * protection against errors in the transform: if your MLCP has a fatal error that affects only some documents, the whole batch will fail to get inserted. 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://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Timothy Taylor mailto:timmy...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, August 29, 2016 at 6:34 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: 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) Hey Dave, Tim Taylor from the alliances team here. Subscribed from my personal email. Any thoughts on whether an mlcp transform on the inbound side versus load as is and run a CORB job to clean up afterwards would perform better? Tim Sent from my iPhone On Aug 29, 2016, at 2:10 PM, Dave Cassel mailto:dave.cas...@marklogic.com>> wrote: You can write an MLCP transform<http://docs.marklogic.com/guide/mlcp/import#id_82518>. That should get the individual XML documents as input and your output can structure them however you want. This post on recursive descent<http://developer.marklogic.com/blog/xquery-recursive-descent> 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-boun...@developer.marklogic.com>> on behalf of "Khan, Zishan" mailto:zishan.k...@capgemini.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, August 29, 2016 at 8:12 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [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) Hi Folk, Being a newbie in MarkLogic, I need your serious response to come out of faced challenges. The moment when I was ingesting CSV Structured data into MarkLogic as-is to get XML output data in our database using MLCP, I am ok with normal ingestion using MLCP in any file format but I got stuck in finding the solution of below mentioned problem 1. How to ingest data corresponding to selected columns only in MarkLogic using MLCP or by any means. 2. How to define and use Primary key to check the logs ( say failed data ). For the ease of understanding I am exploring my doubts with below example. Input : idemp_name salarydesignation mobile_no dependent 1 ABC 3000 X 442 2 DEF 4000 Y 221 (input is in CSV format) 3 GHI 3000 X 330 4 ABC 8000 Z 992 Q.1) Output : idemp_name designation dependent 1 ABC X2 2 DEF Y1 (output is in default XML format, here this is just to understand) 3 GHI X0 4 ABC Z2 Q.2) Suppose input data corresponding to id = 4 is failed. Failed data : 4 ABC
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)
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>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: "Khan, Zishan" mailto:zishan.k...@capgemini.com>> Date: Tuesday, August 30, 2016 at 7:46 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>>, Dave Cassel mailto:dave.cas...@marklogic.com>> Subject: 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) Thanks Dave, I got the ideas how to use transformation modules but I didn’t find any modules related to skipping the columns as in the MarkLogic material it was only a brief concept to use transformation on input data. Please guide me by putting your valuable inputs so that I could stair up step by step on MarkLogic ladder. Your efforts would be priceless and much appreciable, hope your input will work as a backbone for my solution. Regards, Zishan Khan / Capgemini Associate Consultant | FSGBU | Insight and Data From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Timothy Taylor Sent: Tuesday, August 30, 2016 4:04 AM To: MarkLogic Developer Discussion Subject: 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) Hey Dave, Tim Taylor from the alliances team here. Subscribed from my personal email. Any thoughts on whether an mlcp transform on the inbound side versus load as is and run a CORB job to clean up afterwards would perform better? Tim Sent from my iPhone On Aug 29, 2016, at 2:10 PM, Dave Cassel mailto:dave.cas...@marklogic.com>> wrote: You can write an MLCP transform<http://docs.marklogic.com/guide/mlcp/import#id_82518>. That should get the individual XML documents as input and your output can structure them however you want. This post on recursive descent<http://developer.marklogic.com/blog/xquery-recursive-descent> 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-boun...@developer.marklogic.com>> on behalf of "Khan, Zishan" mailto:zishan.k...@capgemini.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, August 29, 2016 at 8:12 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [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) Hi Folk, Being a newbie in MarkLogic, I need your serious response to come out of faced challenges. The moment when I was ingesting CSV Structured data into MarkLogic as-is to get XML output data in our database using MLCP, I am ok with normal ingestion using MLCP in any file format but I got stuck in finding the solution of below mentioned problem 1. How to ingest data corresponding to selected columns only in MarkLogic using MLCP or by any means. 2. How to define and use Primary key to check the logs ( say failed data ). For the ease of understanding I am exploring my doubts with below example. Input : idemp_name salarydesignation mobile_no dependent 1 ABC 3000 X 442 2 DEF 4000 Y 221 (input is in CSV format) 3 GHI 3000 X 330 4 ABC 8000 Z 992 Q.1) Output : idemp_name designation dependent 1 ABC X2 2 DEF Y1 (output is in default XML format, here this is just to understand) 3 GHI X0 4 ABC
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)
You can write an MLCP transform<http://docs.marklogic.com/guide/mlcp/import#id_82518>. That should get the individual XML documents as input and your output can structure them however you want. This post on recursive descent<http://developer.marklogic.com/blog/xquery-recursive-descent> 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-boun...@developer.marklogic.com>> on behalf of "Khan, Zishan" mailto:zishan.k...@capgemini.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, August 29, 2016 at 8:12 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [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) Hi Folk, Being a newbie in MarkLogic, I need your serious response to come out of faced challenges. The moment when I was ingesting CSV Structured data into MarkLogic as-is to get XML output data in our database using MLCP, I am ok with normal ingestion using MLCP in any file format but I got stuck in finding the solution of below mentioned problem 1. How to ingest data corresponding to selected columns only in MarkLogic using MLCP or by any means. 2. How to define and use Primary key to check the logs ( say failed data ). For the ease of understanding I am exploring my doubts with below example. Input : idemp_name salarydesignation mobile_no dependent 1 ABC 3000 X 442 2 DEF 4000 Y 221 (input is in CSV format) 3 GHI 3000 X 330 4 ABC 8000 Z 992 Q.1) Output : idemp_name designation dependent 1 ABC X2 2 DEF Y1 (output is in default XML format, here this is just to understand) 3 GHI X0 4 ABC Z2 Q.2) Suppose input data corresponding to id = 4 is failed. Failed data : 4 ABC Z2 (say) How to see this data using id as primary key (Even I don’t know how to mention primary key in MarkLogic) using MLCP or any other means. Your lead would be much more appreciated if I will get the solution of respected solution with required supporting stuffs. Thanks & Regards, Zishan Khan / Capgemini Associate Consultant | FSGBU | Insight and Data This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Full time employment with TCS - Java Lead - Mclean, VA
Hi Swapnil, This is a MarkLogic developer list. As such, posting a job related to MarkLogic skills seems okay to me, but the posting below looks like spam to me. In the future, please restrict yourself to posting only MarkLogic-related jobs, and those just once each. I'd prefer not to have 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/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Swapnil Mahadik mailto:swap...@servsolid.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, August 19, 2016 at 12:10 PM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Full time employment with TCS - Java Lead - Mclean, VA Dear ALL, We are currently hiring for below position with TCS. If you are interested please send your updated CV : swap...@servsolid.com<mailto:swap...@servsolid.com> Note: Please don’t respond to general mailing list, If you are interested send me (swap...@servsolid.com<mailto:swap...@servsolid.com>) your profile or call me for a discussion. Title : Java Lead Location: Mclean,VA Type of Employment : Full time with TCS (www.tcs.com<http://www.tcs.com>) • Minimum of 8 to 10 yrs of experience • Strong knowledge on J2EE fundamentals with experience in Object Oriented Design and Development and usage of Design Patterns • Must have at least 5+ Years hands-on working knowledge of UNIX and Shell Scripts • Strong development skills with Maven and ANT • An understanding and knowledge of Hibernate, Web Services, JPA • Configuration and troubleshooting experience (4+ years) with Weblogic Application server • Working knowledge of Autosys and Autosys Scripts • An understanding of Integration knowledge on IBM TAM • Working knowledge of and experience with UDB, Sybase, SQL Server and Oracle. • Ability to work independently with minimum direction. Experience in troubleshooting and hands on working experience in Production Support Feel free to share this among your colleagues and friends who are currently seeking job or change. Thanks, _ _ Swapnil Mahadik ServSolid Inc Phone: 703 652 7633 Fax: 877 778 3203 www.ServSolid.com<http://www.servsolid.com/> ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, DMC Learning Paths Take a look at developer.marklogic.com — we've added learning paths for developers and administrators. The goal is to steer new users to the content they most need to see. Our starting point has been a better path to existing content; our next step will be to refresh existing and add new content to help with the learning process. Whether you're new to MarkLogic or experienced, I'd be happy to hear your thoughts! DMC Content * Ever wonder how you should set up your MarkLogic roles to handle future changes? Caio Milani lays out an example in "How to prepare your security model for Brexit<http://developer.marklogic.com/blog/prepare-you-security-model-for-brexit>". * Tom McGrath looks at migrating from relational databases to MarkLogic in "Unthink: Starting to move beyond the constraints of relational databases<http://developer.marklogic.com/blog/unthink-starting-to-move>". * Seeing is believing. Watch Paxton Hare and Patrick McElwee build an application in about an hour<http://developer.marklogic.com/blog/build-an-app-in-about-an-hour>. * Recipe time: Jennifer Tsau and Mike Wooldridge share a recipe for using MarkLogic Semantics to build an Infobox<http://developer.marklogic.com/learn/semantics-recipe-book-semantic-infobox>. MLU On Demand MarkLogic University has been expanding their catalog of On Demand videos. The Introduction to MarkLogic video is now available in Japanese<http://mlu.marklogic.com/ondemand/3ffe9e5d> and Spanish<http://mlu.marklogic.com/ondemand/e4785b6e> (there are French courses<http://mlu.marklogic.com/ondemand/index.xqy?q=Language%3AFrench>, too). The Data Modeling series<http://mlu.marklogic.com/ondemand/index.xqy?q=Series%3A%22Data%20Modeling%22> has been expanded to cover CoRB<http://mlu.marklogic.com/ondemand/65ca4c93> and Progressive Transformation Using the Envelope Pattern<http://mlu.marklogic.com/ondemand/3bc5ff74>. They've also launched a new series on MarkLogic Security<http://mlu.marklogic.com/ondemand/index.xqy?q=Series%3ASecurity>. Events * August 4, Boston: Introduction to MarkLogic 9<http://www.meetup.com/MarkLogic-NoSQL-Boston/events/232029872/> * August 10, San Carlos: NoSQL: A Hybrid Document Store and Triple Store<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<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Roxy uploads *js files as binary docs
The default was chosen before MarkLogic supported SJS; as such, there was no motivation to worry about it. I don't remember what triggered us to use true as the default, but SJS does change the situation. I think changing the default makes sense. Probably worth testing on some reasonable set 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 of Florent Georges mailto:li...@fgeorges.org>> Date: Friday, July 15, 2016 at 7:04 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Cc: Dave Cassel mailto:dave.cas...@marklogic.com>> Subject: Re: [MarkLogic Dev General] Roxy uploads *js files as binary docs Hi Geert, Thank you, I've just validated it solves my problem (at least in the repro I sent, I am about to test it on the real project now). Sad I did not see the question passing on the mailing list. I am wondering why the default is true. I can only think of corner cases with encoding for JS files served as content for the client UI. Since we all tend to be UTF-8 (especially in the context of JavaScript and web UI), I am not quite sure why the default is true, as it prevents to use *.js files on the server (esp. annoying for dependencies retrieved from, say, NPM). But well, changing a default value is always, well, changing a default value... Thanks for your help! Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ On 15 July 2016 at 12:53, Geert Josten wrote: Hi Florent, You’re the 3rd to mention this in a short time. There is a `load-js-as-binary` property that defaults to true. @Dave, maybe we should start thinking about changing that default? Cheers, Geert From: mailto:general-boun...@developer.marklogic.com>> on behalf of Florent Georges mailto:li...@fgeorges.org>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, July 15, 2016 at 12:40 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Roxy uploads *js files as binary docs Hi, We are facing a problem with using JavaScript files using the *.js extension (that is, not the *.sjs extension), using Roxy. In that case, Roxy does not upload them as text documents, but rather as binaries. Which makes them usuitable to be "require()"d by other SJS files. Is there any way to ask Roxy to upload *js files as text on "deploy modules"? Complete repro: 1) clone Roxy: "git clone git://github.com/marklogic/roxy.git<http://github.com/marklogic/roxy.git>" 2) init Roxy: "./ml init app-name --server-version=8 --app-type=bare" 3) edit deploy/build.properties, what I've done: - app-name=test-js-vs-sjs - app-port=6640 - xcc-port=6641 - local-server=my.vm.name<http://my.vm.name> 4) bootstrap it: "./ml local bootstrap" 5) create the following 5 files in Roxy's src dir: == src/lib/lib.sjs AND src/lib/lib.js == module.exports = { hello: function(who) { return 'Hello, ' + who + '!'; } }; == src/lib/one.js == module.exports = { classic: function() { return require('lib.sjs').hello('world'); } }; == src/lib/two.js AND src/lib/two.sjs == module.exports = { classic: function() { return require('lib.js').hello('world'); } }; 6) upload them: "./ml local deploy modules" 7) in QConsole, against "test-js-vs-sjs-content" database, run the following queries: require('one.sjs').classic(); => 'Hello, world!' require('two.js').classic(); => Error: two.js is not a text document require('two.sjs').classic(); => Error: lib.js is not a text document * The first one, using SJS for the top lib and the one it imports, works. * The second one, using JS for the top lib and the one it imports, fails. * The second one, using SJS for the top lib and JS for the one it imports, fails as well, showing it is not about the way QConsole reolves the query it evaluates, but also how require()'s parameter is resolved for 2 modules sitting in the modules database. Looking at the files in the modules database, using "explore" on QConsole, shows indeed that JS files are binary files. Is there any way to ask Roxy to upload *js files as text on "deploy modules"? Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, I just got back from a vacation to the Outer Banks off North Carolina. My trip included diving with sharks at an aquarium — my first question was, "When was the last time the sharks were fed?" MarkLogic World After events in Tokyo and London, our annual MarkLogic World tour has finished. If you weren't able to make it, you can still catch some of the talks at http://mlwonline.marklogic.com/. MarkLogic Releases MarkLogic 8.0-5.4 is available. (Check the bug fix report at https://help.marklogic.com/Bugtrack/List.) If you're ready to explore what's coming in MarkLogic 9, go to the Early Access site<https://ea.marklogic.com/> and request an account. DMC Content Two new blog posts in June: * Securing a REST API<http://developer.marklogic.com/blog/securing-a-rest-api>: Tamas Piros shows how to use JWT to authenticate with MarkLogic. * Exercising Privilege to Restrict Content<http://developer.marklogic.com/blog/exercising-privilege-to-restrict-content>: Kasey Alderete explains why Samplestack uses privileges instead of out-of-the-box roles. MarkLogic University Did you know that MLU offers online 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, owner, stars, or license. Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Customise and override content API's authentication and authorization
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 Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of "karthik.nagaraj...@cognizant.com<mailto:karthik.nagaraj...@cognizant.com>" mailto:karthik.nagaraj...@cognizant.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, June 23, 2016 at 6:18 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Customise and override content API's authentication and authorization Hi, Is it possible to add an interception script or layer on top of the content API's to do another level of authentication before forwarding the request to MarkLogic server? I want to authenticate with some external system before the request reaches the ML server. Thanks, Karthik This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored. ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, May brought MarkLogic World to San Francisco and Tokyo, along with the Data Innovation / MarkLogic Government Symposium to Washington, DC. In a few weeks, we'll bring the event to London. Hands-on workshops, informative talks, expert 1:1s, and productive networking -- I hope you've had the chance to attend one of these events, or that we'll see you in London! Releases MarkLogic 8.0-5.2 is available on developer.marklogic.com<http://developer.marklogic.com/products>. See the Fixed Bugs<https://help.marklogic.com/Bugtrack/List> link to check what has changed. Community Projects Rob Rudin's released version 2.2.0 of ml-gradle<https://github.com/rjrudin/ml-gradle>, a MarkLogic bootstrapping and deployment tool for the Java ecosystem. The CORB2 team has released version 2.3.1<https://github.com/marklogic/corb2/releases/tag/2.3.1>. Blog Posts Justing Makeig advocates care with xdmp:eval in "Avoiding eval with first-class functions<http://developer.marklogic.com/blog/first-class-functions>." MarkLogic University's Tamas Piros has published a couple of posts about performance monitoring using a Node.js stack with MarkLogic. * http://www.tamas.io/performance-monitoring-using-node-js-socket-io-and-marklogic/ * http://www.tamas.io/performance-monitoring-using-node-js-socket-io-and-marklogic-historical-reporting/ Norm Walsh set up an Emacs org-mode for MarkLogic<https://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 Demand videos while on the go. Available for iOS and Android. Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] sem.sparql: get bound placeholders in the result
FYI for the community -- it *should* work to go to http://developer.marklogic.com/mailman/listinfo/general, provide your email address, and click "Unsubscribe or edit options". In light of some reports that the process isn't working, I'm investigating. In the meantime, Martin, 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.marklogic.com>> on behalf of Martin Mueller mailto:martinmuel...@northwestern.edu>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, May 16, 2016 at 8:55 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] sem.sparql: get bound placeholders in the result I've had the same problem, so I would like to add my voice to a request for clearer and more effective instructions on how to unsubscribe. On 5/16/16, 10:32 AM, "general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> on behalf of Elia, Joe" mailto:general-boun...@developer.marklogic.com> on behalf of je...@nejm.org<mailto:je...@nejm.org>> wrote: I have tried to get my name removed from this list. I've followed the instructions, signed in with ML, but all to no avail, so I'm being obnoxious again and asking that someone please remove me from this before I have to declare you as spam, which I really don't want to do. There's apparently a flaw in your "unsubscribe" flow. Thanks, and warm regards. Joe Elia -Original Message- From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Ed Outhwaite Sent: Monday, May 16, 2016 11:07 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] sem.sparql: get bound placeholders in the result Hi Florent, Try using FILTER: require('/MarkLogic/semantics').sparql('SELECT ?s ?p ?o WHERE { ?s ?p ?o . FILTER(?s = $v)}', { 'v': [ sem.iri('#1'), sem.iri('#2') ] } ) Regards, Ed On 5/16/16, 12:57 PM, "general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> on behalf of Florent Georges" mailto:general-boun...@developer.marklogic.com> on behalf of li...@fgeorges.org<mailto:li...@fgeorges.org>> wrote: Hi Tony, Of course, this would be the easy workaround. But since it is possible to evaluate the query all at once, it would be good to be able to do so. Another workaround I thought about, is to use BIND in the query, to create another placeholder out of ?s. For instance, change the previous SPARQL query into: SELECT * WHERE { ?s ?p ?o . BIND(CONCAT(?s, "") as ?v) } This return a "v" in each result row, but it is then always null. The following: require('/MarkLogic/semantics').sparql( 'SELECT * WHERE { ?s ?p ?o . BIND(CONCAT(?s, "") as ?v) }', { 's': [ sem.iri('#1'), sem.iri('#2') ] }) returns an iterator to objects of the form: { p: "#pred", o: "value", v: null } So it is not even usable either. Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ On 16 May 2016 at 10:51, Anthony Coates wrote: Classification: Public Hi Florent. Would it be a problem to just call the query (multiple times) with a single subject for each of the different subjects that you want, and then combine the results? Cheers, Tony. -Original Message- From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Florent Georges Sent: 15 May 2016 12:42 To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] sem.sparql: get bound placeholders in the result Hi, Using `sem.sparql()`, it is possible to bind a SPARQL placeholder to an array, to serve as many alternatives to the placeholder in the triples pattern. For instance, the following query: require('/MarkLogic/semantics').sparql( 'SELECT * WHERE { ?s ?p ?o }', { 's': [ sem.iri('#1'), sem.iri('#2') ] }) returns the predicates and values for al triples with the subject equal to either `#1` or `#2`. Problem is, the bound placeholder is not part of the result (in this example, `?s`). The result is an iterator over objects of the following form: { p: "#pred
Re: [MarkLogic Dev General] Community Newsletter
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://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Dave Cassel mailto:dave.cas...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, May 2, 2016 at 11:30 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Community Newsletter Hello Community, It's May, that time of year when I'm reminded that I'm allergic to the state where I live. Pollen season! MarkLogic World May 9 - 12 is the first MarkLogic World, in San Francisco. Did you know we do Expert 1-on-1 meetings? Yes, sit down with a MarkLogic employee who knows the area you're interested in and ask your questions. Those are during breaks, so you won't miss the great presentations. Check out the full agenda at http://world.marklogic.com/locations/san-francisco-2016/agenda-full/. Software Releases MarkLogic 8.0-5.1 is out, with several fixes that improve performance, functionality, and stability. Check out the list at https://help.marklogic.com/Bugtrack/List. MarkLogic Sesame version 1.0.1 is now available. This project is an implementation of the Sesame RDF library. https://github.com/marklogic/marklogic-sesame/releases/tag/1.0.1 Community Projects This was a productive month for community-driven projects. * Paxton Hare, Damon Feldman, and others have put together a data hub framework, which a includes a quick-start feature that lets you go from nothing to Enterprise Data Hub in a matter of minutes. See what it can do for you at http://marklogic.github.io/marklogic-data-hub/. * Roxy has released version 1.7.3, with lots of bug fixes and new features now available on the master branch. This includes quite a few contributions from people outside the core team, so thank you to those who submitted pull requests, filed issues, or left comments! https://github.com/marklogic/roxy/releases/tag/v1.7.3 * Do you use Spring Boot? Then check out Rob Rudin's slush-marklogic-spring-boot project generator. Get going quickly with an AngularJS, Spring Boot, and MarkLogic stack. https://github.com/marklogic/slush-marklogic-node * Adam Fowler has begun work on a C++ wrapper for the REST API. He's looking for people who can provide input or contribute to the project at https://github.com/adamfowleruk/mlcplusplus. * Seong Bae released a WordPress plugin that lets you use MarkLogic to power WordPress search. https://github.com/seongbae/WP-MarkLogic-Search * Michel de Ru wanted to make it easier to bring web content into MarkLogic. Voila: https://github.com/michelderu/ml-scrapy-pipeline If you have suggestions or bug reports for the maintainers of these projects, be sure to file them on GitHub -- such feedback is very helpful! If you want to help out on a project, that's great too. MarkLogic University MLU has more more On Demand video content: * Using Node.js Search - Learn about security requirements for performing searches, performing Query By Example, string and structured query searches, and creating a field. * Alerting Applications - Learn about alerting applications, reverse queries and the reverse query index, Alerting configuration components, Alert actions and rules and how to invoke alerting rules explicitly and also with Content Processing Framework. * Extending a MarkLogic Client API - Covers the basics of REST, steps to implement an extension and creating an extension. * Introduction à la Sémantique des Données - Continuing MLU’s On Demand tutorials in French, learn about Semantic concepts, MarkLogic 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> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, It's May, that time of year when I'm reminded that I'm allergic to the state where I live. Pollen season! MarkLogic World May 9 - 12 is the first MarkLogic World, in San Francisco. Did you know we do Expert 1-on-1 meetings? Yes, sit down with a MarkLogic employee who knows the area you're interested in and ask your questions. Those are during breaks, so you won't miss the great presentations. Check out the full agenda at http://world.marklogic.com/locations/san-francisco-2016/agenda-full/. Software Releases MarkLogic 8.0-5.1 is out, with several fixes that improve performance, functionality, and stability. Check out the list at https://help.marklogic.com/Bugtrack/List. MarkLogic Sesame version 1.0.1 is now available. This project is an implementation of the Sesame RDF library. https://github.com/marklogic/marklogic-sesame/releases/tag/1.0.1 Community Projects This was a productive month for community-driven projects. * Paxton Hare, Damon Feldman, and others have put together a data hub framework, which a includes a quick-start feature that lets you go from nothing to Enterprise Data Hub in a matter of minutes. See what it can do for you at http://marklogic.github.io/marklogic-data-hub/. * Roxy has released version 1.7.3, with lots of bug fixes and new features now available on the master branch. This includes quite a few contributions from people outside the core team, so thank you to those who submitted pull requests, filed issues, or left comments! https://github.com/marklogic/roxy/releases/tag/v1.7.3 * Do you use Spring Boot? Then check out Rob Rudin's slush-marklogic-spring-boot project generator. Get going quickly with an AngularJS, Spring Boot, and MarkLogic stack. https://github.com/marklogic/slush-marklogic-node * Adam Fowler has begun work on a C++ wrapper for the REST API. He's looking for people who can provide input or contribute to the project at https://github.com/adamfowleruk/mlcplusplus. * Seong Bae released a WordPress plugin that lets you use MarkLogic to power WordPress search. https://github.com/seongbae/WP-MarkLogic-Search * Michel de Ru wanted to make it easier to bring web content into MarkLogic. Voila: https://github.com/michelderu/ml-scrapy-pipeline If you have suggestions or bug reports for the maintainers of these projects, be sure to file them on GitHub -- such feedback is very helpful! If you want to help out on a project, that's great too. MarkLogic University MLU has more more On Demand video content: * Using Node.js Search - Learn about security requirements for performing searches, performing Query By Example, string and structured query searches, and creating a field. * Alerting Applications - Learn about alerting applications, reverse queries and the reverse query index, Alerting configuration components, Alert actions and rules and how to invoke alerting rules explicitly and also with Content Processing Framework. * Extending a MarkLogic Client API - Covers the basics of REST, steps to implement an extension and creating an extension. * Introduction à la Sémantique des Données - Continuing MLU’s On Demand tutorials in French, learn about Semantic concepts, MarkLogic 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> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Reminder: Managing your subscription
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 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.marklogic.com>> on behalf of "Elia, Joe" mailto:je...@nejm.org>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, May 2, 2016 at 10:23 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] PLEASE REMOVE ME Yes, please remove me as well. From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Reighn, Alan Sent: Monday, May 02, 2016 9:56 AM To: 'MarkLogic Developer Discussion' Subject: Re: [MarkLogic Dev General] PLEASE REMOVE ME Can you remove me as well. We no longer have MarkLogic running at our company. Alan Reighn Rodale, Inc. From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Louis Stoll Sent: Monday, May 02, 2016 9:54 AM To: 'MarkLogic Developer Discussion' Subject: [MarkLogic Dev General] PLEASE REMOVE ME Please remove me from this list. From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Vinod Kumar Tiwari Sent: Monday, May 02, 2016 7:39 AM To: MarkLogic Developer Discussion Subject: [MarkLogic Dev General] Fwd: ML 7.0 time limit exceed Issue Hello, I am facing one issue regarding time limit exceed while execute xdmp:lock-for-update. How to fix this? Regards This email message is a private communication. The information transmitted, including attachments, is intended only for the person or entity to which it is addressed and may contain confidential, privileged, and/or proprietary material. Any review, duplication, retransmission, distribution, or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is unauthorized by the sender and is prohibited. If you have received this message in error, please contact the sender immediately by return email and delete the original message from all computer systems. Thank you. ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] start and end time xquery
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<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 "Kapoor, Pragya" mailto:pkapo...@innodata.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, April 27, 2016 at 5:00 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] start and end time xquery Hi, I need to find out the start and end time of the function executed in xquery. For example when I click on the link find Collections( this is an xquery in which html is also embedded), this calls another xqy file on which the code for finding new collections is written. Now, I need to find the start and end time for this function. For this, I tried using fn:current-dateTime() at the start and end of this function and saving these values in an xml which is in turn stored in db. But since it is a single transaction, both start and end time is same. I think, for finding endTime we can use xdmp:elapsed-time and add that to fn:current-dateTime(). but how to add time to dateTime, to get again the dateTime format? Some other approach is also welcomed. Thanks Pragya "This e-mail and any attachments transmitted with it are for the sole use of the intended recipient(s) and may contain confidential , proprietary or privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this e-mail or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful." ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Roxy: src/tests.sjs is ignored
You may have done this just as a test, but a quick note about Roxy properties: best practice is to avoid editing default.properties. Instead, copy the property to build.properties and change the value there (build overrides default). The reason is that if you upgrade Roxy ("ml upgrade -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/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Florent Georges mailto:li...@fgeorges.org>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, April 5, 2016 at 4:52 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Roxy: src/tests.sjs is ignored I see. So probably that test should use a slash after the dir variable: "^#{test_dir}/.*$". For the record, setting "xquery-test.dir=" (to nothing) in default.properties solves the problem. Thank you Geert! Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ On 5 April 2016 at 10:35, Geert Josten wrote: It is a flaw in Roxy I think, caused by these lines: def deploy_src test_dir = @properties['ml.xquery-test.dir¹] .. ignore_us << "^#{test_dir}.*$" unless test_dir.blank? || deploy_tests?(dest_db) If you make sure xquery-test.dir is declared as an empty property, it should deploy the file.. Cheers, Geert On 4/5/16, 10:26 AM, "general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> on behalf of Florent Georges" mailto:general-boun...@developer.marklogic.com> on behalf of li...@fgeorges.org<mailto:li...@fgeorges.org>> wrote: Hi, In a bare Roxy project, I have a file "src/tests.sjs". When I do "./ml local deploy modules", all modules are deployed but this one. If I rename it "tests_.sjs", it is not deployed either. If I rename it "ttt.sjs", then it gets deployed. Any idea why files with some names are ignored? Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, The MarkLogic tag on Stack Overflow now has over 1,000 questions -- keep them coming! Thank you to all of you who take the time to answer. Speaking of which, Geert Josten (grtjn) got 32 upvotes on 10 answers in March, making him the all-time MarkLogic point leader on Stack Overflow, surpassing mblakele. If you find an answer helpful, please upvote to let the writers know you appreciate their time. MarkLogic World We're gearing up for MarkLogic World. San Francisco comes up first, May 9-12<http://world.marklogic.com/locations/san-francisco-2016/>. Besides hands-on workshops, talks, MarkLogic University courses, we'll be doing Expert 1-on-1 sessions. Sign up for a slot when you register and bring your questions. MarkLogic World is also a great Community event. Get to know the people behind the blog posts, community projects, and Stack Overflow answers. Community Projects Do you work with R<https://www.r-project.org/>? Check out Mats Stellwall's MarkLogic package on CRAN: https://cran.r-project.org/web/packages/rfml/index.html. I asked Mats about the package (called rfml). He said, "The purpose of the package is to enable R users to use MarkLogic without deep knowledge of JavaScript/XQuery or the REST API. It goes beyond ODBC and exposes a lot of the built in functionality of MarkLogic. It is using the REST interface and allow users to use search syntax for creating a data.frame similar object, ml.data.frame. Most of the data processing is done within MarkLogic Server and data is only brought back to the client when asked for." Content ICYMI: Jennifer Tsau wrote about some of the geo API functions that came out in MarkLogic 8.0-4: Exciting Times in MarkLogic Geospatial<http://developer.marklogic.com/blog/exciting-times-in-marklogic-geospatial> is on the DMC Blog. A new post on Adam Fowler's blog shows a simple, handy way to grab role names associated with a document Tip: View document permissions in MarkLogic<http://adamfowler.org/2016/04/01/tip-view-document-permissions-in-marklogic>. When you're looking to maximize MarkLogic's performance, do you know what to look for? Do you know how to fix problems once you find them? Take a look at this article in the Support team's Knowledgebase: Performance Issues in MarkLogic Server: what they look like - and what you should do about them<https://help.marklogic.com/Knowledgebase/Article/View/384/18/performance-issues-in-marklogic-server-what-they-look-like---and-what-you-should-do-about-them>. Events Other events coming up: * Boston, April 6th: IT Asset Inventory - RDBMS vs NoSQL with Semantics - Comparing Architectures<http://www.meetup.com/Boston-FinTech-Solutions-Architectures/events/228809638/> * Stockholm, April 7th: Big Data Short talks<http://www.meetup.com/Big-Data-Stockholm/events/227415628/> * Phoenix, April 12th: Fraud Detection using Semantics Tecnology in a NoSQL Database<http://www.meetup.com/Data-Science-Phoenix/events/229618844/> * Chicago, April 20th: MarkLogic Road Show Chicago<http://www.meetup.com/MarkLogic-Chicago-Technology-User-Group-Meetup/events/229992649/> * Minneapolis, April 20th or April 21st: Developer'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<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] How to use REST API for Marklogic server configuration
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://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of "Ganyushkin, Andrey - Moscow" mailto:aganyus...@wiley.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, March 30, 2016 at 6:08 AM To: "MarkLogic Developer Discussion (general@developer.marklogic.com<mailto:general@developer.marklogic.com>)" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] How to use REST API for Marklogic server configuration Hi, Is it possible to use REST management API for creating/initialization a new database/app-server in Marklogic 7? How it can be done? I have found this API only in Marklogic 8 version. Does it exist any way to initialize Marklogic 7 server after installation through some API and skip this step in GUI? Regards, ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] UNSUBSCRIBE
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<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 Luke Duddridge mailto:luke.duddri...@ukho.gov.uk>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, March 22, 2016 at 4:56 AM To: 'MarkLogic Developer Discussion' mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] UNSUBSCRIBE Hi, Any chance I can be removed off this? Luke Duddridge Commercial Lead Support Engineer Pplease consider the environment before printing this email From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Suresh Baskar Sent: 22 March 2016 05:44 To: general@developer.marklogic.com<mailto:general@developer.marklogic.com> Subject: [MarkLogic Dev General] Issue in creation of HTTP server Hi Team, Have created HTTP server for a database in Marklogic 8 via Admin console and ML rest api service. On hitting host : port which was created via ML rest instance running successfully, where as Http server created via Admin console throws 404 error. Ex: http://localhost:7010 -> created via rest api service -> renders a page with list of rest api services available http://localhost:7011 -> created via admin console -> renders 404 (File not found) Am new to Marklogic, appreciate your help. Thanks, Suresh The contents of this e-mail and any attachments are the property of the United Kingdom Hydrographic Office and are intended for the confidential use of the named recipient only. Its unauthorised use, disclosure, storage or copying is not permitted and may be unlawful. If you are not the intended recipient, please destroy all copies and inform the sender by return e-mail. This footnote also confirms that this e-mail message has been scanned for the presence of computer viruses. You are however advised to carry out your own virus checks. ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Roxy bootstrap error XDMP-NOSUCHDB
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>, @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 Sudheer Yalaverthi mailto:sudheer.yalaver...@db.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, March 17, 2016 at 3:41 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Roxy bootstrap error XDMP-NOSUCHDB Hi, I have a monitoring project that is built using ROXY. I am getting the below error while trying to bootstrap. Bootstrapping your project into MarkLogic 7 on hostname... Password for admin user on local : Request made to http://hostname:8002 using user_name admin Request made to http://hostname:8000 using user_name admin Request made to http://hostname:8000 using user_name admin Request made to http://hostname:8000 using user_name admin ERROR: XDMP-NOSUCHDB: xdmp:database("MarkLogic-Monitoring-content") -- No such database MarkLogic-Monitoring-content See MarkLogic Server error log for more details. ERROR: ... Bootstrap FAILED My project name in the build.properties is MarkLogic-Monitoring. Any thoughts on what might be wrong? Regards, Sudheer Yalaverthi --- This communication may contain confidential and/or privileged information. If you are not the intended recipient (or have received this communication in error) please notify the sender immediately and destroy this communication. Any unauthorized copying, disclosure or distribution of the material in this communication is strictly forbidden. Deutsche Bank does not render legal or tax advice, and the information contained in this communication should not be regarded as such. ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Seeing an integer entry at the begining and end of the file
Hi Sudheer, I'm one of the Roxy maintainers. I've never seen this. Could you create an issue on GitHub with enough information (including a sample extension) to reproduce? Please include what version of Ruby you're running, which branch of Roxy you're using (master/dev), 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 Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Sudheer Yalaverthi mailto:sudheer.yalaver...@db.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, March 8, 2016 at 10:52 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Seeing an integer entry at the begining and end of the file Hi, We have a ROXY project with some custom extensions built and we are using this for cluster management. When I try to do the execute deploy modules command, the modules are getting deployed but I see that a new line is being appended at the beginning and end of the file. The beginning of the file has an integer(string length +1) and end of the file has always 20. Not sure how these integers are getting appended to the file. Has anybody else ran into similar situations? Any thoughts? Thanks. Regards, Sudheer Yalaverthi --- This communication may contain confidential and/or privileged information. If you are not the intended recipient (or have received this communication in error) please notify the sender immediately and destroy this communication. Any unauthorized copying, disclosure or distribution of the material in this communication is strictly forbidden. Deutsche Bank does not render legal or tax advice, and the information contained in this communication should not be regarded as such. ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, March 1st… just as I was looking forward to signs of Spring, I hear we may get snow on Friday night in Pennsylvania. No need to tell me how much nicer the weather will be where you live. MarkLogic World We're gearing up for MarkLogic World. Look for new hands-on sessions -- these were really popular last year, so sign up early. This year, the workshops will focus on Data Modeling, Geospatial, and Semantics. I expect all three sessions will be great (but I'm working with Pete Aven to build the Data Modeling one, so I'm sure it will be the best one.) MLW will also have MarkLogic University courses and of course, great sessions and keynotes! Community Projects Have you come across mark.recipes<http://mark.recipes/>? Ryan Semerau describes his site as "Common and reusable techniques for developing on the MarkLogic platform". Check it out, and let Ryan know if you've got new recipes to suggest. DMC Blog In case you missed it, we had three posts on the DMC blog this month. Rob Rudin tells us about Deploying MarkLogic Applications with Gradle<http://developer.marklogic.com/blog/ml-gradle>. Geert Josten explains Managed versus Unmanaged Triples<http://developer.marklogic.com/blog/managed-vs-unmanaged-triples>, while Tamas Piros lays out some differences between MarkLogic and MongoDB<http://developer.marklogic.com/blog/how-is-marklogic-different-from-mongodb>. MarkLogic University MLU has been busy building On Demand courses. Check out the full list at http://mlu.marklogic.com/ondemand/. * Using Node.js: Updates and Deletes * Using the Node.js API to perform document updates and deletes. Security requirements are described. Differentiating between Single and Multi-Statement 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<https://mlu.marklogic.com/selfpaced/>. Dave. -- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] [1.0-ml] XDMP-UNDFUN: (err:XPST0017) Undefined function temporal:axis-create()
As noted in the documentation for temporal:axis-create(): "This function constructs an axis definition based on the existing range indexes that can be added to a collection in subsequent API calls. The axis definition is stored in the schema database." You need to set up the range index 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> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Gaël YIMEN YIMGA mailto:yimeng...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, February 26, 2016 at 10:08 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] [1.0-ml] XDMP-UNDFUN: (err:XPST0017) Undefined function temporal:axis-create() Hello Florent, Now I'm facing the following error (see the picture) [Images intégrées 1] Regards Gaël. -- 2016-02-25 22:41 GMT+01:00 Florent Georges mailto:li...@fgeorges.org>>: Good catch ;-) And Gaël, just to make sure, do not just get rid of all semicolons, remove the last one, and replace the 2 before that with a comma: bt:axis-create(...) , bt:axis-create(...) , bt:collection-create(...) Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ On 25 February 2016 at 22:20, Christopher Hamlin wrote: Try removing the semicolons after each temporal call and see if it goes further. Those are statement separators, so the imports aren't seen. https://docs.marklogic.com/guide/xquery/enhanced#id_41212 On Thu, Feb 25, 2016 at 4:13 PM, Gaël YIMEN YIMGA mailto:yimeng...@gmail.com>> wrote: Hello All, Any update on this Gaël. -- Eng, OCADB, CCAH yimeng...@gmail.com<mailto:yimeng...@gmail.com> skype id : yimen.gael (m) +33 7 81 67 78 23 http://yimengael.blogspot.fr/ 2016-02-24 17:24 GMT+01:00 Gaël YIMEN YIMGA mailto:yimeng...@gmail.com>>: Hello all, I'm using Marklogic version 8 on Windows 8. I would like to create a temporal collection to insert in Marklogic temporal documents. The XQuery template i used is the following: === xquery version "1.0-ml"; import module namespace temporal="http://marklogic.com/xdmp/temporal"; at "/MarkLogic/temporal.xqy"; (: import module namespace temporal="http://marklogic.com/xdmp/temporal"; at "C:/Program Files/MarkLogic/Modules/MarkLogic/temporal.xqy"; :) (: temporal:axis-remove("system"); :) (: temporal:axis-remove("valid"); :) temporal:axis-create("system", cts:element-reference(xs:QName("systemStart")), cts:element-reference(xs:QName("systemEnd"))); temporal:axis-create("valid", cts:element-reference(xs:QName("validStart")), cts:element-reference(xs:QName("validEnd"))); temporal:collection-create("bitemporal", "system", "valid"); === After trying many changes, I'm still facing the following error : Undefined function temporal:axis-create. [Images intégrées 1] Thanks in advance for your help. Gaël. -- ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general -- Florent Georges <http://developer.marklogic.com/mailman/listinfo/general>http://fgeorges.org/ http://h2oconsulting.be/ ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] General Digest, Vol 140, Issue 72
Are you generating this header in XQuery and then you'll do an xdmp:http-get() (or post) to retrieve the data, or are you using something external (say, Java, Ruby, etc) to talk to the SOAP service, and then you'll push the results into MarkLogic? In either case, it sounds like you'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<http://www.marklogic.com/> http://developer.marklogic.com/ From: Rahul Singh mailto:rahulsinghindi...@gmail.com>> Date: Thursday, February 25, 2016 at 11:23 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>>, Dave Cassel mailto:dave.cas...@marklogic.com>> Subject: Re: General Digest, Vol 140, Issue 72 I have one external WSDL from where i am that wasdl and will extract the data from there and when i am hitting that wsdl getting error as The is empty in your request. Username token is missing from there. You need to generate the username token and add it to the header. so we need to generate username token as below sample, my concern is how to generate soap:header. then i will use that extracted data wo upload as it is in ML7. The password digest is comprised of the password, create time and nonce value as follows: Password_Digest = Base64 ( SHA-1 ( nonce + created + password ) ) See: http://docs.oasis-open.org/wss/v1.1/wss-v1.1-spec-os-UsernameTokenProfile.pdf for more information on the UserName token profile. http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";> sample1 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest";>WKwrplT97Bf+aeLEoVc3ILXJtvQ= http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";>0UXQL0U2e0T0YnGj3tgiOA== 2016-02-24T13:46:02.365Z On Thu, Feb 25, 2016 at 9:42 PM, mailto:general-requ...@developer.marklogic.com>> wrote: Send General mailing list submissions to general@developer.marklogic.com<mailto:general@developer.marklogic.com> To subscribe or unsubscribe via the World Wide Web, visit http://developer.marklogic.com/mailman/listinfo/general or, via email, send a message with subject or body 'help' to general-requ...@developer.marklogic.com<mailto:general-requ...@developer.marklogic.com> You can reach the person managing the list at general-ow...@developer.marklogic.com<mailto:general-ow...@developer.marklogic.com> When replying, please edit your Subject line so it is more specific than "Re: Contents of General digest..." Today's Topics: 1. Re: SOAP WSDL Authentication Header in ML7 (Dave Cassel) -- Message: 1 Date: Thu, 25 Feb 2016 16:12:42 + From: Dave Cassel mailto:dave.cas...@marklogic.com>> Subject: Re: [MarkLogic Dev General] SOAP WSDL Authentication Header in ML7 To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Message-ID: mailto:d2f4917b.127723%25dave.cas...@marklogic.com>> Content-Type: text/plain; charset="us-ascii" I don't think you've sent enough information for anyone to help you. What source code is failing? What is the error message? Have you implemented WSDL services in MarkLogic and client is unable to use it, or are you trying to consume data from an external WSDL source, and you're 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.marklogic.com><mailto:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>>> on behalf of Rahul Singh mailto:rahulsinghindi...@gmail.com><mailto:rahulsinghindi...@gmail.com<mailto:rahulsinghindi...@gmail.com>>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com><mailto:general@developer.marklogic.com<mailto:general@developer.marklogic.com>>> Date: Thursday, February 25, 2016 at 11:03 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com><mailto:general@developer.marklogic.com<mailto:general@developer.marklogic.com>>" mailto:general@developer.marklogic.com><mailto:general@developer.marklogic.com<mailto:general@
Re: [MarkLogic Dev General] SOAP WSDL Authentication Header in ML7
I don't think you've sent enough information for anyone to help you. What source code is failing? What is the error message? Have you implemented WSDL services in MarkLogic and client is unable to use it, or are you trying to consume data from an external WSDL source, and you're 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.marklogic.com>> on behalf of Rahul Singh mailto:rahulsinghindi...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, February 25, 2016 at 11:03 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] SOAP WSDL Authentication Header in ML7 any update into this? Hello, we are extracting the data by WSDL and then we will apply extracted data eContent System by ML7 but i am getting failure to generate SOAP Header, Below is the sample for username token: Password_Digest = Base64 ( SHA-1 ( nonce + created + password ) ) http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";> abcd http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest";>WKwrplT97Bf+aeLEoVc3ILXJtvQ= http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";>0UXQL0U2e0T0YnGj3tgiOA== 2016-02-24T13:46:02.365Z How to generate SOAP Header? On Thu, Feb 25, 2016 at 2:50 PM, Rahul Singh mailto:rahulsinghindi...@gmail.com>> wrote: Hello, we are extracting the data by WSDL and then we will apply extracted data eContent System by ML7 but i am getting failure to generate SOAP Header, Below is the sample for username token: Password_Digest = Base64 ( SHA-1 ( nonce + created + password ) ) http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";> abcd http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest";>WKwrplT97Bf+aeLEoVc3ILXJtvQ= http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";>0UXQL0U2e0T0YnGj3tgiOA== 2016-02-24T13:46:02.365Z How to generate SOAP Header? ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Javascript coding help on ML 8
For making modules, there's a description of this at the Global-Object.require page (http://docs.marklogic.com/Global-Object.require). Example: lib.sjs: var PI = Math.PI; exports.area = function area(r) { return PI * r * r; }; Test.js: var circle = require("lib"); circle.area(2); Key point is to set up the exports global with references to functions you want to export. You can then access these by requiring them in another file. For specifying datatypes in function arguments and returns, the JavaScript language doesn't support this. For functions 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://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 shruti kapoor mailto:shrutikapoor@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, February 24, 2016 at 5:52 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Javascript coding help on ML 8 Hi all We have upgraded from ML 7 to 8 and want to replace the existing xqy code with javascript. But I am facing the following problems : 1) How to make modules in JS 2) Specifying datatype in function arguments and return type. Any help is much appreciated! Thanks Shruti Kapoor ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] URI pattern match function
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/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of Florent Georges mailto:li...@fgeorges.org>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Thursday, February 4, 2016 at 9:37 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] URI pattern match function Hi, The function cts:uri-matches takes a URI pattern as a parameter. Something that looks a bit like a file glob in Shell: /foo/*/bar-*.xml. Is there a function that returns whether a given string matches such a pattern? A bit like fn:matches, but for a URI pattern instead of a proper regex. Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Regarding Time limit exceed issue
Each application server has a request timeout (defaulting to 30 seconds). Assuming you're not trying to do a multi-statement transaction, your request has to finish before that request timeout is up. It sounds like your transaction is failing to get the requested lock in a timely manner. 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://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 "Mani, Sivasubramani (ELS)" mailto:s.m...@elsevier.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, February 3, 2016 at 1:37 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Cc: "Aroul, Pavadai Durai (ELS-CON)" mailto:aro...@elsevier.com>> Subject: [MarkLogic Dev General] Regarding Time limit exceed issue Dear Team, We get time limit exceed issue while executing the “xdmp:lock-for-update”. Kindly guide us how to getting rid from this. Thanks & Regards, Siva ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Community Newsletter
Hello Community, Fellow Pennsylvanian Punxsutawney Phil<https://en.wikipedia.org/wiki/Punxsutawney_Phil> will soon be making his weather predictions. Having recently gotten a full winter's worth of snow in one storm, I'm okay if we don't get six more weeks of winter. MarkLogic Releases MarkLogic 7.0-6 and 8.0-4.2 have been released. Each release has some very helpful bug fixes in it -- check the list at https://help.marklogic.com/Bugtrack/List. You can download the latest at http://developer.marklogic.com/products. MarkLogic University MLU has released two new on demand courses: Using Node.js: Inserts and Reads, and Impact of Normalization: Lessons Learned. There's also the first French On Demand course: Introduction à MarkLogic. Check out the full On Demand offerings at http://mlu.marklogic.com/ondemand or get the app in the iPhone or Android app stores. DMC Speaking of On Demand content, search on developer.marklogic.com will start including On Demand courses. We have scripts for two courses in there now, more to come! Blog In case you missed it, David Gorbet's "I is for Isolation, That's Good Enough for Me!<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>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] ARM platform? Be a BIG
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://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 Chris Grimes mailto:cjg1...@live.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, January 25, 2016 at 10:26 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] ARM platform? Be a BIG I attempted putting MarkLogic on the smallest DigitalOcean droplet (1 core, 512 MB) and even after setting up a swap file and hugepages it had issues. Trying to run it on a Pi would be pushing it. Node can run on Pi easily though, and proxy requests to a MarkLogic backend as seen here: https://github.com/marklogic/slush-marklogic-node/wiki/Explaining-the-stack Sent from Outlook Mobile<https://aka.ms/qtex0l> On Mon, Jan 25, 2016 at 5:11 PM -0800, "Danny Sokolsky" mailto:danny.sokol...@marklogic.com>> wrote: You could put the Node.js client on a Raspberry Pi, then have that talk to a MarkLogic Server sitting in the cloud. That seems like a more sensible architecture to me. -Danny From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Jakob Fix Sent: Sunday, January 24, 2016 3:49 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] ARM platform? Be a BIG Ok, so no mobile strategy to fall back on in case of an offline-first scenario? (CouchDB has PouchDB ...) No, not trolling, just curious. :-) cheers, Jakob. On Sun, Jan 24, 2016 at 5:54 AM, David Lee mailto:david@marklogic.com>> wrote: When raspberry pi implements docker ( using a x86/64 instruction set) ML might run on that, it would have be a BIG pie ... I haven't followed the pi's lately...what's the biggest and fastest you can get ? (Ram, cpu cores, speed, storage. Networking ) Sent from my iPad David A Lee)) d...@marklogic.com<mailto:d...@marklogic.com> On Jan 23, 2016, at 5:19 PM, Jakob Fix mailto:jakob@gmail.com>> wrote: Hmm, was that not the right moment to ask this question? Or the right place? I really can see the Raspberry PI clusters of ML machines ... if only there was an ARM-architecture version of MarkLogic Server! cheers, Jakob. On Thu, Jan 21, 2016 at 2:21 PM, Jakob Fix mailto:jakob@gmail.com>> wrote: Hello, I've been wondering whether MarkLogic will/may be/is available for the ARM platform . cheers, Jakob. ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] A way to detect CPF updates complete?
To follow up on Ashley's question: yes, xdmp:document-add-collections() will retain the document's current collections. (Use xdmp:document-set-collections()<http://docs.marklogic.com/xdmp:document-set-collections> to replace the existing ones with new ones.) That said, I like 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://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.marklogic.com>> on behalf of Geert Josten mailto:geert.jos...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Saturday, January 23, 2016 at 2:35 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] A way to detect CPF updates complete? CPF automatically adds a status property that receives the value ‘done’ whenever it depleted states and pipelines to go through.. Cheers, Geert From: mailto:general-boun...@developer.marklogic.com>> on behalf of David Gorbet mailto:david.gor...@marklogic.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, January 22, 2016 at 6:00 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] A way to detect CPF updates complete? You could also potentially use permissions to do this, which might be more broadly useful since you don’t have to be sure that each search is aware of the collection issue. From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Ashley Peacock Sent: Friday, January 22, 2016 8:56 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] A way to detect CPF updates complete? Sounds like a nice idea. If I use https://docs.marklogic.com/xdmp:document-add-collections will it maintain any existing collections, and simply just add a new one if I were to add “searchable”? Ashley [cid:image003.jpg@01D154F3.35418ED0] [cid:image004.png@01D154F3.35418ED0] Ashley Peacock Developer II Elevate Credit International Limited P: 01284 717800 | Ext: 877 | Elevate.co.uk<http://elevate.co.uk> Amadeus House, Floral Street, Covent Garden, London WC2E 9DP Privileged and Confidential. This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain privileged and/or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited. Elevate Credit International Limited is registered in England & Wales with Company Number 05041905. Registered Office: 27-28 Eastcastle Street, London, W1W 8DH From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Dave Cassel Sent: 22 January 2016 16:52 To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] A way to detect CPF updates complete? 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>, @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 Ashley Peacock mailto:apeac...@elevate.co.uk>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, January 22, 2016 at 8:41 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] A way to detect CPF updates complete? Hey, I’m running a CPF upon insert in to a database. Is there a way of detecting when the updates or done, so that I only query documents that have completed the CPF amendments? Otherwise it seems that if the document is retrieved and update in the database before that has a chance to complete, it over
Re: [MarkLogic Dev General] A way to detect CPF updates complete?
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>, @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 Ashley Peacock mailto:apeac...@elevate.co.uk>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, January 22, 2016 at 8:41 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] A way to detect CPF updates complete? Hey, I’m running a CPF upon insert in to a database. Is there a way of detecting when the updates or done, so that I only query documents that have completed the CPF amendments? Otherwise it seems that if the document is retrieved and update in the database before that has a chance to complete, it overwrites the pending job and it never completes. I’m using the REST API to retrieve the documents for reference. Thanks, Ashley [cid:image538c63.PNG@f1b6856c.4dba8bb1] [cid:image920853.PNG@db321204.4490491e] Ashley Peacock Developer II Elevate Credit International Limited P: 01284 717800 | Ext: 877 | Elevate.co.uk<http://elevate.co.uk> Amadeus House, Floral Street, Covent Garden, London WC2E 9DP Privileged and Confidential. This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain privileged and/or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited. Elevate Credit International Limited is registered in England & Wales with Company Number 05041905. Registered Office: 27-28 Eastcastle Street, London, W1W 8DH ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Regarding error message display
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: mailto:general-boun...@developer.marklogic.com>> on behalf of Quang Minh To mailto:minht...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Friday, January 15, 2016 at 7:10 PM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Regarding error message display please don't send email to me. Many thanks! On 11 January 2016 at 19:57, David Strickland mailto:dstri...@gmail.com>> wrote: Hi Siva, With regards to Eclipse integration... There is an Eclipse plugin named XQuery Development Tools (XQDT)<https://wiki.eclipse.org/XQuery_Development_Tools> that provides syntax highlighting, content assist, etc. I believe the plugin is a bit out-of-date, but there was a MarkLogic effort<http://developer.marklogic.com/code/xqdt> to create an updated fork (not sure of the current status). MarkLogic also has some documentation<https://developer.marklogic.com/learn/xqdt-setup> on setting up XQDT. I typically use a combination of Eclipse/XQDT, MarkLogic's QConsole<https://docs.marklogic.com/guide/qconsole/walkthru>, and log messages<https://docs.marklogic.com/xdmp:log> for development. -David On Wed, Jan 6, 2016 at 7:22 AM, Geert Josten mailto:geert.jos...@marklogic.com>> wrote: Hi Siva, I can’t help with the Eclipse IDE integration. Not even sure how well it works with latest MarkLogic. I do know that oXygen Enterprise edition provides excellent integration with MarkLogic. Regarding displaying error messages: You could put a try catch inside your spawn-function, and return the error xml as result. Pass in the true option to spawn-function to make QC waits for errors. Another option would be to just monitor the ErrorLog while your code is running. You can do that from the Admin UI (Logs tab on the start screen), or you could look at this project that provides a Google Chrome plugin: http://github-search.demo.marklogic.com/detail/vlad-zapp/MLLogParser.json Note: not sure how up to date the MLLogParser project is.. Kind regards, Geert From: mailto:general-boun...@developer.marklogic.com>> on behalf of "Mani, Sivasubramani (ELS)" mailto:s.m...@elsevier.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Wednesday, January 6, 2016 at 11:50 AM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Regarding error message display Dear Team, Is there any way to display error message in query console during spawn-function running and also kindly guide me how to debug the marklogic using eclipse ide. Thanks & Regards, Siva ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general -- .. Quang Minh. ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Regarding Performance
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 Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: mailto:general-boun...@developer.marklogic.com>> on behalf of David Strickland mailto:dstri...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Monday, January 4, 2016 at 8:18 AM To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Regarding Performance Hi Siva, The MarkLogic Query Performance and Tuning Guide (https://docs.marklogic.com/guide/performance) is a good place to start. I'm sure the group would be happy to discuss any specific questions that you have related to query performance. -David On Mon, Jan 4, 2016 at 1:30 AM, Mani, Sivasubramani (ELS) mailto:s.m...@elsevier.com>> wrote: Dear Team, How could I improve the performance speed of MarkLogic Xquery execution time. Thanks & Regards, Siva ___ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general