Structures

The following structures are available globally.

  • A MeiliSearch instance represents a MeiliSearch client used to easily integrate your Swift product with the MeiliSearch server.

    Warning

    MeiliSearch instances are thread safe and can be shared across threads or dispatch queues.
    See more

    Declaration

    Swift

    public struct MeiliSearch
  • Undocumented

    See more

    Declaration

    Swift

    public struct Indexes
  • Dump instances represent the current status of a dump in the server

    See more

    Declaration

    Swift

    public struct Dump : Codable, Equatable
  • GetParameters instances represent query setup for a documents fetch request.

    See more

    Declaration

    Swift

    public struct GetParameters : Codable, Equatable
  • Health instances represent the status of the MeiliSearch server.

    See more

    Declaration

    Swift

    public struct Health : Codable, Equatable
  • Index instances is an entity that gathers a set of documents with its own settings. It can be comparable to a table in SQL, or a collection in MongoDB.

    See more

    Declaration

    Swift

    public struct Index : Codable, Equatable
  • Key

    Each instance of MeiliSearch has three keys: a master, a private, and a public. Each key has a given set of permissions on the API routes.

    See more

    Declaration

    Swift

    public struct Key : Codable, Equatable
  • SearchParameters instances represent query setup for a search request. Use SearchParameters.query to directly create a search query with the default search configuration.

    See more

    Declaration

    Swift

    public struct SearchParameters : Codable, Equatable
  • SearchResult instances represent the result of a search. Requires that the value T conforms to the Codable and Equatable protocols.

    See more

    Declaration

    Swift

    public struct SearchResult<T> : Codable, Equatable where T : Decodable, T : Encodable, T : Equatable
  • Settings object provided byb the user

    See more

    Declaration

    Swift

    public struct Setting : Codable, Equatable
  • Returned Setting object with avoided nil values

    See more

    Declaration

    Swift

    public struct SettingResult : Codable, Equatable
  • AllStats instances represent stat of all Indexes.

    See more

    Declaration

    Swift

    public struct AllStats : Codable, Equatable
  • AllStats instances represent stat of a specific Index.

    See more

    Declaration

    Swift

    public struct Stat : Codable, Equatable
  • Update instances represent the current transcation result, use the updateId value to verify the status of your transaction.

    See more

    Declaration

    Swift

    public struct Update : Codable, Equatable
  • Version instances represent the current version of the MeiliSearch server.

    See more

    Declaration

    Swift

    public struct Version : Codable, Equatable
  • WaitOptions struct represent the options used during a waitForPendingUpdate call.

    See more

    Declaration

    Swift

    public struct WaitOptions : Codable, Equatable