Removing a Facet when using the MarkLogic Visualization Widgets

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 […]

Wildcards in MarkLogic date queries

Author: Dave Cassel  |  Category: Software Development

I have another reader question today, also from Amit. To summarize, he’s using the Search API and has set up a range constraint like so:   <options xmlns=”http://marklogic.com/appservices/search”>     <constraint name=”date”>    <range type=”xs:date” facet=”false”>         <element ns=”http://www.marklogic.com/app/meta” name=”Date”/>       </range>     </constraint> </options> So far, so good. But the query that […]

Unparsing a custom facet

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 […]

A custom facet for the Search API

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 […]