[MarkLogic Dev General] rest services return xml instead of json

2017-02-01 Thread Vinayagam, Jothiprakash (Conduent)
HI all, We wrote rest service below to get the data. It returns as xml instead of json http://marklogic.com/xdmp/json"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xs="http://www.w3.org/2001/XMLSchema";> 24309

Re: [MarkLogic Dev General] Custom search grammar

2017-02-01 Thread Erik Hennum
Hi, Will: The Search API and its dynamic parser was introduced in MarkLogic 4.0 (or maybe 4.1). A lot has changed since then. MarkLogic 8 made it possible for MarkLogic customers to take advantage of the JavaScript ecosystem. Part of the motivation for taking on the work of building v8 into t

Re: [MarkLogic Dev General] Custom search grammar

2017-02-01 Thread Will Thompson
Hi Oleksi, If it seems odd to you that MarkLogic continues to pressure you *not* to use the API they built, you are not alone. Erik, I don't think it's reasonable to suggest to customers only needing to extend or replace a small portion of Search API that they rewrite significant parts of it

[MarkLogic Dev General] Community Newsletter

2017-02-01 Thread Dave Cassel
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 c

Re: [MarkLogic Dev General] Custom search grammar

2017-02-01 Thread Erik Hennum
Hi, Oleksii: To be clear, we discourage use of custom grammars. Besides the JavaScript parser generators that I mentioned previously, you might also consider the XQuery approach demonstrated in: https://github.com/mblakele/xqysp These approaches will support more flexible and performant pa

[MarkLogic Dev General] Azure/Hyper-V virtual disk write cache policy

2017-02-01 Thread Will Thompson
In Azure or Hyper-V-based VMs, the write caching policy for a virtual disk always displays as enabled (and it can't be changed), regardless of whether or not the system hosting the virtual disk is really configured to cache writes. However, there is a second option underneath it to disable Windo

Re: [MarkLogic Dev General] How to load data from DB2 RDBMS to Marklogic

2017-02-01 Thread Patrick van Benthem
Some remarks: Within DB2 you can run "export " using a select statement, you can also join the tables, use a view if needed. You export to a delimited file (choose "schema-name.table/view-name" as filename) Recently I exported data from SQLserver database, same approach, BUT check the characte

Re: [MarkLogic Dev General] Custom search grammar

2017-02-01 Thread Oleksii Segeda
Hi Erik, Did you figure out how to extend the grammar? Regards, Oleksii Segeda IT Analyst Information and Technology Solutions -Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Oleksii Segeda Sent: Monday, Jan

[MarkLogic Dev General] How to load data from DB2 RDBMS to Marklogic

2017-02-01 Thread Manoj Viswanadha
Hi Team, I have a requirement to load the data from DB2 into Marklogic server. I need to do data modelling with table data in DB2 to xml files and load in Marklogic. Please suggest me how i can achieve this. Thanks in advance. Thanks Manoj Viswanadha Sr. Marklogic Developer +91-80-4082-6800