"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class GraphQLBm25 {
    properties;
    query;
    constructor(args) {
        this.properties = args.properties;
        this.query = args.query;
    }
    toString() {
        let args = [`query:${JSON.stringify(this.query)}`]; // query must always be set
        if (this.properties !== undefined) {
            args = [...args, `properties:${JSON.stringify(this.properties)}`];
        }
        return `{${args.join(',')}}`;
    }
}
exports.default = GraphQLBm25;
