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.Declaration
Swift
public struct MeiliSearch
-
Undocumented
See moreDeclaration
Swift
public struct Indexes
-
See moreDump
instances represent the current status of a dump in the serverDeclaration
Swift
public struct Dump : Codable, Equatable
-
See moreGetParameters
instances represent query setup for a documents fetch request.Declaration
Swift
public struct GetParameters : Codable, Equatable
-
See moreHealth
instances represent the status of the MeiliSearch server.Declaration
Swift
public struct Health : Codable, Equatable
-
See moreIndex
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.Declaration
Swift
public struct Index : Codable, Equatable
-
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 moreDeclaration
Swift
public struct Key : Codable, Equatable
-
See moreSearchParameters
instances represent query setup for a search request. UseSearchParameters.query
to directly create a search query with the default search configuration.Declaration
Swift
public struct SearchParameters : Codable, Equatable
-
See moreSearchResult
instances represent the result of a search. Requires that the valueT
conforms to theCodable
andEquatable
protocols.Declaration
Swift
public struct SearchResult<T> : Codable, Equatable where T : Decodable, T : Encodable, T : Equatable
-
Settings object provided byb the user
See moreDeclaration
Swift
public struct Setting : Codable, Equatable
-
Returned Setting object with avoided nil values
See moreDeclaration
Swift
public struct SettingResult : Codable, Equatable
-
See moreAllStats
instances represent stat of all Indexes.Declaration
Swift
public struct AllStats : Codable, Equatable
-
See moreUpdate
instances represent the current transcation result, use theupdateId
value to verify the status of your transaction.Declaration
Swift
public struct Update : Codable, Equatable
-
See moreVersion
instances represent the current version of the MeiliSearch server.Declaration
Swift
public struct Version : Codable, Equatable
-
See moreWaitOptions
struct represent the options used during a waitForPendingUpdate call.Declaration
Swift
public struct WaitOptions : Codable, Equatable