Sha256: 188f6a221da4af26c2dd034177be3dd1c332e772736b7c3ccf855784c812379b

Contents?: true

Size: 293 Bytes

Versions: 14

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true

module Typesense
  class MultiSearch
    RESOURCE_PATH = '/multi_search'

    def initialize(api_call)
      @api_call = api_call
    end

    def perform(searches, query_params = {})
      @api_call.post(RESOURCE_PATH, searches, query_params)
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
typesense-3.0.0.rc1 lib/typesense/multi_search.rb
typesense-2.1.0 lib/typesense/multi_search.rb
typesense-2.1.0.rc2 lib/typesense/multi_search.rb
typesense-2.1.0.rc1 lib/typesense/multi_search.rb
typesense-2.0.0 lib/typesense/multi_search.rb
typesense-1.1.0 lib/typesense/multi_search.rb
typesense-1.0.0 lib/typesense/multi_search.rb
typesense-0.15.0 lib/typesense/multi_search.rb
typesense-0.14.1 lib/typesense/multi_search.rb
typesense-0.14.0 lib/typesense/multi_search.rb
typesense-0.13.0 lib/typesense/multi_search.rb
typesense-0.12.0 lib/typesense/multi_search.rb
typesense-0.11.1 lib/typesense/multi_search.rb
typesense-0.11.0 lib/typesense/multi_search.rb