Class SearchOptions.Built

    • Method Detail

      • injectParams

        @Internal
        public void injectParams​(String indexName,
                                 JsonObject queryJson,
                                 Duration timeout)
        Inject the top level parameters of a query into a prepared JsonObject that represents the root of the query.
        Parameters:
        indexName - the name of the index to inject.
        queryJson - the prepared JsonObject for the whole query.
        timeout - the timeout of the request to send to the server.