### Insert Operation Example Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/IndexAPI.md Demonstrates how to insert a document using the IndexAPI.Insert method. ```go package main import ( "context" "fmt" "os" openapiclient "github.com/manticoresoftware/manticoresearch-go" ) func main() { insertDocumentRequest := *openapiclient.NewInsertDocumentRequest("Table_example", map[string]interface{}(123)) // InsertDocumentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.IndexAPI.Insert(context.Background()).InsertDocumentRequest(insertDocumentRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `IndexAPI.Insert``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `Insert`: SuccessResponse fmt.Fprintf(os.Stdout, "Response from `IndexAPI.Insert`: %v\n", resp) } ``` -------------------------------- ### Bulk Operation Example Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/IndexAPI.md Demonstrates how to perform a bulk operation using the IndexAPI.Bulk method. ```go package main import ( "context" "fmt" "os" openapiclient "github.com/manticoresoftware/manticoresearch-go" ) func main() { body := "body_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.IndexAPI.Bulk(context.Background()).Body(body).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `IndexAPI.Bulk``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `Bulk`: BulkResponse fmt.Fprintf(os.Stdout, "Response from `IndexAPI.Bulk`: %v\n", resp) } ``` -------------------------------- ### Autocomplete Example Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchAPI.md Demonstrates how to perform an autocomplete search on a table using the Manticoresearch Go client. ```go package main import ( "context" "fmt" "os" openapiclient "github.com/manticoresoftware/manticoresearch-go" ) func main() { autocompleteRequest := *openapiclient.NewAutocompleteRequest("Table_example", "Query_example") // AutocompleteRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.SearchAPI.Autocomplete(context.Background()).AutocompleteRequest(autocompleteRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `SearchAPI.Autocomplete``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `Autocomplete`: []map[string]interface{} fmt.Fprintf(os.Stdout, "Response from `SearchAPI.Autocomplete`: %v\n", resp) } ``` -------------------------------- ### Search Example Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchAPI.md Demonstrates how to perform a search on a table using the Manticoresearch Go client. ```go package main import ( "context" "fmt" "os" openapiclient "github.com/manticoresoftware/manticoresearch-go" ) func main() { searchRequest := *openapiclient.NewSearchRequest("Table_example") // SearchRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.SearchAPI.Search(context.Background()).SearchRequest(searchRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `SearchAPI.Search``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `Search`: SearchResponse fmt.Fprintf(os.Stdout, "Response from `SearchAPI.Search`: %v\n", resp) } ``` -------------------------------- ### Sql API Example Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/UtilsAPI.md This code snippet demonstrates how to perform SQL requests using the UtilsAPI.Sql method. ```go package main import ( "context" "fmt" "os" openapiclient "github.com/manticoresoftware/manticoresearch-go" ) func main() { body := "SHOW TABLES" // string | A query parameter string. rawResponse := true // bool | Optional parameter, defines a format of response. Can be set to `False` for Select only queries and set to `True` for any type of queries. Default value is 'True'. (optional) (default to true) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.UtilsAPI.Sql(context.Background()).Body(body).RawResponse(rawResponse).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UtilsAPI.Sql``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `Sql`: SqlResponse fmt.Fprintf(os.Stdout, "Response from `UtilsAPI.Sql`: %v\n", resp) } ``` -------------------------------- ### Replace Example Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/IndexAPI.md Demonstrates how to replace a document in a table using the Manticoresearch Go client. ```go package main import ( "context" "fmt" "os" openapiclient "github.com/manticoresoftware/manticoresearch-go" ) func main() { insertDocumentRequest := *openapiclient.NewInsertDocumentRequest("Table_example", map[string]interface{}(123)) // InsertDocumentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.IndexAPI.Replace(context.Background()).InsertDocumentRequest(insertDocumentRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `IndexAPI.Replace``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `Replace`: SuccessResponse fmt.Fprintf(os.Stdout, "Response from `IndexAPI.Replace`: %v\n", resp) } ``` -------------------------------- ### Percolate Example Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchAPI.md Demonstrates how to perform a reverse search on a percolate table using the Manticoresearch Go client. ```go package main import ( "context" "fmt" "os" openapiclient "github.com/manticoresoftware/manticoresearch-go" ) func main() { table := "table_example" // string | Name of the percolate table percolateRequest := *openapiclient.NewPercolateRequest(*openapiclient.NewPercolateRequestQuery(map[string]interface{}(123))) // PercolateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.SearchAPI.Percolate(context.Background(), table).PercolateRequest(percolateRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `SearchAPI.Percolate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `Percolate`: SearchResponse fmt.Fprintf(os.Stdout, "Response from `SearchAPI.Percolate`: %v\n", resp) } ``` -------------------------------- ### PartialReplace Example Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/IndexAPI.md Demonstrates how to partially replace a document in a table using the Manticoresearch Go client. ```go package main import ( "context" "fmt" "os" openapiclient "github.com/manticoresoftware/manticoresearch-go" ) func main() { table := "table_example" // string | Name of the percolate table id := uint64(56) // uint64 | Id of the document to replace replaceDocumentRequest := *openapiclient.NewReplaceDocumentRequest(map[string]interface{}(123)) // ReplaceDocumentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.IndexAPI.PartialReplace(context.Background(), table, id).ReplaceDocumentRequest(replaceDocumentRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `IndexAPI.PartialReplace``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `PartialReplace`: UpdateResponse fmt.Fprintf(os.Stdout, "Response from `IndexAPI.PartialReplace`: %v\n", resp) } ``` -------------------------------- ### Delete Operation Example Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/IndexAPI.md Demonstrates how to delete a document using the IndexAPI.Delete method. ```go package main import ( "context" "fmt" "os" openapiclient "github.com/manticoresoftware/manticoresearch-go" ) func main() { deleteDocumentRequest := *openapiclient.NewDeleteDocumentRequest("Table_example") // DeleteDocumentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.IndexAPI.Delete(context.Background()).DeleteDocumentRequest(deleteDocumentRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `IndexAPI.Delete``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `Delete`: DeleteResponse fmt.Fprintf(os.Stdout, "Response from `IndexAPI.Delete`: %v\n", resp) } ``` -------------------------------- ### Update Document Example Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/IndexAPI.md This Go code snippet demonstrates how to update a document in Manticoresearch using the Go client library. ```go package main import ( "context" "fmt" "os" openapiclient "github.com/manticoresoftware/manticoresearch-go" ) func main() { updateDocumentRequest := *openapiclient.NewUpdateDocumentRequest("Table_example", map[string]interface{}({gid=10})) // UpdateDocumentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.IndexAPI.Update(context.Background()).UpdateDocumentRequest(updateDocumentRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `IndexAPI.Update``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `Update`: UpdateResponse fmt.Fprintf(os.Stdout, "Response from `IndexAPI.Update`: %v\n", resp) } ``` -------------------------------- ### Getters and Setters for TimedOut Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SqlObjResponse.md Methods for getting and setting the TimedOut field of SqlObjResponse. ```Go func (o *SqlObjResponse) GetTimedOut() bool { // ... implementation details ... } func (o *SqlObjResponse) GetTimedOutOk() (*bool, bool) { // ... implementation details ... } func (o *SqlObjResponse) SetTimedOut(v bool) { // ... implementation details ... } func (o *SqlObjResponse) HasTimedOut() bool { // ... implementation details ... } ``` -------------------------------- ### Getters and Setters for Took Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SqlObjResponse.md Methods for getting and setting the Took field of SqlObjResponse. ```Go func (o *SqlObjResponse) GetTook() float32 { // ... implementation details ... } func (o *SqlObjResponse) GetTookOk() (*float32, bool) { // ... implementation details ... } func (o *SqlObjResponse) SetTook(v float32) { // ... implementation details ... } func (o *SqlObjResponse) HasTook() bool { // ... implementation details ... } ``` -------------------------------- ### Getters and Setters for Hits Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SqlObjResponse.md Methods for getting and setting the Hits field of SqlObjResponse. ```Go func (o *SqlObjResponse) GetHits() map[string]interface{} { // ... implementation details ... } func (o *SqlObjResponse) GetHitsOk() (*map[string]interface{}, bool) { // ... implementation details ... } func (o *SqlObjResponse) SetHits(v map[string]interface{}) { // ... implementation details ... } ``` -------------------------------- ### NewHighlightFieldOptionWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HighlightFieldOption.md Instantiates a new HighlightFieldOption object with default values. ```go func NewHighlightFieldOptionWithDefaults() *HighlightFieldOption { return &HighlightFieldOption{} } ``` -------------------------------- ### NewHighlight Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Highlight.md Instantiates a new Highlight object with default values for properties that have them defined. ```go func NewHighlight() *Highlight { return &Highlight{} } ``` -------------------------------- ### NewHighlightFieldOption Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HighlightFieldOption.md Instantiates a new HighlightFieldOption object. ```go func NewHighlightFieldOption() *HighlightFieldOption { return &HighlightFieldOption{} } ``` -------------------------------- ### NewSqlResponse Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SqlResponse.md Constructor for creating a new SqlResponse object. ```Go func NewSqlResponse(hits map[string]interface{}, ) *SqlResponse { return &SqlResponse{Hits: hits} } ``` -------------------------------- ### NewHighlightWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Highlight.md Instantiates a new Highlight object, assigning default values only to properties that have them defined. ```go func NewHighlightWithDefaults() *Highlight { return &Highlight{} } ``` -------------------------------- ### SetLimit Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Highlight.md Sets the Limit field to the provided value. ```go func (o *Highlight) SetLimit(v int32) { } ``` -------------------------------- ### GetQuery Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Join.md Returns the Query field if non-nil, otherwise returns the zero value. ```go func (o *Join) GetQuery() FulltextFilter ``` -------------------------------- ### Constructor Functions Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SqlObjResponse.md Provides constructor functions for creating new SqlObjResponse objects. ```Go func NewSqlObjResponse(hits map[string]interface{}, ) *SqlObjResponse { // ... implementation details ... } func NewSqlObjResponseWithDefaults() *SqlObjResponse { // ... implementation details ... } ``` -------------------------------- ### SetHighlight Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HitsHits.md Sets the Highlight field. ```go func (o *HitsHits) SetHighlight(v map[string]interface{}) SetHighlight sets Highlight field to given value. ``` -------------------------------- ### SetOn Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Join.md Sets the On field to the given value. ```go func (o *Join) SetOn(v []JoinOn) ``` -------------------------------- ### GetLimit Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Highlight.md Retrieves the Limit field, returning its value or the zero value if non-nil. ```go func (o *Highlight) GetLimit() int32 { return 0 } ``` -------------------------------- ### GetBoost Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Match.md Returns the Boost field if non-nil, otherwise returns the zero value. ```go func (o *Match) GetBoost() float32 ``` -------------------------------- ### NewSearchResponseHits Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchResponseHits.md Creates a new SearchResponseHits object, assigning default values where defined and ensuring required properties are set. ```go func NewSearchResponseHits() *SearchResponseHits { return &SearchResponseHits{} } ``` -------------------------------- ### GetLimitOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Highlight.md Returns a tuple with the Limit field and a boolean indicating if the value has been set. ```go func (o *Highlight) GetLimitOk() (*int32, bool) { return nil, false } ``` -------------------------------- ### GetQuery Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Match.md Returns the Query field if non-nil, otherwise returns the zero value. ```go func (o *Match) GetQuery() string ``` -------------------------------- ### NewSearchResponseWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchResponse.md Creates a new SearchResponse object, assigning default values to defined properties. ```go func NewSearchResponseWithDefaults() *SearchResponse { return &SearchResponse{} } ``` -------------------------------- ### NewJoinOnWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinOn.md Instantiates a new JoinOn object, assigning only default values to defined properties. ```go func NewJoinOnWithDefaults() *JoinOn { return &JoinOn{} } ``` -------------------------------- ### NewSearchResponseHitsWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchResponseHits.md Creates a new SearchResponseHits object, assigning only default values to properties that have them defined. ```go func NewSearchResponseHitsWithDefaults() *SearchResponseHits { return &SearchResponseHits{} } ``` -------------------------------- ### SetUpdated Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/UpdateResponse.md Sets the Updated field to the provided value. ```go func (o *UpdateResponse) SetUpdated(v int32) { o.Updated = &v } ``` -------------------------------- ### GetOn Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Join.md Returns the On field if non-nil, otherwise returns the zero value. ```go func (o *Join) GetOn() []JoinOn ``` -------------------------------- ### NewJoinOn Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinOn.md Instantiates a new JoinOn object, assigning default values to properties. ```go func NewJoinOn() *JoinOn { return &JoinOn{} } ``` -------------------------------- ### NewSqlResponseWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SqlResponse.md Constructor for creating a new SqlResponse object with default values. ```Go func NewSqlResponseWithDefaults() *SqlResponse { return &SqlResponse{} } ``` -------------------------------- ### GetHighlight Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HitsHits.md Retrieves the Highlight field. ```go func (o *HitsHits) GetHighlight() map[string]interface{} GetHighlight returns the Highlight field if non-nil, zero value otherwise. ``` -------------------------------- ### NewSourceRules Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SourceRules.md Instantiates a new SourceRules object. ```go func NewSourceRules() *SourceRules { return &SourceRules{} } ``` -------------------------------- ### GetRightOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinOn.md Returns a tuple with the Right field and a boolean indicating if the value has been set. ```go func (o *JoinOn) GetRightOk() (*JoinCond, bool) { return &o.Right, true } ``` -------------------------------- ### NewSearchQueryWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchQuery.md Instantiates a new SearchQuery object, assigning only default values to properties where defined. It does not guarantee that properties required by the API are set. ```go func NewSearchQueryWithDefaults() *SearchQuery { // ... implementation details ... } ``` -------------------------------- ### NewMatch Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Match.md Instantiates a new Match object. Assigns default values and ensures required properties are set. ```go func NewMatch(query string, ) *Match ``` -------------------------------- ### GetRight Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinOn.md Returns the Right field if non-nil, otherwise returns the zero value. ```go func (o *JoinOn) GetRight() JoinCond { return o.Right } ``` -------------------------------- ### GetBoostOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Match.md Returns a tuple with the Boost field if it's non-nil, the zero value otherwise, and a boolean indicating if the value has been set. ```go func (o *Match) GetBoostOk() (*float32, bool) ``` -------------------------------- ### SetBoost Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Match.md Sets the Boost field to the given value. ```go func (o *Match) SetBoost(v float32) ``` -------------------------------- ### NewHighlightFieldsWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HighlightFields.md Instantiates a new HighlightFields object with default values. Does not guarantee all required API properties are set. ```go func NewHighlightFieldsWithDefaults() *HighlightFields { // ... implementation details ... } ``` -------------------------------- ### GetQuery Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinCond.md Retrieves the value of the Query property. ```go func (o *JoinCond) GetQuery() FulltextFilter ``` -------------------------------- ### NewSearchResponse Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchResponse.md Creates a new SearchResponse object with default values. ```go func NewSearchResponse() *SearchResponse { return &SearchResponse{} } ``` -------------------------------- ### NewBulkResponseWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/BulkResponse.md Constructor for creating a new BulkResponse object, assigning only default values. ```Go func NewBulkResponseWithDefaults() *BulkResponse { return &BulkResponse{} } ``` -------------------------------- ### NewHighlightFields Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HighlightFields.md Instantiates a new HighlightFields object. Assigns default values and ensures required properties are set. ```go func NewHighlightFields() *HighlightFields { // ... implementation details ... } ``` -------------------------------- ### GetQueryOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Match.md Returns a tuple with the Query field if it's non-nil, the zero value otherwise, and a boolean indicating if the value has been set. ```go func (o *Match) GetQueryOk() (*string, bool) ``` -------------------------------- ### NewSuccessResponseWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SuccessResponse.md Constructor for creating a new SuccessResponse object with default values. ```go func NewSuccessResponseWithDefaults() *SuccessResponse { return &SuccessResponse{} } ``` -------------------------------- ### GetSource Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HitsHits.md Retrieves the Source field. ```go func (o *HitsHits) GetSource() map[string]interface{} GetSource returns the Source field if non-nil, zero value otherwise. ``` -------------------------------- ### NewJoin Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Join.md Instantiates a new Join object. Assigns default values and ensures required properties are set. ```go func NewJoin(type_ string, on []JoinOn, table string, ) *Join ``` -------------------------------- ### Match Properties Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Match.md Defines the properties of the Match object: Query, Operator, and Boost. ```go Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Query** | **string** | | **Operator** | Pointer to **string** | | [optional] **Boost** | Pointer to **float32** | | [optional] ``` -------------------------------- ### NewMatchAll Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/MatchAll.md Instantiates a new MatchAll object. This constructor assigns default values to properties that have them defined and ensures properties required by the API are set. ```go func NewMatchAll(all string, ) *MatchAll ``` -------------------------------- ### NewSearchRequestWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchRequest.md Instantiates a new SearchRequest object. This constructor only assigns default values to properties that have them defined, but it doesn't guarantee that properties required by the API are set. ```go func NewSearchRequestWithDefaults() *SearchRequest ``` -------------------------------- ### NewJoinWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Join.md Instantiates a new Join object with default values assigned only to properties that have them defined. ```go func NewJoinWithDefaults() *Join ``` -------------------------------- ### SetQuery Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Join.md Sets the Query field to the given value. ```go func (o *Join) SetQuery(v FulltextFilter) ``` -------------------------------- ### GetLimitSnippets Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Highlight.md Retrieves the LimitSnippets field, returning its value or the zero value if non-nil. ```go func (o *Highlight) GetLimitSnippets() int32 { return 0 } ``` -------------------------------- ### GetLimitOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HighlightFieldOption.md Returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ```go func (o *HighlightFieldOption) GetLimitOk() (*int32, bool) { if o == nil { return nil, false } return o.Limit, o.Limit != nil } ``` -------------------------------- ### GetLimit Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HighlightFieldOption.md Returns the Limit field if non-nil, zero value otherwise. ```go func (o *HighlightFieldOption) GetLimit() int32 { if o == nil || o.Limit == nil { return 0 } return *o.Limit } ``` -------------------------------- ### GetQueryOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Join.md Returns a tuple with the Query field if it's non-nil, otherwise returns the zero value and a boolean indicating if the value was set. ```go func (o *Join) GetQueryOk() (*FulltextFilter, bool) ``` -------------------------------- ### GetOptionsOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/AutocompleteRequest.md Retrieves the Options field and a boolean indicating if it's set. ```go func (o *AutocompleteRequest) GetOptionsOk() (*map[string]interface{}, bool) { // ... implementation details ... } ``` -------------------------------- ### GetFragmentSizeOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Highlight.md Returns a tuple with the FragmentSize field and a boolean indicating if the value has been set. ```go func (o *Highlight) GetFragmentSizeOk() (*int32, bool) { return nil, false } ``` -------------------------------- ### GetHighlightOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchRequest.md Returns a tuple with the Highlight field if it's non-nil, otherwise returns the zero value, and a boolean to check if the value has been set. ```go func (o *SearchRequest) GetHighlightOk() (*Highlight, bool) ``` -------------------------------- ### NewMatchAllWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/MatchAll.md Instantiates a new MatchAll object with default values. This constructor only assigns default values to properties that have them defined but does not guarantee that properties required by the API are set. ```go func NewMatchAllWithDefaults() *MatchAll ``` -------------------------------- ### NewMatchWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Match.md Instantiates a new Match object with default values assigned to properties that have them defined. ```go func NewMatchWithDefaults() *Match ``` -------------------------------- ### GetFoundOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SuccessResponse.md Retrieves the value of the Found field and a boolean indicating if it was set. ```go func (o *SuccessResponse) GetFoundOk() (*bool, bool) { if o == nil { return nil, false } return o.Found, o.Found != nil } ``` -------------------------------- ### NewBulkResponse Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/BulkResponse.md Constructor for creating a new BulkResponse object with default values. ```Go func NewBulkResponse() *BulkResponse { return &BulkResponse{} } ``` -------------------------------- ### GetFound Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SuccessResponse.md Retrieves the value of the Found field. ```go func (o *SuccessResponse) GetFound() bool { if o == nil || o.Found == nil { return false } return *o.Found } ``` -------------------------------- ### HasLimit Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Highlight.md Checks if the Limit field has been set. ```go func (o *Highlight) HasLimit() bool { return false } ``` -------------------------------- ### NewAggCompositeWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/AggComposite.md Constructor for creating a new AggComposite object with default values. ```go func NewAggCompositeWithDefaults() *AggComposite { // ... implementation details ... } ``` -------------------------------- ### NewSourceRulesWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SourceRules.md Instantiates a new SourceRules object with default values. ```go func NewSourceRulesWithDefaults() *SourceRules { return &SourceRules{} } ``` -------------------------------- ### GetLeftOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinOn.md Returns a tuple with the Left field and a boolean indicating if the value has been set. ```go func (o *JoinOn) GetLeftOk() (*JoinCond, bool) { return &o.Left, true } ``` -------------------------------- ### NewSuccessResponse Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SuccessResponse.md Constructor for creating a new SuccessResponse object. ```go func NewSuccessResponse() *SuccessResponse { return &SuccessResponse{} } ``` -------------------------------- ### GetAllOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/MatchAll.md Returns a tuple containing the 'All' field and a boolean indicating if the value has been set. Returns the field's value if non-nil, otherwise returns the zero value. ```go func (o *MatchAll) GetAllOk() (*string, bool) ``` -------------------------------- ### GetSizeOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/AggComposite.md Retrieves the Size field and a boolean indicating if it was set. ```go func (o *AggComposite) GetSizeOk() (*int32, bool) { // ... implementation details ... } ``` -------------------------------- ### SetHighlight Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchRequest.md Sets the Highlight field to the given value. ```go func (o *SearchRequest) SetHighlight(v Highlight) ``` -------------------------------- ### NewSearchQuery Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchQuery.md Instantiates a new SearchQuery object. This constructor assigns default values and ensures required API properties are set. ```go func NewSearchQuery() *SearchQuery { // ... implementation details ... } ``` -------------------------------- ### GetLeft Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinOn.md Returns the Left field if non-nil, otherwise returns the zero value. ```go func (o *JoinOn) GetLeft() JoinCond { return o.Left } ``` -------------------------------- ### GetQueryOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinCond.md Retrieves the value of the Query property and a boolean indicating if it's set. ```go func (o *JoinCond) GetQueryOk() (*FulltextFilter, bool) ``` -------------------------------- ### SetQuery Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Match.md Sets the Query field to the given value. ```go func (o *Match) SetQuery(v string) ``` -------------------------------- ### GetTable Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Join.md Returns the Table field if non-nil, otherwise returns the zero value. ```go func (o *Join) GetTable() string ``` -------------------------------- ### SetTable Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Join.md Sets the Table field to the given value. ```go func (o *Join) SetTable(v string) ``` -------------------------------- ### GetSources Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/AggComposite.md Retrieves the Sources field of the AggComposite. ```go func (o *AggComposite) GetSources() []map[string]AggCompositeSource { // ... implementation details ... } ``` -------------------------------- ### NewUpdateResponseWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/UpdateResponse.md Creates a new UpdateResponse object, assigning default values to defined properties. ```go func NewUpdateResponseWithDefaults() *UpdateResponse { return &UpdateResponse{} } ``` -------------------------------- ### NewSearchRequest Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchRequest.md Instantiates a new SearchRequest object. This constructor assigns default values to properties that have them defined and ensures properties required by the API are set. The set of arguments will change when the set of required properties is changed. ```go func NewSearchRequest(table string, ) *SearchRequest ``` -------------------------------- ### NewKnnQuery Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/KnnQuery.md Instantiates a new KnnQuery object. This constructor assigns default values to properties and ensures required API properties are set. ```go func NewKnnQuery() *KnnQuery { // implementation details omitted } ``` -------------------------------- ### NewKnnQueryWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/KnnQuery.md Instantiates a new KnnQuery object with default values. This constructor only assigns default values to defined properties and does not guarantee required API properties are set. ```go func NewKnnQueryWithDefaults() *KnnQuery { // implementation details omitted } ``` -------------------------------- ### GetSourcesOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/AggComposite.md Retrieves the Sources field and a boolean indicating if it was set. ```go func (o *AggComposite) GetSourcesOk() (*[]map[string]AggCompositeSource, bool) { // ... implementation details ... } ``` -------------------------------- ### GetHighlight Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchRequest.md Returns the Highlight field if non-nil, otherwise returns the zero value. ```go func (o *SearchRequest) GetHighlight() Highlight ``` -------------------------------- ### SetLeft Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinOn.md Sets the Left field to the given value. ```go func (o *JoinOn) SetLeft(v JoinCond) { o.Left = v } ``` -------------------------------- ### NewJoinCondWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinCond.md Instantiates a new JoinCond object using default values for properties that have them defined. ```go func NewJoinCondWithDefaults() *JoinCond ``` -------------------------------- ### SetFragmentSize Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Highlight.md Sets the FragmentSize field to the provided value. ```go func (o *Highlight) SetFragmentSize(v int32) { } ``` -------------------------------- ### GetLimitOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchRequest.md Returns a tuple with the Limit field if it's non-nil, otherwise returns the zero value, and a boolean to check if the value has been set. ```go func (o *SearchRequest) GetLimitOk() (*int32, bool) ``` -------------------------------- ### GetHighlightOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HitsHits.md Retrieves the Highlight field and a boolean indicating if it's set. ```go func (o *HitsHits) GetHighlightOk() (*map[string]interface{}, bool) GetHighlightOk returns a tuple with the Highlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ``` -------------------------------- ### NewHitsHitsWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HitsHits.md Constructor for creating a new HitsHits object with default values. ```go func NewHitsHitsWithDefaults() *HitsHits NewHitsHitsWithDefaults instantiates a new HitsHits object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ``` -------------------------------- ### SetAll Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/MatchAll.md Sets the 'All' field to the given value. ```go func (o *MatchAll) SetAll(v string) ``` -------------------------------- ### HasQuery Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinCond.md Checks if the Query field has been set. ```go func (o *JoinCond) HasQuery() bool ``` -------------------------------- ### GetField Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinCond.md Retrieves the value of the Field property. ```go func (o *JoinCond) GetField() string ``` -------------------------------- ### GetLimitSnippetsOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HighlightFieldOption.md Returns a tuple with the LimitSnippets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ```go func (o *HighlightFieldOption) GetLimitSnippetsOk() (*int32, bool) { if o == nil { return nil, false } return o.LimitSnippets, o.LimitSnippets != nil } ``` -------------------------------- ### GetAll Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/MatchAll.md Retrieves the value of the 'All' field. Returns the field's value if non-nil, otherwise returns the zero value. ```go func (o *MatchAll) GetAll() string ``` -------------------------------- ### SetQuery Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinCond.md Sets the value of the Query property. ```go func (o *JoinCond) SetQuery(v FulltextFilter) ``` -------------------------------- ### GetTable Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinCond.md Retrieves the value of the Table property. ```go func (o *JoinCond) GetTable() string ``` -------------------------------- ### NewHitsHits Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HitsHits.md Constructor for creating a new HitsHits object. ```go func NewHitsHits() *HitsHits NewHitsHits instantiates a new HitsHits object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed ``` -------------------------------- ### NewAggCompositeTermWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/AggCompositeTerm.md Instantiates a new AggCompositeTerm object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set. ```go func NewAggCompositeTermWithDefaults() *AggCompositeTerm ``` -------------------------------- ### NewKnn Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Knn.md Instantiates a new Knn object. This constructor assigns default values to properties that have them defined and ensures properties required by the API are set. ```go func NewKnn(field string, k int32, ) *Knn ``` -------------------------------- ### NewResponseErrorDetailsWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/ResponseErrorDetails.md Instantiates a new ResponseErrorDetails object with default values assigned to properties. ```go func NewResponseErrorDetailsWithDefaults() *ResponseErrorDetails ``` -------------------------------- ### GetOperatorOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinOn.md Returns a tuple with the Operator field and a boolean indicating if the value has been set. ```go func (o *JoinOn) GetOperatorOk() (*string, bool) { return &o.Operator, true } ``` -------------------------------- ### SetSource Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HitsHits.md Sets the Source field. ```go func (o *HitsHits) SetSource(v map[string]interface{}) SetSource sets Source field to given value. ``` -------------------------------- ### SetLimit Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HighlightFieldOption.md Sets the Limit field to the given value. ```go func (o *HighlightFieldOption) SetLimit(v int32) { o.Limit = &v } ``` -------------------------------- ### GetReasonOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/ResponseErrorDetails.md Returns a tuple with the Reason field if it's non-nil, and a boolean indicating if the value has been set. ```go func (o *ResponseErrorDetails) GetReasonOk() (*string, bool) ``` -------------------------------- ### NewKnnWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Knn.md Instantiates a new Knn object. This constructor assigns default values only to properties that have them defined, but it does not guarantee that properties required by the API are set. ```go func NewKnnWithDefaults() *Knn ``` -------------------------------- ### SetTable Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinCond.md Sets the value of the Table property. ```go func (o *JoinCond) SetTable(v string) ``` -------------------------------- ### SetRight Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinOn.md Sets the Right field to the given value. ```go func (o *JoinOn) SetRight(v JoinCond) { o.Right = v } ``` -------------------------------- ### GetTableOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Join.md Returns a tuple with the Table field if it's non-nil, otherwise returns the zero value and a boolean indicating if the value was set. ```go func (o *Join) GetTableOk() (*string, bool) ``` -------------------------------- ### SetFound Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SuccessResponse.md Sets the value of the Found field. ```go func (o *SuccessResponse) SetFound(v bool) { o.Found = &v } ``` -------------------------------- ### GetLimitSnippets Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HighlightFieldOption.md Returns the LimitSnippets field if non-nil, zero value otherwise. ```go func (o *HighlightFieldOption) GetLimitSnippets() int32 { if o == nil || o.LimitSnippets == nil { return 0 } return *o.LimitSnippets } ``` -------------------------------- ### GetSourceOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HitsHits.md Retrieves the Source field and a boolean indicating if it's set. ```go func (o *HitsHits) GetSourceOk() (*map[string]interface{}, bool) GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ``` -------------------------------- ### GetCreated Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SuccessResponse.md Retrieves the value of the Created field. ```go func (o *SuccessResponse) GetCreated() bool { if o == nil || o.Created == nil { return false } return *o.Created } ``` -------------------------------- ### GetFragmentSizeOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HighlightFieldOption.md Returns a tuple with the FragmentSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ```go func (o *HighlightFieldOption) GetFragmentSizeOk() (*int32, bool) { if o == nil { return nil, false } return o.FragmentSize, o.FragmentSize != nil } ``` -------------------------------- ### NewAggComposite Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/AggComposite.md Constructor for creating a new AggComposite object. ```go func NewAggComposite() *AggComposite { // ... implementation details ... } ``` -------------------------------- ### HasQuery Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Join.md Returns a boolean indicating if the Query field has been set. ```go func (o *Join) HasQuery() bool ``` -------------------------------- ### NewAggCompositeSourceWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/AggCompositeSource.md Instantiates a new AggCompositeSource object with default values assigned to properties that have them defined. ```go func NewAggCompositeSourceWithDefaults() *AggCompositeSource ``` -------------------------------- ### HasLimit Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HighlightFieldOption.md Returns a boolean indicating if the Limit field has been set. ```go func (o *HighlightFieldOption) HasLimit() bool { if o != nil && o.Limit != nil { return true } return false } ``` -------------------------------- ### NewJoinCond Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinCond.md Instantiates a new JoinCond object. Assigns default values to properties and ensures required API properties are set. ```go func NewJoinCond(field string, table string, ) *JoinCond ``` -------------------------------- ### GetDoc Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/UpdateDocumentRequest.md Retrieves the value of the Doc field. ```go func (o *UpdateDocumentRequest) GetDoc() map[string]interface{} ``` -------------------------------- ### GetFragmentSize Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Highlight.md Retrieves the FragmentSize field, returning its value or the zero value if non-nil. ```go func (o *Highlight) GetFragmentSize() int32 { return 0 } ``` -------------------------------- ### GetEfOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Knn.md Returns a tuple with the Ef field if it's non-nil, otherwise returns the zero value and a boolean to check if the value has been set. ```go func (o *Knn) GetEfOk() (*int32, bool) ``` -------------------------------- ### GetSize Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/AggComposite.md Retrieves the Size field of the AggComposite. ```go func (o *AggComposite) GetSize() int32 { // ... implementation details ... } ``` -------------------------------- ### GetQuery Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Knn.md Returns the Query field if non-nil, otherwise returns the zero value. ```go func (o *Knn) GetQuery() KnnQuery ``` -------------------------------- ### HasBoost Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Match.md Returns a boolean indicating if the Boost field has been set. ```go func (o *Match) HasBoost() bool ``` -------------------------------- ### GetQuery Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchRequest.md Returns the Query field if non-nil, otherwise returns the zero value. ```go func (o *SearchRequest) GetQuery() SearchQuery ``` -------------------------------- ### HasType Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinCond.md Checks if the Type field has been set. ```go func (o *JoinCond) HasType() bool ``` -------------------------------- ### GetJoinOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchRequest.md Returns a tuple with the Join field if it's non-nil, otherwise returns the zero value, and a boolean to check if the value has been set. ```go func (o *SearchRequest) GetJoinOk() (*[]Join, bool) ``` -------------------------------- ### NewFulltextFilterWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/FulltextFilter.md Constructor for creating a new FulltextFilter object with default values assigned. ```go func NewFulltextFilterWithDefaults() *FulltextFilter { // ... implementation details ... } ``` -------------------------------- ### GetMatch Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchQuery.md Returns the Match field if it's non-nil, otherwise returns the zero value. ```go func (o *SearchQuery) GetMatch() map[string]interface{} { // ... implementation details ... } ``` -------------------------------- ### GetTable Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HitsHits.md Retrieves the Table field. ```go func (o *HitsHits) GetTable() string GetTable returns the Table field if non-nil, zero value otherwise. ``` -------------------------------- ### SetDoc Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/UpdateDocumentRequest.md Sets the value of the Doc field. ```go func (o *UpdateDocumentRequest) SetDoc(v map[string]interface{}) ``` -------------------------------- ### SetReason Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/ResponseErrorDetails.md Sets the Reason field to the given value. ```go func (o *ResponseErrorDetails) SetReason(v string) ``` -------------------------------- ### NewUpdateResponse Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/UpdateResponse.md Creates a new UpdateResponse object with default values. ```go func NewUpdateResponse() *UpdateResponse { return &UpdateResponse{} } ``` -------------------------------- ### GetReason Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/ResponseErrorDetails.md Returns the Reason field if non-nil, otherwise returns the zero value. ```go func (o *ResponseErrorDetails) GetReason() string ``` -------------------------------- ### GetLimit Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchRequest.md Returns the Limit field if non-nil, otherwise returns the zero value. ```go func (o *SearchRequest) GetLimit() int32 ``` -------------------------------- ### GetOperatorOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Match.md Returns a tuple with the Operator field if it's non-nil, the zero value otherwise, and a boolean indicating if the value has been set. ```go func (o *Match) GetOperatorOk() (*string, bool) ``` -------------------------------- ### HasSize Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/AggComposite.md Checks if the Size field has been set. ```go func (o *AggComposite) HasSize() bool { // ... implementation details ... } ``` -------------------------------- ### GetBool Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchQuery.md Returns the Bool field if it's non-nil, otherwise returns the zero value. ```go func (o *SearchQuery) GetBool() BoolFilter { // ... implementation details ... } ``` -------------------------------- ### HasSource Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HitsHits.md Checks if the Source field has been set. ```go func (o *HitsHits) HasSource() bool HasSource returns a boolean if a field has been set. ``` -------------------------------- ### GetOperator Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinOn.md Returns the Operator field if non-nil, otherwise returns the zero value. ```go func (o *JoinOn) GetOperator() string { return o.Operator } ``` -------------------------------- ### GetOptions Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/AutocompleteRequest.md Retrieves the Options field from an AutocompleteRequest object. ```go func (o *AutocompleteRequest) GetOptions() map[string]interface{} { // ... implementation details ... } ``` -------------------------------- ### NewFulltextFilter Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/FulltextFilter.md Constructor for creating a new FulltextFilter object. ```go func NewFulltextFilter() *FulltextFilter { // ... implementation details ... } ``` -------------------------------- ### GetLimitWordsOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HighlightFieldOption.md Returns a tuple with the LimitWords field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ```go func (o *HighlightFieldOption) GetLimitWordsOk() (*int32, bool) { if o == nil { return nil, false } return o.LimitWords, o.LimitWords != nil } ``` -------------------------------- ### NewPercolateRequestWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/PercolateRequest.md Instantiates a new PercolateRequest object with default values assigned to properties that have them defined. ```go func NewPercolateRequestWithDefaults() *PercolateRequest ``` -------------------------------- ### GetEf Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Knn.md Returns the Ef field if non-nil, otherwise returns the zero value. ```go func (o *Knn) GetEf() int32 ``` -------------------------------- ### NewPercolateRequestQueryWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/PercolateRequestQuery.md Instantiates a new PercolateRequestQuery object using default values. This constructor does not guarantee that properties required by the API are set. ```go func NewPercolateRequestQueryWithDefaults() *PercolateRequestQuery ``` -------------------------------- ### Highlight Object Properties Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/Highlight.md Defines the properties available for the Highlight object, which control how search results are highlighted. ```go type Highlight struct { FragmentSize *int32 Limit *int32 LimitSnippets *int32 LimitWords *int32 NumberOfFragments *int32 AfterMatch *string AllowEmpty *bool Around *int32 BeforeMatch *string EmitZones *bool Encoder *string Fields *HighlightFields ForceAllWords *bool ForceSnippets *bool HighlightQuery *NullableQueryFilter HtmlStripMode *string LimitsPerField *bool NoMatchSize *int32 Order *string PreTags *string PostTags *string StartSnippetId *int32 UseBoundaries *bool } ``` -------------------------------- ### GetType Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinCond.md Retrieves the value of the Type property. ```go func (o *JoinCond) GetType() interface{} ``` -------------------------------- ### NewAggHistogramWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/AggHistogram.md Creates a new AggHistogram object with default values assigned. ```go func NewAggHistogramWithDefaults() *AggHistogram ``` -------------------------------- ### NewQueryFilterWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/QueryFilter.md Creates a new QueryFilter object, assigning only default values to properties that have them defined. ```go func NewQueryFilterWithDefaults() *QueryFilter { // ... implementation details ... } ``` -------------------------------- ### GetLimitWords Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HighlightFieldOption.md Returns the LimitWords field if non-nil, zero value otherwise. ```go func (o *HighlightFieldOption) GetLimitWords() int32 { if o == nil || o.LimitWords == nil { return 0 } return *o.LimitWords } ``` -------------------------------- ### GetIncludes Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SourceRules.md Returns the Includes field if non-nil, zero value otherwise. ```go func (o *SourceRules) GetIncludes() []string { if o == nil { return nil } return o.Includes } ``` -------------------------------- ### NewResponseErrorDetails Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/ResponseErrorDetails.md Instantiates a new ResponseErrorDetails object. Assigns default values to properties and ensures required API properties are set. ```go func NewResponseErrorDetails(type_ string, ) *ResponseErrorDetails ``` -------------------------------- ### HasHighlight Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/HitsHits.md Checks if the Highlight field has been set. ```go func (o *HitsHits) HasHighlight() bool HasHighlight returns a boolean if a field has been set. ``` -------------------------------- ### GetJoin Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchRequest.md Returns the Join field if non-nil, otherwise returns the zero value. ```go func (o *SearchRequest) GetJoin() []Join ``` -------------------------------- ### GetCreatedOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SuccessResponse.md Retrieves the value of the Created field and a boolean indicating if it was set. ```go func (o *SuccessResponse) GetCreatedOk() (*bool, bool) { if o == nil { return nil, false } return o.Created, o.Created != nil } ``` -------------------------------- ### SetField Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinCond.md Sets the value of the Field property. ```go func (o *JoinCond) SetField(v string) ``` -------------------------------- ### NewInsertDocumentRequestWithDefaults Constructor Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/InsertDocumentRequest.md Constructor for creating a new InsertDocumentRequest object with default values. ```go func NewInsertDocumentRequestWithDefaults() *InsertDocumentRequest ``` -------------------------------- ### GetTotalOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchResponseHits.md Retrieves the Total field and a boolean indicating if it was set. ```go func (o *SearchResponseHits) GetTotalOk() (*int32, bool) { if o == nil || o.Total == nil { return nil, false } return o.Total, true } ``` -------------------------------- ### GetFoundOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/DeleteResponse.md Retrieves the Found field and a boolean indicating if it's set. ```go func (o *DeleteResponse) GetFoundOk() (*bool, bool) GetFoundOk returns a tuple with the Found field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ``` -------------------------------- ### GetTableOk Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/JoinCond.md Retrieves the value of the Table property and a boolean indicating if it's set. ```go func (o *JoinCond) GetTableOk() (*string, bool) ``` -------------------------------- ### SetProfile Method Source: https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/SearchResponse.md Sets the Profile field to a given value. ```go func (o *SearchResponse) SetProfile(v map[string]interface{}) { o.Profile = &v } ```