27
Jun
Author: Dave Cassel | Category:
Software Development
Tonight’s post is based on a question from Amit, a reader: I am back again with a doubt. Now we know that the default algorithm used by Marklogic is “score-logtfidf” for the relevance calculation. Now in my project, this is the default option as well, but what it is doing is it is giving preference […]
04
Jun
Author: Dave Cassel | Category:
Software Development
Update: I got some feedback on this post that amounted to “Wha???” Rereading it, I see that I really went into the esoteric for this one. After spending some time dealing with a very specific problem, I posted the solution, but it’s a problem you’re not very likely to encounter. If you do and you’re […]
27
May
Author: Dave Cassel | Category:
Software Development
The “directory creation” database setting is one of the first things I change for a new database. The default is “automatic”, but I switch it to “manual”, as I was taught by more experienced developers when I joined MarkLogic. The reason given was performance — use manual so that MarkLogic doesn’t bother creating directories. I’ve […]
23
Apr
Author: Dave Cassel | Category:
Software Development
I just published an XQuery library to GitHub to convert lines of Comma Separated Value data to XML. That can probably be done more simply if you don’t care what the XML looks like, but I wanted to build templates so that I could get good structure. I also built in an action mechanism, so that […]
29
Feb
Author: Dave Cassel | Category:
Software Development
MarkLogic has long had the ability to spawn tasks, consisting of a module, a set of variables and some options. Those tasks go into the task queue and get worked off by the configured number of threads. A new feature in MarkLogic 5 gives a new option: higher priority tasks. Let’s take a look at […]
22
Feb
Author: Dave Cassel | Category:
Software Development
I’ve started a couple posts lately, only to find them more complex than expected. So to get myself back on the board, tonight you get a pretty simple one, based on an error one of my colleagues encountered recently. Suppose we have an int range element index set up on <count/> in our MarkLogic database. xdmp:document-insert( […]
12
Jan
Author: Dave Cassel | Category:
Software Development
Today I get to give you a sneak peak into a feature that’s not yet officially present, but you’ll find if you know where to look: XQuery-level integration with ImageMagick! In this post I demonstrate automatically scaling down large images for CurioVault.com.
07
Jan
Author: Dave Cassel | Category:
Entrepreneurism,
Software Development
MarkLogic 5 includes the Express license, which allows for small production deployments. I decided to take advantage of that to put onto the web a little hobby site I’ve had in prototype mode for a year or so. I’ve collected lapel pins since 1984. In that time, I’ve gotten more than 150 and I’ve started […]
07
Dec
Author: Dave Cassel | Category:
Software Development
At MarkLogic, I work on a team that is charged with building Proof-of-Concept systems quickly and building them well enough that the developers who take over later will have a good starting point. I’d like to talk more about the framework that we’ve built to help us with those goals in future posts, but for […]
09
Nov
Author: Dave Cassel | Category:
Software Development
When you point a MarkLogic application server to some source code, that code can either reside on the file system or in a modules database. Here are some reasons why you might pick one of those over the other. Modules Database Deploying code is a transactional update — there’s no need to worry that the […]