package
0.6.2-beta.7
Repository: https://github.com/tigrisdata/typesense-go.git
Documentation: pkg.go.dev
# Functions
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewCreateCollectionRequest calls the generic CreateCollection builder with application/json body.
NewCreateCollectionRequestWithBody generates requests for CreateCollection with any type of body.
NewCreateKeyRequest calls the generic CreateKey builder with application/json body.
NewCreateKeyRequestWithBody generates requests for CreateKey with any type of body.
NewDebugRequest generates requests for Debug.
NewDeleteAliasRequest generates requests for DeleteAlias.
NewDeleteCollectionRequest generates requests for DeleteCollection.
NewDeleteDocumentRequest generates requests for DeleteDocument.
NewDeleteDocumentsRequest generates requests for DeleteDocuments.
NewDeleteKeyRequest generates requests for DeleteKey.
NewDeleteSearchOverrideRequest generates requests for DeleteSearchOverride.
NewDeleteSearchSynonymRequest generates requests for DeleteSearchSynonym.
NewExportDocumentsRequest generates requests for ExportDocuments.
NewGetAliasesRequest generates requests for GetAliases.
NewGetAliasRequest generates requests for GetAlias.
NewGetCollectionRequest generates requests for GetCollection.
NewGetCollectionsRequest generates requests for GetCollections.
NewGetDocumentRequest generates requests for GetDocument.
NewGetKeyRequest generates requests for GetKey.
NewGetKeysRequest generates requests for GetKeys.
NewGetSearchOverrideRequest generates requests for GetSearchOverride.
NewGetSearchOverridesRequest generates requests for GetSearchOverrides.
NewGetSearchSynonymRequest generates requests for GetSearchSynonym.
NewGetSearchSynonymsRequest generates requests for GetSearchSynonyms.
NewHealthRequest generates requests for Health.
NewImportDocumentsRequestWithBody generates requests for ImportDocuments with any type of body.
NewIndexDocumentRequest calls the generic IndexDocument builder with application/json body.
NewIndexDocumentRequestWithBody generates requests for IndexDocument with any type of body.
NewMultiSearchRequest calls the generic MultiSearch builder with application/json body.
NewMultiSearchRequestWithBody generates requests for MultiSearch with any type of body.
NewSearchCollectionRequest generates requests for SearchCollection.
NewTakeSnapshotRequest generates requests for TakeSnapshot.
NewUpdateCollectionRequest calls the generic UpdateCollection builder with application/json body.
NewUpdateCollectionRequestWithBody generates requests for UpdateCollection with any type of body.
NewUpdateDocumentRequest calls the generic UpdateDocument builder with application/json body.
NewUpdateDocumentRequestWithBody generates requests for UpdateDocument with any type of body.
NewUpdateDocumentsRequest calls the generic UpdateDocuments builder with application/json body.
NewUpdateDocumentsRequestWithBody generates requests for UpdateDocuments with any type of body.
NewUpsertAliasRequest calls the generic UpsertAlias builder with application/json body.
NewUpsertAliasRequestWithBody generates requests for UpsertAlias with any type of body.
NewUpsertSearchOverrideRequest calls the generic UpsertSearchOverride builder with application/json body.
NewUpsertSearchOverrideRequestWithBody generates requests for UpsertSearchOverride with any type of body.
NewUpsertSearchSynonymRequest calls the generic UpsertSearchSynonym builder with application/json body.
NewUpsertSearchSynonymRequestWithBody generates requests for UpsertSearchSynonym with any type of body.
NewVoteRequest generates requests for Vote.
ParseCreateCollectionResponse parses an HTTP response from a CreateCollectionWithResponse call.
ParseCreateKeyResponse parses an HTTP response from a CreateKeyWithResponse call.
ParseDebugResponse parses an HTTP response from a DebugWithResponse call.
ParseDeleteAliasResponse parses an HTTP response from a DeleteAliasWithResponse call.
ParseDeleteCollectionResponse parses an HTTP response from a DeleteCollectionWithResponse call.
ParseDeleteDocumentResponse parses an HTTP response from a DeleteDocumentWithResponse call.
ParseDeleteDocumentsResponse parses an HTTP response from a DeleteDocumentsWithResponse call.
ParseDeleteKeyResponse parses an HTTP response from a DeleteKeyWithResponse call.
ParseDeleteSearchOverrideResponse parses an HTTP response from a DeleteSearchOverrideWithResponse call.
ParseDeleteSearchSynonymResponse parses an HTTP response from a DeleteSearchSynonymWithResponse call.
ParseExportDocumentsResponse parses an HTTP response from a ExportDocumentsWithResponse call.
ParseGetAliasesResponse parses an HTTP response from a GetAliasesWithResponse call.
ParseGetAliasResponse parses an HTTP response from a GetAliasWithResponse call.
ParseGetCollectionResponse parses an HTTP response from a GetCollectionWithResponse call.
ParseGetCollectionsResponse parses an HTTP response from a GetCollectionsWithResponse call.
ParseGetDocumentResponse parses an HTTP response from a GetDocumentWithResponse call.
ParseGetKeyResponse parses an HTTP response from a GetKeyWithResponse call.
ParseGetKeysResponse parses an HTTP response from a GetKeysWithResponse call.
ParseGetSearchOverrideResponse parses an HTTP response from a GetSearchOverrideWithResponse call.
ParseGetSearchOverridesResponse parses an HTTP response from a GetSearchOverridesWithResponse call.
ParseGetSearchSynonymResponse parses an HTTP response from a GetSearchSynonymWithResponse call.
ParseGetSearchSynonymsResponse parses an HTTP response from a GetSearchSynonymsWithResponse call.
ParseHealthResponse parses an HTTP response from a HealthWithResponse call.
ParseImportDocumentsResponse parses an HTTP response from a ImportDocumentsWithResponse call.
ParseIndexDocumentResponse parses an HTTP response from a IndexDocumentWithResponse call.
ParseMultiSearchResponse parses an HTTP response from a MultiSearchWithResponse call.
ParseSearchCollectionResponse parses an HTTP response from a SearchCollectionWithResponse call.
ParseTakeSnapshotResponse parses an HTTP response from a TakeSnapshotWithResponse call.
ParseUpdateCollectionResponse parses an HTTP response from a UpdateCollectionWithResponse call.
ParseUpdateDocumentResponse parses an HTTP response from a UpdateDocumentWithResponse call.
ParseUpdateDocumentsResponse parses an HTTP response from a UpdateDocumentsWithResponse call.
ParseUpsertAliasResponse parses an HTTP response from a UpsertAliasWithResponse call.
ParseUpsertSearchOverrideResponse parses an HTTP response from a UpsertSearchOverrideWithResponse call.
ParseUpsertSearchSynonymResponse parses an HTTP response from a UpsertSearchSynonymWithResponse call.
ParseVoteResponse parses an HTTP response from a VoteWithResponse call.
No description provided by the author
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.
# Constants
No description provided by the author
No description provided by the author
Defines values for ImportDocumentsParamsDirtyValues.
Defines values for ImportDocumentsParamsDirtyValues.
Defines values for SearchOverrideRuleMatch.
Defines values for ImportDocumentsParamsDirtyValues.
Defines values for SearchOverrideRuleMatch.
Defines values for ImportDocumentsParamsDirtyValues.
Defines values for IndexDocumentParamsAction.
# Structs
ApiKey defines model for ApiKey.
ApiKeySchema defines model for ApiKeySchema.
ApiKeysResponse defines model for ApiKeysResponse.
ApiResponse defines model for ApiResponse.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
CollectionAlias defines model for CollectionAlias.
CollectionAliasesResponse defines model for CollectionAliasesResponse.
CollectionAliasSchema defines model for CollectionAliasSchema.
CollectionResponse defines model for CollectionResponse.
CollectionSchema defines model for CollectionSchema.
CollectionUpdateSchema defines model for CollectionUpdateSchema.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeleteDocumentsParams defines parameters for DeleteDocuments.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ExportDocumentsParams defines parameters for ExportDocuments.
No description provided by the author
FacetCounts defines model for FacetCounts.
Field defines model for Field.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HealthStatus defines model for HealthStatus.
No description provided by the author
ImportDocumentsParams defines parameters for ImportDocuments.
No description provided by the author
IndexDocumentParams defines parameters for IndexDocument.
No description provided by the author
MultiSearchCollectionParameters defines model for MultiSearchCollectionParameters.
MultiSearchParameters Parameters for the multi search API.
MultiSearchParams defines parameters for MultiSearch.
No description provided by the author
MultiSearchResult defines model for MultiSearchResult.
MultiSearchSearchesParameter defines model for MultiSearchSearchesParameter.
SearchCollectionParams defines parameters for SearchCollection.
No description provided by the author
SearchGroupedHit defines model for SearchGroupedHit.
SearchHighlight defines model for SearchHighlight.
SearchOverride defines model for SearchOverride.
SearchOverrideExclude defines model for SearchOverrideExclude.
SearchOverrideInclude defines model for SearchOverrideInclude.
SearchOverrideRule defines model for SearchOverrideRule.
SearchOverrideSchema defines model for SearchOverrideSchema.
SearchOverridesResponse defines model for SearchOverridesResponse.
SearchResult defines model for SearchResult.
SearchResultHit defines model for SearchResultHit.
SearchSynonym defines model for SearchSynonym.
SearchSynonymSchema defines model for SearchSynonymSchema.
SearchSynonymsResponse defines model for SearchSynonymsResponse.
SuccessStatus defines model for SuccessStatus.
TakeSnapshotParams defines parameters for TakeSnapshot.
No description provided by the author
No description provided by the author
No description provided by the author
UpdateDocumentsParams defines parameters for UpdateDocuments.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.
IndexDocumentJSONBody defines parameters for IndexDocument.
UpdateDocumentJSONBody defines parameters for UpdateDocument.
UpdateDocumentsJSONBody defines parameters for UpdateDocuments.
# Type aliases
ClientOption allows setting custom parameters during construction.
CreateCollectionJSONRequestBody defines body for CreateCollection for application/json ContentType.
CreateKeyJSONRequestBody defines body for CreateKey for application/json ContentType.
ImportDocumentsParamsDirtyValues defines parameters for ImportDocuments.
IndexDocumentJSONRequestBody defines body for IndexDocument for application/json ContentType.
IndexDocumentParamsAction defines parameters for IndexDocument.
MultiSearchJSONRequestBody defines body for MultiSearch for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.
SearchOverrideRuleMatch Indicates whether the match on the query term should be `exact` or `contains`.
UpdateCollectionJSONRequestBody defines body for UpdateCollection for application/json ContentType.
UpdateDocumentJSONRequestBody defines body for UpdateDocument for application/json ContentType.
UpdateDocumentsJSONRequestBody defines body for UpdateDocuments for application/json ContentType.
UpsertAliasJSONRequestBody defines body for UpsertAlias for application/json ContentType.
UpsertSearchOverrideJSONRequestBody defines body for UpsertSearchOverride for application/json ContentType.
UpsertSearchSynonymJSONRequestBody defines body for UpsertSearchSynonym for application/json ContentType.