13
Aug
Author: Dave Cassel | Category:
Software Development
In many search applications, when we show the results of a user’s search, we also want to display the search that was done by putting the query string into a text box, especially if the search is built up from an advanced search screen. In some cases, we might want to modify the search before […]
Comments Off on Unparsing a custom facet |
Add Comment
27
Jul
Author: Dave Cassel | Category:
Software Development
I recently got to teach the MarkLogic Essentials class for MarkLogic University. To illustrate custom facets, I implemented one on the fly with the class watching. No pressure. :) The good news is that it (almost) worked with the first try — there was just one little problem with the display. This post shows the […]
15
Jun
Author: Dave Cassel | Category:
Software Development
Today we’ll play “Spot That Mistake”. This will probably be really easy for some but it threw me off for a bit. My goal I wanted to bring some data into MarkLogic Server just to give me something to work with while exploring some features. I grabbed an XML file that represented the geocaches that […]
28
Mar
Author: Dave Cassel | Category:
Software Development
A little while ago I ran YSlow, a Firefox plugin that evaluates how quickly a web page loads, against an Application Builder based app I’d written. YSlow gave my site a grade C, with an overall performance score of 71 (out of 100). Some of the suggestions that YSlow offered are not simple to implement […]
Comments Off on Expires headers in MarkLogic Server |
Add Comment
28
Mar
Author: Dave Cassel | Category:
Uncategorized
Last week I got to do something a little different — I got to teach a class for MarkLogic University, the training group within the company. It’s been years since I last got to formally teach a class, but I really enjoyed it. No homework to grade, no tests to come up with, just time […]
Comments Off on MarkLogic University |
Add Comment
07
Mar
Author: Dave Cassel | Category:
Software Development
I learned something interesting today, so I thought I’d share. A colleague of mine wanted to figure out how to express a range of dates as a query string for an Application Builder app. These applications use the Search API, so a lot of the search magic is in the options that get passed into the […]
Comments Off on Searching for a range of dates |
Add Comment
27
Feb
Author: Dave Cassel | Category:
Software Development
In a recent post, I wrote a tutorial showing how to add a view to an Application Builder-based application. As one step, I made a copy of the rewrite.xqy module under the custom directory so that I had an easy way to add my new view. There was one thing about the approach that I […]
Comments Off on Experimenting with AppBuilder’s rewriter |
Add Comment
26
Feb
Author: Dave Cassel | Category:
Software Development
In MarkLogic Server, we tend to think about the documents that we put into the database. Most of the documentation, conversely, talks about fragments. I’ve had to learn some about fragments recently, so I figured I’d share. What are fragments? Fragments are one layer of granularity of data in a MarkLogic Server database. In particular, […]
12
Jan
Author: Dave Cassel | Category:
Software Development
A number of MarkLogic Server functions require a query as a parameter. Every now and then, however, you want to call one of those functions without specifying a query. There’s an easy way to handle this: you can use cts:and-query(()) as an empty query. This empty query matches everything, so it’s a simple way of […]
04
Jan
Author: Dave Cassel | Category:
Software Development
This post is based on how MarkLogic’s Application Builder worked in MarkLogic versions 4 and 5; it does not apply to versions 6+. In my last post, I showed how to add maps to the front page of a MarkLogic Server Application Builder-based application. But what if you want to add a whole new view? […]