Sha256: d0bbf89d2fd2ba0096e91c3b47de2087f198174be3ffbe0979c4c3ef161d722f
Contents?: true
Size: 520 Bytes
Versions: 7
Compression:
Stored size: 520 Bytes
Contents
# Schema API - https://swiftype.com/documentation/app-search/api/schema module Elastic module AppSearch class Client module Schema # Retrieve schema for the current engine. def get_schema(engine_name) get("engines/#{engine_name}/schema") end # Create a new schema field or update existing schema for the current engine. def update_schema(engine_name, schema) post("engines/#{engine_name}/schema", schema) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems