30
Jun
Author: Dave Cassel | Category:
Software Development
This post shows how to ingest JSON into MarkLogic 7 using mlcp. Unlike many, this one is very specific to MarkLogic 7. Since the release of MarkLogic 6, MarkLogic Content Pump (mlcp) has been the supported tool for importing, exporting, and copying content. One feature that’s missing from it is the ability to load JSON files […]
23
Oct
Author: Dave Cassel | Category:
Software Development
I just got my first taste of one of the new features in MarkLogic 7: the ability to do partial document updates through the built-in REST API. It made me happy. You may be aware that the REST API was introduced in MarkLogic 6. That version handles search and full-document CRUD operations. However, if you […]
13
Sep
Author: Dave Cassel | Category:
Software Development
Suppose you’ve built an application using MarkLogic’s Visualization Widgets. At some point you decide you have too many and decide to remove one. I’ve seen a couple cases where someone does an incomplete removal, so I figured it’s worth laying out the steps. This write-up assumes that you’ve built an application using Application Builder, but […]
04
Sep
Author: Dave Cassel | Category:
Software Development
I just went through the exercise of figuring out what’s needed to change the default page when building an application with MarkLogic’s REST API. Time to share. Built-in Default Suppose you have an HTTP application server configured to use the REST API (for instance, by generating a Roxy application with –app-type=rest). The URL rewriter field […]
30
Apr
Author: Dave Cassel | Category:
Software Development
When you deploy a custom service extension to MarkLogic’s REST API, where does it go? By default, service extensions are put in the Extensions database. This means that an extension is available to all applications on the MarkLogic instance. While I can see use cases where this is helpful, the servers I work on typically […]
04
Dec
Author: Dave Cassel | Category:
Software Development
I’ve gotten very accustomed to using the Roxy with my MarkLogic projects. However, with the new App Builder available with MarkLogic 6, some of my projects are based on JavaScript and the REST API. I still want to use the Roxy deployer, however. The simplicity of deploying configuration and code with a few simple commands […]
19
Oct
Author: Dave Cassel | Category:
Software Development
In a recent post, I showed how to build a simple MapReduce Aggregation function with MarkLogic 6. That’s a good start, but the next step is figuring out what we can do with it. At some point, we’ll probably want to display the values from the function to the user, maybe as part of an […]
03
Oct
Author: Dave Cassel | Category:
Software Development
In MarkLogic 6, Application Builder has gotten an overhaul. I really like the result — you can now get some interesting charts and maps set up just by clicking through the wizard, and the source code it deploys is easier to work with. There is one aspect that’s a bit tricky, however — migrating the […]
26
Sep
Author: Dave Cassel | Category:
Software Development
One of the new features in MarkLogic 6 is the ability to call out to C++ code to do Map/Reduce calculations. This lets you add any kind of aggregation function your project needs, in a highly performant way. You pass in one or more range indexes and MarkLogic farms them out to the stand level […]