Sha256: ef6af26d2989dbbc34abd3b23b57ee32583276129d2ff2d97902e24378ca7552
Contents?: true
Size: 338 Bytes
Versions: 10
Compression:
Stored size: 338 Bytes
Contents
module MarkLogic module Queries class BoostQuery< BaseQuery def initialize(matching_query, boosting_query) @matching_query = matching_query @boosting_query = boosting_query end def to_xqy %Q{cts:boost-query(#{@matching_query.to_xqy},#{@boosting_query.to_xqy})} end end end end
Version data entries
10 entries across 10 versions & 1 rubygems