diff --git a/typesense/api/types_gen.go b/typesense/api/types_gen.go index 5993c83..2f382b1 100644 --- a/typesense/api/types_gen.go +++ b/typesense/api/types_gen.go @@ -238,6 +238,9 @@ type CollectionSchema struct { // TokenSeparators List of symbols or special characters to be used for splitting the text into individual words in addition to space and new-line characters. TokenSeparators *[]string `json:"token_separators,omitempty"` + // The dirty_values parameter determines what Typesense should do when the type of a particular field being indexed does not match the previously inferred type for that field, or the one defined in the collection's schema. + DirtyValues *string `json:"dirty_values,omitempty"` + // VoiceQueryModel Configuration for the voice query model VoiceQueryModel *VoiceQueryModelCollectionConfig `json:"voice_query_model,omitempty"` } @@ -605,6 +608,9 @@ type MultiSearchCollectionParameters struct { // VectorQuery Vector query expression for fetching documents "closest" to a given query/document vector. VectorQuery *string `json:"vector_query,omitempty"` + // MaxCandidates Control the number of similar words that Typesense considers for prefix and typo searching . + MaxCandidates *int `json:"max_candidates,omitempty"` + // VoiceQuery The base64 encoded audio file in 16 khz 16-bit WAV format. VoiceQuery *string `json:"voice_query,omitempty"` } @@ -1195,6 +1201,9 @@ type SearchParameters struct { // SearchResult defines model for SearchResult. type SearchResult struct { + Code *int `json:"code,omitempty"` + Error *string `json:"error,omitempty"` + Conversation *SearchResultConversation `json:"conversation,omitempty"` FacetCounts *[]FacetCounts `json:"facet_counts,omitempty"`