Categorygithub.com/demonoid81/sdk-go-zincsearch
modulepackage
0.0.8
Repository: https://github.com/demonoid81/sdk-go-zincsearch.git
Documentation: pkg.go.dev

# README

Go API client for client

Zinc Search engine API documents https://docs.zincsearch.com

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.2.7
  • Package version: 0.2.7
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://www.zincsearch.com

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import client "github.com/zinclabs/sdk-go-zincsearch"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), client.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), client.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), client.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), client.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost:4080

ClassMethodHTTP requestDescription
DefaultHealthzGet /healthzGet healthz
DefaultVersionGet /versionGet version
DocumentBulkPost /api/_bulkBulk documents
DocumentBulkv2Post /api/_bulkv2Bulkv2 documents
DocumentDeleteDelete /api/{index}/_doc/{id}Delete document
DocumentESBulkPost /es/_bulkES bulk documents
DocumentIndexPost /api/{index}/_docCreate or update document
DocumentIndexWithIDPut /api/{index}/_doc/{id}Create or update document with id
DocumentMultiPost /api/{index}/_multiMulti documents
DocumentUpdatePost /api/{index}/_update/{id}Update document with id
IndexAnalyzePost /api/_analyzeAnalyze
IndexAnalyzeIndexPost /api/{index}/_analyzeAnalyze
IndexCreatePost /api/indexCreate index
IndexCreateTemplatePost /es/_index_templateCreate update index template
IndexDeleteDelete /api/index/{index}Delete index
IndexDeleteTemplateDelete /es/_index_template/{name}Delete template
IndexESCreateIndexPut /es/{index}Create index for compatible ES
IndexESGetMappingGet /es/{index}/_mappingGet index mappings for compatible ES
IndexEsExistsHead /es/{index}Checks if the index exists for compatible ES
IndexExistsHead /api/index/{index}Checks if the index exists
IndexGetMappingGet /api/{index}/_mappingGet index mappings
IndexGetSettingsGet /api/{index}/_settingsGet index settings
IndexGetTemplateGet /es/_index_template/{name}Get index template
IndexIndexNameListGet /api/index_nameList index Name
IndexListGet /api/indexList indexes
IndexListTemplatesGet /es/_index_templateList index teplates
IndexRefreshPost /api/index/{index}/refreshResfresh index
IndexSetMappingPut /api/{index}/_mappingSet index mappings
IndexSetSettingsPut /api/{index}/_settingsSet index Settings
IndexUpdateTemplatePut /es/_index_template/{name}Create update index template
SearchMSearchPost /es/_msearchSearch V2 MultipleSearch for compatible ES
SearchSearchPost /es/{index}/_searchSearch V2 DSL for compatible ES
SearchSearchV1Post /api/{index}/_searchSearch V1
UserCreatePost /api/userCreate user
UserDeleteDelete /api/user/{id}Delete user
UserListGet /api/userList user
UserLoginPost /api/loginLogin
UserUpdatePut /api/userUpdate user

Documentation For Models

Documentation For Authorization

basicAuth

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), client.ContextBasicAuth, client.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
NewAggregationHistogramBound instantiates a new AggregationHistogramBound 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.
NewAggregationHistogramBoundWithDefaults instantiates a new AggregationHistogramBound 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.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewAuthLoginRequest instantiates a new AuthLoginRequest 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.
NewAuthLoginRequestWithDefaults instantiates a new AuthLoginRequest 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.
NewAuthLoginResponse instantiates a new AuthLoginResponse 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.
NewAuthLoginResponseWithDefaults instantiates a new AuthLoginResponse 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.
NewAuthLoginUser instantiates a new AuthLoginUser 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.
NewAuthLoginUserWithDefaults instantiates a new AuthLoginUser 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.
NewConfiguration returns a new Configuration object.
NewIndexAnalyzeResponse instantiates a new IndexAnalyzeResponse 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.
NewIndexAnalyzeResponseToken instantiates a new IndexAnalyzeResponseToken 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.
NewIndexAnalyzeResponseTokenWithDefaults instantiates a new IndexAnalyzeResponseToken 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.
NewIndexAnalyzeResponseWithDefaults instantiates a new IndexAnalyzeResponse 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.
NewIndexIndexListResponse instantiates a new IndexIndexListResponse 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.
NewIndexIndexListResponseWithDefaults instantiates a new IndexIndexListResponse 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.
NewMetaAggregationAutoDateHistogram instantiates a new MetaAggregationAutoDateHistogram 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.
NewMetaAggregationAutoDateHistogramWithDefaults instantiates a new MetaAggregationAutoDateHistogram 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.
NewMetaAggregationDateHistogram instantiates a new MetaAggregationDateHistogram 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.
NewMetaAggregationDateHistogramWithDefaults instantiates a new MetaAggregationDateHistogram 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.
NewMetaAggregationDateRange instantiates a new MetaAggregationDateRange 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.
NewMetaAggregationDateRangeWithDefaults instantiates a new MetaAggregationDateRange 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.
NewMetaAggregationHistogram instantiates a new MetaAggregationHistogram 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.
NewMetaAggregationHistogramWithDefaults instantiates a new MetaAggregationHistogram 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.
NewMetaAggregationIPRange instantiates a new MetaAggregationIPRange 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.
NewMetaAggregationIPRangeWithDefaults instantiates a new MetaAggregationIPRange 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.
NewMetaAggregationMetric instantiates a new MetaAggregationMetric 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.
NewMetaAggregationMetricWithDefaults instantiates a new MetaAggregationMetric 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.
NewMetaAggregationRange instantiates a new MetaAggregationRange 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.
NewMetaAggregationRangeWithDefaults instantiates a new MetaAggregationRange 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.
NewMetaAggregationResponse instantiates a new MetaAggregationResponse 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.
NewMetaAggregationResponseWithDefaults instantiates a new MetaAggregationResponse 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.
NewMetaAggregations instantiates a new MetaAggregations 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.
NewMetaAggregationsTerms instantiates a new MetaAggregationsTerms 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.
NewMetaAggregationsTermsWithDefaults instantiates a new MetaAggregationsTerms 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.
NewMetaAggregationsWithDefaults instantiates a new MetaAggregations 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.
NewMetaAnalyzer instantiates a new MetaAnalyzer 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.
NewMetaAnalyzerWithDefaults instantiates a new MetaAnalyzer 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.
NewMetaBoolQuery instantiates a new MetaBoolQuery 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.
NewMetaBoolQueryWithDefaults instantiates a new MetaBoolQuery 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.
NewMetaDateRange instantiates a new MetaDateRange 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.
NewMetaDateRangeWithDefaults instantiates a new MetaDateRange 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.
NewMetaExistsQuery instantiates a new MetaExistsQuery 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.
NewMetaExistsQueryWithDefaults instantiates a new MetaExistsQuery 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.
NewMetaFuzzyQuery instantiates a new MetaFuzzyQuery 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.
NewMetaFuzzyQueryWithDefaults instantiates a new MetaFuzzyQuery 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.
NewMetaHealthzResponse instantiates a new MetaHealthzResponse 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.
NewMetaHealthzResponseWithDefaults instantiates a new MetaHealthzResponse 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.
NewMetaHighlight instantiates a new MetaHighlight 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.
NewMetaHighlightWithDefaults instantiates a new MetaHighlight 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.
NewMetaHit instantiates a new MetaHit 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.
NewMetaHits instantiates a new MetaHits 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.
NewMetaHitsWithDefaults instantiates a new MetaHits 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.
NewMetaHitWithDefaults instantiates a new MetaHit 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.
NewMetaHTTPResponse instantiates a new MetaHTTPResponse 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.
NewMetaHTTPResponseDocument instantiates a new MetaHTTPResponseDocument 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.
NewMetaHTTPResponseDocumentWithDefaults instantiates a new MetaHTTPResponseDocument 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.
NewMetaHTTPResponseError instantiates a new MetaHTTPResponseError 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.
NewMetaHTTPResponseErrorWithDefaults instantiates a new MetaHTTPResponseError 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.
NewMetaHTTPResponseID instantiates a new MetaHTTPResponseID 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.
NewMetaHTTPResponseIDWithDefaults instantiates a new MetaHTTPResponseID 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.
NewMetaHTTPResponseIndex instantiates a new MetaHTTPResponseIndex 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.
NewMetaHTTPResponseIndexWithDefaults instantiates a new MetaHTTPResponseIndex 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.
NewMetaHTTPResponseRecordCount instantiates a new MetaHTTPResponseRecordCount 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.
NewMetaHTTPResponseRecordCountWithDefaults instantiates a new MetaHTTPResponseRecordCount 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.
NewMetaHTTPResponseTemplate instantiates a new MetaHTTPResponseTemplate 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.
NewMetaHTTPResponseTemplateWithDefaults instantiates a new MetaHTTPResponseTemplate 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.
NewMetaHTTPResponseWithDefaults instantiates a new MetaHTTPResponse 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.
NewMetaIdsQuery instantiates a new MetaIdsQuery 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.
NewMetaIdsQueryWithDefaults instantiates a new MetaIdsQuery 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.
NewMetaIndexAnalysis instantiates a new MetaIndexAnalysis 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.
NewMetaIndexAnalysisWithDefaults instantiates a new MetaIndexAnalysis 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.
NewMetaIndexSettings instantiates a new MetaIndexSettings 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.
NewMetaIndexSettingsWithDefaults instantiates a new MetaIndexSettings 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.
NewMetaIndexSimple instantiates a new MetaIndexSimple 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.
NewMetaIndexSimpleWithDefaults instantiates a new MetaIndexSimple 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.
NewMetaIndexTemplate instantiates a new MetaIndexTemplate 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.
NewMetaIndexTemplateWithDefaults instantiates a new MetaIndexTemplate 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.
NewMetaIPRange instantiates a new MetaIPRange 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.
NewMetaIPRangeWithDefaults instantiates a new MetaIPRange 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.
NewMetaJSONIngest instantiates a new MetaJSONIngest 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.
NewMetaJSONIngestWithDefaults instantiates a new MetaJSONIngest 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.
NewMetaMappings instantiates a new MetaMappings 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.
NewMetaMappingsWithDefaults instantiates a new MetaMappings 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.
NewMetaMatchBoolPrefixQuery instantiates a new MetaMatchBoolPrefixQuery 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.
NewMetaMatchBoolPrefixQueryWithDefaults instantiates a new MetaMatchBoolPrefixQuery 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.
NewMetaMatchPhrasePrefixQuery instantiates a new MetaMatchPhrasePrefixQuery 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.
NewMetaMatchPhrasePrefixQueryWithDefaults instantiates a new MetaMatchPhrasePrefixQuery 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.
NewMetaMatchPhraseQuery instantiates a new MetaMatchPhraseQuery 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.
NewMetaMatchPhraseQueryWithDefaults instantiates a new MetaMatchPhraseQuery 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.
NewMetaMatchQuery instantiates a new MetaMatchQuery 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.
NewMetaMatchQueryWithDefaults instantiates a new MetaMatchQuery 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.
NewMetaMultiMatchQuery instantiates a new MetaMultiMatchQuery 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.
NewMetaMultiMatchQueryWithDefaults instantiates a new MetaMultiMatchQuery 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.
NewMetaPage instantiates a new MetaPage 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.
NewMetaPageWithDefaults instantiates a new MetaPage 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.
NewMetaPrefixQuery instantiates a new MetaPrefixQuery 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.
NewMetaPrefixQueryWithDefaults instantiates a new MetaPrefixQuery 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.
NewMetaProperty instantiates a new MetaProperty 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.
NewMetaPropertyWithDefaults instantiates a new MetaProperty 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.
NewMetaQuery instantiates a new MetaQuery 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.
NewMetaQueryStringQuery instantiates a new MetaQueryStringQuery 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.
NewMetaQueryStringQueryWithDefaults instantiates a new MetaQueryStringQuery 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.
NewMetaQueryWithDefaults instantiates a new MetaQuery 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.
NewMetaRange instantiates a new MetaRange 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.
NewMetaRangeQuery instantiates a new MetaRangeQuery 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.
NewMetaRangeQueryWithDefaults instantiates a new MetaRangeQuery 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.
NewMetaRangeWithDefaults instantiates a new MetaRange 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.
NewMetaRegexpQuery instantiates a new MetaRegexpQuery 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.
NewMetaRegexpQueryWithDefaults instantiates a new MetaRegexpQuery 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.
NewMetaSearchResponse instantiates a new MetaSearchResponse 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.
NewMetaSearchResponseWithDefaults instantiates a new MetaSearchResponse 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.
NewMetaShards instantiates a new MetaShards 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.
NewMetaShardsWithDefaults instantiates a new MetaShards 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.
NewMetaSimpleQueryStringQuery instantiates a new MetaSimpleQueryStringQuery 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.
NewMetaSimpleQueryStringQueryWithDefaults instantiates a new MetaSimpleQueryStringQuery 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.
NewMetaTemplate instantiates a new MetaTemplate 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.
NewMetaTemplateTemplate instantiates a new MetaTemplateTemplate 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.
NewMetaTemplateTemplateWithDefaults instantiates a new MetaTemplateTemplate 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.
NewMetaTemplateWithDefaults instantiates a new MetaTemplate 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.
NewMetaTermQuery instantiates a new MetaTermQuery 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.
NewMetaTermQueryWithDefaults instantiates a new MetaTermQuery 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.
NewMetaTermQuery instantiates a new MetaTermQuery 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.
NewMetaTermQueryWithDefaults instantiates a new MetaTermQuery 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.
NewMetaTotal instantiates a new MetaTotal 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.
NewMetaTotalWithDefaults instantiates a new MetaTotal 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.
NewMetaUser instantiates a new MetaUser 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.
NewMetaUserWithDefaults instantiates a new MetaUser 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.
NewMetaVersionResponse instantiates a new MetaVersionResponse 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.
NewMetaVersionResponseWithDefaults instantiates a new MetaVersionResponse 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.
NewMetaWildcardQuery instantiates a new MetaWildcardQuery 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.
NewMetaWildcardQueryWithDefaults instantiates a new MetaWildcardQuery 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.
NewMetaZincQuery instantiates a new MetaZincQuery 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.
NewMetaZincQueryWithDefaults instantiates a new MetaZincQuery 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.
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
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
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
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
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
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
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
No description provided by the author
NewV1AggregationBucket instantiates a new V1AggregationBucket 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.
NewV1AggregationBucketWithDefaults instantiates a new V1AggregationBucket 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.
NewV1AggregationDateRange instantiates a new V1AggregationDateRange 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.
NewV1AggregationDateRangeWithDefaults instantiates a new V1AggregationDateRange 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.
NewV1AggregationNumberRange instantiates a new V1AggregationNumberRange 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.
NewV1AggregationNumberRangeWithDefaults instantiates a new V1AggregationNumberRange 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.
NewV1AggregationParams instantiates a new V1AggregationParams 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.
NewV1AggregationParamsWithDefaults instantiates a new V1AggregationParams 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.
NewV1AggregationResponse instantiates a new V1AggregationResponse 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.
NewV1AggregationResponseWithDefaults instantiates a new V1AggregationResponse 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.
NewV1Hit instantiates a new V1Hit 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.
NewV1Hits instantiates a new V1Hits 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.
NewV1HitsWithDefaults instantiates a new V1Hits 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.
NewV1HitWithDefaults instantiates a new V1Hit 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.
NewV1QueryParams instantiates a new V1QueryParams 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.
NewV1QueryParamsWithDefaults instantiates a new V1QueryParams 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.
NewV1SearchResponse instantiates a new V1SearchResponse 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.
NewV1SearchResponseWithDefaults instantiates a new V1SearchResponse 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.
NewV1Total instantiates a new V1Total 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.
NewV1TotalWithDefaults instantiates a new V1Total 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.
NewV1ZincQuery instantiates a new V1ZincQuery 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.
NewV1ZincQueryWithDefaults instantiates a new V1ZincQuery 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.
PtrBool is a helper routine that returns a pointer to given boolean value.
PtrFloat32 is a helper routine that returns a pointer to given float value.
PtrFloat64 is a helper routine that returns a pointer to given float value.
PtrInt is a helper routine that returns a pointer to given integer value.
PtrInt32 is a helper routine that returns a pointer to given integer value.
PtrInt64 is a helper routine that returns a pointer to given integer value.
PtrString is a helper routine that returns a pointer to given string value.
PtrTime is helper routine that returns a pointer to given Time value.

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKeys takes a string apikey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.

# Structs

AggregationHistogramBound struct for AggregationHistogramBound.
APIClient manages communication with the Zinc Search engine API API v0.2.7 In most cases there should be only one, shared, APIClient.
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
APIResponse stores the API response returned by the server.
AuthLoginRequest struct for AuthLoginRequest.
AuthLoginResponse struct for AuthLoginResponse.
AuthLoginUser struct for AuthLoginUser.
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
Configuration stores the configuration of the API client.
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
GenericOpenAPIError Provides access to the body, error and model on returned errors.
No description provided by the author
No description provided by the author
IndexAnalyzeResponse struct for IndexAnalyzeResponse.
IndexAnalyzeResponseToken struct for IndexAnalyzeResponseToken.
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
IndexIndexListResponse struct for IndexIndexListResponse.
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
MetaAggregationAutoDateHistogram struct for MetaAggregationAutoDateHistogram.
MetaAggregationDateHistogram struct for MetaAggregationDateHistogram.
MetaAggregationDateRange struct for MetaAggregationDateRange.
MetaAggregationHistogram struct for MetaAggregationHistogram.
MetaAggregationIPRange struct for MetaAggregationIPRange.
MetaAggregationMetric struct for MetaAggregationMetric.
MetaAggregationRange struct for MetaAggregationRange.
MetaAggregationResponse struct for MetaAggregationResponse.
MetaAggregations struct for MetaAggregations.
MetaAggregationsTerms struct for MetaAggregationsTerms.
MetaAnalyzer struct for MetaAnalyzer.
MetaBoolQuery struct for MetaBoolQuery.
MetaDateRange struct for MetaDateRange.
MetaExistsQuery struct for MetaExistsQuery.
MetaFuzzyQuery struct for MetaFuzzyQuery.
MetaHealthzResponse struct for MetaHealthzResponse.
MetaHighlight struct for MetaHighlight.
MetaHit struct for MetaHit.
MetaHits struct for MetaHits.
MetaHTTPResponse struct for MetaHTTPResponse.
MetaHTTPResponseDocument struct for MetaHTTPResponseDocument.
MetaHTTPResponseError struct for MetaHTTPResponseError.
MetaHTTPResponseID struct for MetaHTTPResponseID.
MetaHTTPResponseIndex struct for MetaHTTPResponseIndex.
MetaHTTPResponseRecordCount struct for MetaHTTPResponseRecordCount.
MetaHTTPResponseTemplate struct for MetaHTTPResponseTemplate.
MetaIdsQuery struct for MetaIdsQuery.
MetaIndexAnalysis struct for MetaIndexAnalysis.
MetaIndexSettings struct for MetaIndexSettings.
MetaIndexSimple struct for MetaIndexSimple.
MetaIndexTemplate struct for MetaIndexTemplate.
MetaIPRange struct for MetaIPRange.
MetaJSONIngest struct for MetaJSONIngest.
MetaMappings struct for MetaMappings.
MetaMatchBoolPrefixQuery struct for MetaMatchBoolPrefixQuery.
MetaMatchPhrasePrefixQuery struct for MetaMatchPhrasePrefixQuery.
MetaMatchPhraseQuery struct for MetaMatchPhraseQuery.
MetaMatchQuery struct for MetaMatchQuery.
MetaMultiMatchQuery struct for MetaMultiMatchQuery.
MetaPage struct for MetaPage.
MetaPrefixQuery struct for MetaPrefixQuery.
MetaProperty struct for MetaProperty.
MetaQuery struct for MetaQuery.
MetaQueryStringQuery struct for MetaQueryStringQuery.
MetaRange struct for MetaRange.
MetaRangeQuery struct for MetaRangeQuery.
MetaRegexpQuery struct for MetaRegexpQuery.
MetaSearchResponse struct for MetaSearchResponse.
MetaShards struct for MetaShards.
MetaSimpleQueryStringQuery struct for MetaSimpleQueryStringQuery.
MetaTemplate struct for MetaTemplate.
MetaTemplateTemplate struct for MetaTemplateTemplate.
MetaTermQuery struct for MetaTermQuery.
MetaTermQuery struct for MetaTermQuery.
MetaTotal struct for MetaTotal.
MetaUser struct for MetaUser.
MetaVersionResponse struct for MetaVersionResponse.
MetaWildcardQuery struct for MetaWildcardQuery.
MetaZincQuery struct for MetaZincQuery.
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
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
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
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
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
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
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
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
V1AggregationBucket struct for V1AggregationBucket.
V1AggregationDateRange struct for V1AggregationDateRange.
V1AggregationNumberRange struct for V1AggregationNumberRange.
V1AggregationParams struct for V1AggregationParams.
V1AggregationResponse struct for V1AggregationResponse.
V1Hit struct for V1Hit.
V1Hits struct for V1Hits.
V1QueryParams struct for V1QueryParams.
V1SearchResponse struct for V1SearchResponse.
V1Total struct for V1Total.
V1ZincQuery struct for V1ZincQuery.

# Interfaces

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

# Type aliases

DefaultService Default service.
DocumentService Document service.
IndexService Index service.
SearchService Search service.
ServerConfigurations stores multiple ServerConfiguration items.
UserService User service.