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

Controlling Search Scores

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

Redirecting responses from the rewriter in MarkLogic

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