search

package
v1.38.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for search API

func (*Client) SearchBm25 added in v1.38.10

func (a *Client) SearchBm25(params *SearchBm25Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchBm25OK, error)

SearchBm25 searches a collection with bm25

Performs a keyword (BM25F) search over the objects of a collection. Objects are scored against the query with the BM25F ranking function over the searchable text properties (all of them, or the `queryProperties` subset) and the best-scoring objects are returned, each as an envelope of its `id`, the selected `properties`, the selected `references` and, when requested, its retrieval `metadata`.

func (*Client) SearchHybrid added in v1.38.10

func (a *Client) SearchHybrid(params *SearchHybridParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchHybridOK, error)

SearchHybrid searches a collection with hybrid

Performs a hybrid search over the objects of a collection: the query is scored with the BM25F ranking function over the searchable text properties (all of them, or the `queryProperties` subset) and, in parallel, vectorized server-side and searched against the vector index; the two rankings are fused (per `fusionType`, weighted by `alpha`) and the best objects are returned, each as an envelope of its `id`, the selected `properties`, the selected `references` and, when requested, its retrieval `metadata`.

func (*Client) SearchNearObject added in v1.38.10

func (a *Client) SearchNearObject(params *SearchNearObjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchNearObjectOK, error)

SearchNearObject searches a collection with near object

Performs a similarity search over the objects of a collection, anchored at an existing object: the stored vector of the source object (referenced by `id`) is searched against the vector index and the closest objects are returned — the source object itself included — each as an envelope of its `id`, the selected `properties`, the selected `references` and, when requested, its retrieval `metadata`. No query is vectorized, so collections without a vectorizer module are fully searchable.

func (*Client) SearchNearText

func (a *Client) SearchNearText(params *SearchNearTextParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchNearTextOK, error)

SearchNearText searches a collection with near text

Performs a semantic (near-text) search over the objects of a collection. The query text is vectorized server-side by the collection's vectorizer module and the closest objects are returned, each as an envelope of its `id`, the selected `properties`, the selected `references` and, when requested, its retrieval `metadata`.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	SearchBm25(params *SearchBm25Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchBm25OK, error)

	SearchHybrid(params *SearchHybridParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchHybridOK, error)

	SearchNearObject(params *SearchNearObjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchNearObjectOK, error)

	SearchNearText(params *SearchNearTextParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchNearTextOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new search API client.

type SearchBm25BadRequest added in v1.38.10

type SearchBm25BadRequest struct {
	Payload *models.ErrorResponse
}

SearchBm25BadRequest describes a response with status code 400, with default header values.

An invalid parameter value (e.g. empty query, negative paging, unknown property) or an unparseable request body.

func NewSearchBm25BadRequest added in v1.38.10

func NewSearchBm25BadRequest() *SearchBm25BadRequest

NewSearchBm25BadRequest creates a SearchBm25BadRequest with default headers values

func (*SearchBm25BadRequest) Code added in v1.38.10

func (o *SearchBm25BadRequest) Code() int

Code gets the status code for the search bm25 bad request response

func (*SearchBm25BadRequest) Error added in v1.38.10

func (o *SearchBm25BadRequest) Error() string

func (*SearchBm25BadRequest) GetPayload added in v1.38.10

func (o *SearchBm25BadRequest) GetPayload() *models.ErrorResponse

func (*SearchBm25BadRequest) IsClientError added in v1.38.10

func (o *SearchBm25BadRequest) IsClientError() bool

IsClientError returns true when this search bm25 bad request response has a 4xx status code

func (*SearchBm25BadRequest) IsCode added in v1.38.10

func (o *SearchBm25BadRequest) IsCode(code int) bool

IsCode returns true when this search bm25 bad request response a status code equal to that given

func (*SearchBm25BadRequest) IsRedirect added in v1.38.10

func (o *SearchBm25BadRequest) IsRedirect() bool

IsRedirect returns true when this search bm25 bad request response has a 3xx status code

func (*SearchBm25BadRequest) IsServerError added in v1.38.10

func (o *SearchBm25BadRequest) IsServerError() bool

IsServerError returns true when this search bm25 bad request response has a 5xx status code

func (*SearchBm25BadRequest) IsSuccess added in v1.38.10

func (o *SearchBm25BadRequest) IsSuccess() bool

IsSuccess returns true when this search bm25 bad request response has a 2xx status code

func (*SearchBm25BadRequest) String added in v1.38.10

func (o *SearchBm25BadRequest) String() string

type SearchBm25Forbidden added in v1.38.10

type SearchBm25Forbidden struct {
	Payload *models.ErrorResponse
}

SearchBm25Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewSearchBm25Forbidden added in v1.38.10

func NewSearchBm25Forbidden() *SearchBm25Forbidden

NewSearchBm25Forbidden creates a SearchBm25Forbidden with default headers values

func (*SearchBm25Forbidden) Code added in v1.38.10

func (o *SearchBm25Forbidden) Code() int

Code gets the status code for the search bm25 forbidden response

func (*SearchBm25Forbidden) Error added in v1.38.10

func (o *SearchBm25Forbidden) Error() string

func (*SearchBm25Forbidden) GetPayload added in v1.38.10

func (o *SearchBm25Forbidden) GetPayload() *models.ErrorResponse

func (*SearchBm25Forbidden) IsClientError added in v1.38.10

func (o *SearchBm25Forbidden) IsClientError() bool

IsClientError returns true when this search bm25 forbidden response has a 4xx status code

func (*SearchBm25Forbidden) IsCode added in v1.38.10

func (o *SearchBm25Forbidden) IsCode(code int) bool

IsCode returns true when this search bm25 forbidden response a status code equal to that given

func (*SearchBm25Forbidden) IsRedirect added in v1.38.10

func (o *SearchBm25Forbidden) IsRedirect() bool

IsRedirect returns true when this search bm25 forbidden response has a 3xx status code

func (*SearchBm25Forbidden) IsServerError added in v1.38.10

func (o *SearchBm25Forbidden) IsServerError() bool

IsServerError returns true when this search bm25 forbidden response has a 5xx status code

func (*SearchBm25Forbidden) IsSuccess added in v1.38.10

func (o *SearchBm25Forbidden) IsSuccess() bool

IsSuccess returns true when this search bm25 forbidden response has a 2xx status code

func (*SearchBm25Forbidden) String added in v1.38.10

func (o *SearchBm25Forbidden) String() string

type SearchBm25InternalServerError added in v1.38.10

type SearchBm25InternalServerError struct {
	Payload *models.ErrorResponse
}

SearchBm25InternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewSearchBm25InternalServerError added in v1.38.10

func NewSearchBm25InternalServerError() *SearchBm25InternalServerError

NewSearchBm25InternalServerError creates a SearchBm25InternalServerError with default headers values

func (*SearchBm25InternalServerError) Code added in v1.38.10

Code gets the status code for the search bm25 internal server error response

func (*SearchBm25InternalServerError) Error added in v1.38.10

func (*SearchBm25InternalServerError) GetPayload added in v1.38.10

func (*SearchBm25InternalServerError) IsClientError added in v1.38.10

func (o *SearchBm25InternalServerError) IsClientError() bool

IsClientError returns true when this search bm25 internal server error response has a 4xx status code

func (*SearchBm25InternalServerError) IsCode added in v1.38.10

func (o *SearchBm25InternalServerError) IsCode(code int) bool

IsCode returns true when this search bm25 internal server error response a status code equal to that given

func (*SearchBm25InternalServerError) IsRedirect added in v1.38.10

func (o *SearchBm25InternalServerError) IsRedirect() bool

IsRedirect returns true when this search bm25 internal server error response has a 3xx status code

func (*SearchBm25InternalServerError) IsServerError added in v1.38.10

func (o *SearchBm25InternalServerError) IsServerError() bool

IsServerError returns true when this search bm25 internal server error response has a 5xx status code

func (*SearchBm25InternalServerError) IsSuccess added in v1.38.10

func (o *SearchBm25InternalServerError) IsSuccess() bool

IsSuccess returns true when this search bm25 internal server error response has a 2xx status code

func (*SearchBm25InternalServerError) String added in v1.38.10

type SearchBm25NotFound added in v1.38.10

type SearchBm25NotFound struct {
	Payload *models.ErrorResponse
}

SearchBm25NotFound describes a response with status code 404, with default header values.

Unknown collection or tenant.

func NewSearchBm25NotFound added in v1.38.10

func NewSearchBm25NotFound() *SearchBm25NotFound

NewSearchBm25NotFound creates a SearchBm25NotFound with default headers values

func (*SearchBm25NotFound) Code added in v1.38.10

func (o *SearchBm25NotFound) Code() int

Code gets the status code for the search bm25 not found response

func (*SearchBm25NotFound) Error added in v1.38.10

func (o *SearchBm25NotFound) Error() string

func (*SearchBm25NotFound) GetPayload added in v1.38.10

func (o *SearchBm25NotFound) GetPayload() *models.ErrorResponse

func (*SearchBm25NotFound) IsClientError added in v1.38.10

func (o *SearchBm25NotFound) IsClientError() bool

IsClientError returns true when this search bm25 not found response has a 4xx status code

func (*SearchBm25NotFound) IsCode added in v1.38.10

func (o *SearchBm25NotFound) IsCode(code int) bool

IsCode returns true when this search bm25 not found response a status code equal to that given

func (*SearchBm25NotFound) IsRedirect added in v1.38.10

func (o *SearchBm25NotFound) IsRedirect() bool

IsRedirect returns true when this search bm25 not found response has a 3xx status code

func (*SearchBm25NotFound) IsServerError added in v1.38.10

func (o *SearchBm25NotFound) IsServerError() bool

IsServerError returns true when this search bm25 not found response has a 5xx status code

func (*SearchBm25NotFound) IsSuccess added in v1.38.10

func (o *SearchBm25NotFound) IsSuccess() bool

IsSuccess returns true when this search bm25 not found response has a 2xx status code

func (*SearchBm25NotFound) String added in v1.38.10

func (o *SearchBm25NotFound) String() string

type SearchBm25OK added in v1.38.10

type SearchBm25OK struct {
	Payload *models.SearchResponse
}

SearchBm25OK describes a response with status code 200, with default header values.

Search performed successfully.

func NewSearchBm25OK added in v1.38.10

func NewSearchBm25OK() *SearchBm25OK

NewSearchBm25OK creates a SearchBm25OK with default headers values

func (*SearchBm25OK) Code added in v1.38.10

func (o *SearchBm25OK) Code() int

Code gets the status code for the search bm25 o k response

func (*SearchBm25OK) Error added in v1.38.10

func (o *SearchBm25OK) Error() string

func (*SearchBm25OK) GetPayload added in v1.38.10

func (o *SearchBm25OK) GetPayload() *models.SearchResponse

func (*SearchBm25OK) IsClientError added in v1.38.10

func (o *SearchBm25OK) IsClientError() bool

IsClientError returns true when this search bm25 o k response has a 4xx status code

func (*SearchBm25OK) IsCode added in v1.38.10

func (o *SearchBm25OK) IsCode(code int) bool

IsCode returns true when this search bm25 o k response a status code equal to that given

func (*SearchBm25OK) IsRedirect added in v1.38.10

func (o *SearchBm25OK) IsRedirect() bool

IsRedirect returns true when this search bm25 o k response has a 3xx status code

func (*SearchBm25OK) IsServerError added in v1.38.10

func (o *SearchBm25OK) IsServerError() bool

IsServerError returns true when this search bm25 o k response has a 5xx status code

func (*SearchBm25OK) IsSuccess added in v1.38.10

func (o *SearchBm25OK) IsSuccess() bool

IsSuccess returns true when this search bm25 o k response has a 2xx status code

func (*SearchBm25OK) String added in v1.38.10

func (o *SearchBm25OK) String() string

type SearchBm25Params added in v1.38.10

type SearchBm25Params struct {

	/* Body.

	   The bm25 search request.
	*/
	Body *models.SearchBm25Request

	/* Collection.

	   The name (or alias) of the collection to search. A lowercase first letter is normalized to the canonical uppercase form.
	*/
	Collection string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SearchBm25Params contains all the parameters to send to the API endpoint

for the search bm25 operation.

Typically these are written to a http.Request.

func NewSearchBm25Params added in v1.38.10

func NewSearchBm25Params() *SearchBm25Params

NewSearchBm25Params creates a new SearchBm25Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSearchBm25ParamsWithContext added in v1.38.10

func NewSearchBm25ParamsWithContext(ctx context.Context) *SearchBm25Params

NewSearchBm25ParamsWithContext creates a new SearchBm25Params object with the ability to set a context for a request.

func NewSearchBm25ParamsWithHTTPClient added in v1.38.10

func NewSearchBm25ParamsWithHTTPClient(client *http.Client) *SearchBm25Params

NewSearchBm25ParamsWithHTTPClient creates a new SearchBm25Params object with the ability to set a custom HTTPClient for a request.

func NewSearchBm25ParamsWithTimeout added in v1.38.10

func NewSearchBm25ParamsWithTimeout(timeout time.Duration) *SearchBm25Params

NewSearchBm25ParamsWithTimeout creates a new SearchBm25Params object with the ability to set a timeout on a request.

func (*SearchBm25Params) SetBody added in v1.38.10

func (o *SearchBm25Params) SetBody(body *models.SearchBm25Request)

SetBody adds the body to the search bm25 params

func (*SearchBm25Params) SetCollection added in v1.38.10

func (o *SearchBm25Params) SetCollection(collection string)

SetCollection adds the collection to the search bm25 params

func (*SearchBm25Params) SetContext added in v1.38.10

func (o *SearchBm25Params) SetContext(ctx context.Context)

SetContext adds the context to the search bm25 params

func (*SearchBm25Params) SetDefaults added in v1.38.10

func (o *SearchBm25Params) SetDefaults()

SetDefaults hydrates default values in the search bm25 params (not the query body).

All values with no default are reset to their zero value.

func (*SearchBm25Params) SetHTTPClient added in v1.38.10

func (o *SearchBm25Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the search bm25 params

func (*SearchBm25Params) SetTimeout added in v1.38.10

func (o *SearchBm25Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search bm25 params

func (*SearchBm25Params) WithBody added in v1.38.10

WithBody adds the body to the search bm25 params

func (*SearchBm25Params) WithCollection added in v1.38.10

func (o *SearchBm25Params) WithCollection(collection string) *SearchBm25Params

WithCollection adds the collection to the search bm25 params

func (*SearchBm25Params) WithContext added in v1.38.10

func (o *SearchBm25Params) WithContext(ctx context.Context) *SearchBm25Params

WithContext adds the context to the search bm25 params

func (*SearchBm25Params) WithDefaults added in v1.38.10

func (o *SearchBm25Params) WithDefaults() *SearchBm25Params

WithDefaults hydrates default values in the search bm25 params (not the query body).

All values with no default are reset to their zero value.

func (*SearchBm25Params) WithHTTPClient added in v1.38.10

func (o *SearchBm25Params) WithHTTPClient(client *http.Client) *SearchBm25Params

WithHTTPClient adds the HTTPClient to the search bm25 params

func (*SearchBm25Params) WithTimeout added in v1.38.10

func (o *SearchBm25Params) WithTimeout(timeout time.Duration) *SearchBm25Params

WithTimeout adds the timeout to the search bm25 params

func (*SearchBm25Params) WriteToRequest added in v1.38.10

func (o *SearchBm25Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SearchBm25Reader added in v1.38.10

type SearchBm25Reader struct {
	// contains filtered or unexported fields
}

SearchBm25Reader is a Reader for the SearchBm25 structure.

func (*SearchBm25Reader) ReadResponse added in v1.38.10

func (o *SearchBm25Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SearchBm25ServiceUnavailable added in v1.38.10

type SearchBm25ServiceUnavailable struct {
	Payload *models.ErrorResponse
}

SearchBm25ServiceUnavailable describes a response with status code 503, with default header values.

The server is in an operational mode that blocks searches (e.g. WRITE_ONLY); retry once the server returns to normal operation.

func NewSearchBm25ServiceUnavailable added in v1.38.10

func NewSearchBm25ServiceUnavailable() *SearchBm25ServiceUnavailable

NewSearchBm25ServiceUnavailable creates a SearchBm25ServiceUnavailable with default headers values

func (*SearchBm25ServiceUnavailable) Code added in v1.38.10

Code gets the status code for the search bm25 service unavailable response

func (*SearchBm25ServiceUnavailable) Error added in v1.38.10

func (*SearchBm25ServiceUnavailable) GetPayload added in v1.38.10

func (*SearchBm25ServiceUnavailable) IsClientError added in v1.38.10

func (o *SearchBm25ServiceUnavailable) IsClientError() bool

IsClientError returns true when this search bm25 service unavailable response has a 4xx status code

func (*SearchBm25ServiceUnavailable) IsCode added in v1.38.10

func (o *SearchBm25ServiceUnavailable) IsCode(code int) bool

IsCode returns true when this search bm25 service unavailable response a status code equal to that given

func (*SearchBm25ServiceUnavailable) IsRedirect added in v1.38.10

func (o *SearchBm25ServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this search bm25 service unavailable response has a 3xx status code

func (*SearchBm25ServiceUnavailable) IsServerError added in v1.38.10

func (o *SearchBm25ServiceUnavailable) IsServerError() bool

IsServerError returns true when this search bm25 service unavailable response has a 5xx status code

func (*SearchBm25ServiceUnavailable) IsSuccess added in v1.38.10

func (o *SearchBm25ServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this search bm25 service unavailable response has a 2xx status code

func (*SearchBm25ServiceUnavailable) String added in v1.38.10

type SearchBm25TooManyRequests added in v1.38.10

type SearchBm25TooManyRequests struct {
	Payload *models.ErrorResponse
}

SearchBm25TooManyRequests describes a response with status code 429, with default header values.

The server's query rate limit was reached; retry later.

func NewSearchBm25TooManyRequests added in v1.38.10

func NewSearchBm25TooManyRequests() *SearchBm25TooManyRequests

NewSearchBm25TooManyRequests creates a SearchBm25TooManyRequests with default headers values

func (*SearchBm25TooManyRequests) Code added in v1.38.10

func (o *SearchBm25TooManyRequests) Code() int

Code gets the status code for the search bm25 too many requests response

func (*SearchBm25TooManyRequests) Error added in v1.38.10

func (o *SearchBm25TooManyRequests) Error() string

func (*SearchBm25TooManyRequests) GetPayload added in v1.38.10

func (*SearchBm25TooManyRequests) IsClientError added in v1.38.10

func (o *SearchBm25TooManyRequests) IsClientError() bool

IsClientError returns true when this search bm25 too many requests response has a 4xx status code

func (*SearchBm25TooManyRequests) IsCode added in v1.38.10

func (o *SearchBm25TooManyRequests) IsCode(code int) bool

IsCode returns true when this search bm25 too many requests response a status code equal to that given

func (*SearchBm25TooManyRequests) IsRedirect added in v1.38.10

func (o *SearchBm25TooManyRequests) IsRedirect() bool

IsRedirect returns true when this search bm25 too many requests response has a 3xx status code

func (*SearchBm25TooManyRequests) IsServerError added in v1.38.10

func (o *SearchBm25TooManyRequests) IsServerError() bool

IsServerError returns true when this search bm25 too many requests response has a 5xx status code

func (*SearchBm25TooManyRequests) IsSuccess added in v1.38.10

func (o *SearchBm25TooManyRequests) IsSuccess() bool

IsSuccess returns true when this search bm25 too many requests response has a 2xx status code

func (*SearchBm25TooManyRequests) String added in v1.38.10

func (o *SearchBm25TooManyRequests) String() string

type SearchBm25Unauthorized added in v1.38.10

type SearchBm25Unauthorized struct {
	Payload *models.ErrorResponse
}

SearchBm25Unauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewSearchBm25Unauthorized added in v1.38.10

func NewSearchBm25Unauthorized() *SearchBm25Unauthorized

NewSearchBm25Unauthorized creates a SearchBm25Unauthorized with default headers values

func (*SearchBm25Unauthorized) Code added in v1.38.10

func (o *SearchBm25Unauthorized) Code() int

Code gets the status code for the search bm25 unauthorized response

func (*SearchBm25Unauthorized) Error added in v1.38.10

func (o *SearchBm25Unauthorized) Error() string

func (*SearchBm25Unauthorized) GetPayload added in v1.38.10

func (o *SearchBm25Unauthorized) GetPayload() *models.ErrorResponse

func (*SearchBm25Unauthorized) IsClientError added in v1.38.10

func (o *SearchBm25Unauthorized) IsClientError() bool

IsClientError returns true when this search bm25 unauthorized response has a 4xx status code

func (*SearchBm25Unauthorized) IsCode added in v1.38.10

func (o *SearchBm25Unauthorized) IsCode(code int) bool

IsCode returns true when this search bm25 unauthorized response a status code equal to that given

func (*SearchBm25Unauthorized) IsRedirect added in v1.38.10

func (o *SearchBm25Unauthorized) IsRedirect() bool

IsRedirect returns true when this search bm25 unauthorized response has a 3xx status code

func (*SearchBm25Unauthorized) IsServerError added in v1.38.10

func (o *SearchBm25Unauthorized) IsServerError() bool

IsServerError returns true when this search bm25 unauthorized response has a 5xx status code

func (*SearchBm25Unauthorized) IsSuccess added in v1.38.10

func (o *SearchBm25Unauthorized) IsSuccess() bool

IsSuccess returns true when this search bm25 unauthorized response has a 2xx status code

func (*SearchBm25Unauthorized) String added in v1.38.10

func (o *SearchBm25Unauthorized) String() string

type SearchBm25UnprocessableEntity added in v1.38.10

type SearchBm25UnprocessableEntity struct {
	Payload *models.ErrorResponse
}

SearchBm25UnprocessableEntity describes a response with status code 422, with default header values.

Either a request-schema violation (a missing or null required `query`, or an invalid enum value), or a well-formed request that cannot run: a queried property has no searchable index, a reserved (not yet supported) parameter is present, the tenant usage does not match the collection's multi-tenancy configuration, a where filter targets a property whose inverted index is disabled, or the experimental REST Search API is not enabled (set EXPERIMENTAL_REST_SEARCH_ENABLED=true).

func NewSearchBm25UnprocessableEntity added in v1.38.10

func NewSearchBm25UnprocessableEntity() *SearchBm25UnprocessableEntity

NewSearchBm25UnprocessableEntity creates a SearchBm25UnprocessableEntity with default headers values

func (*SearchBm25UnprocessableEntity) Code added in v1.38.10

Code gets the status code for the search bm25 unprocessable entity response

func (*SearchBm25UnprocessableEntity) Error added in v1.38.10

func (*SearchBm25UnprocessableEntity) GetPayload added in v1.38.10

func (*SearchBm25UnprocessableEntity) IsClientError added in v1.38.10

func (o *SearchBm25UnprocessableEntity) IsClientError() bool

IsClientError returns true when this search bm25 unprocessable entity response has a 4xx status code

func (*SearchBm25UnprocessableEntity) IsCode added in v1.38.10

func (o *SearchBm25UnprocessableEntity) IsCode(code int) bool

IsCode returns true when this search bm25 unprocessable entity response a status code equal to that given

func (*SearchBm25UnprocessableEntity) IsRedirect added in v1.38.10

func (o *SearchBm25UnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this search bm25 unprocessable entity response has a 3xx status code

func (*SearchBm25UnprocessableEntity) IsServerError added in v1.38.10

func (o *SearchBm25UnprocessableEntity) IsServerError() bool

IsServerError returns true when this search bm25 unprocessable entity response has a 5xx status code

func (*SearchBm25UnprocessableEntity) IsSuccess added in v1.38.10

func (o *SearchBm25UnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this search bm25 unprocessable entity response has a 2xx status code

func (*SearchBm25UnprocessableEntity) String added in v1.38.10

type SearchHybridBadGateway added in v1.38.10

type SearchHybridBadGateway struct {
	Payload *models.ErrorResponse
}

SearchHybridBadGateway describes a response with status code 502, with default header values.

The embedding provider failed to vectorize the query for the vector part of the search; the search cannot run.

func NewSearchHybridBadGateway added in v1.38.10

func NewSearchHybridBadGateway() *SearchHybridBadGateway

NewSearchHybridBadGateway creates a SearchHybridBadGateway with default headers values

func (*SearchHybridBadGateway) Code added in v1.38.10

func (o *SearchHybridBadGateway) Code() int

Code gets the status code for the search hybrid bad gateway response

func (*SearchHybridBadGateway) Error added in v1.38.10

func (o *SearchHybridBadGateway) Error() string

func (*SearchHybridBadGateway) GetPayload added in v1.38.10

func (o *SearchHybridBadGateway) GetPayload() *models.ErrorResponse

func (*SearchHybridBadGateway) IsClientError added in v1.38.10

func (o *SearchHybridBadGateway) IsClientError() bool

IsClientError returns true when this search hybrid bad gateway response has a 4xx status code

func (*SearchHybridBadGateway) IsCode added in v1.38.10

func (o *SearchHybridBadGateway) IsCode(code int) bool

IsCode returns true when this search hybrid bad gateway response a status code equal to that given

func (*SearchHybridBadGateway) IsRedirect added in v1.38.10

func (o *SearchHybridBadGateway) IsRedirect() bool

IsRedirect returns true when this search hybrid bad gateway response has a 3xx status code

func (*SearchHybridBadGateway) IsServerError added in v1.38.10

func (o *SearchHybridBadGateway) IsServerError() bool

IsServerError returns true when this search hybrid bad gateway response has a 5xx status code

func (*SearchHybridBadGateway) IsSuccess added in v1.38.10

func (o *SearchHybridBadGateway) IsSuccess() bool

IsSuccess returns true when this search hybrid bad gateway response has a 2xx status code

func (*SearchHybridBadGateway) String added in v1.38.10

func (o *SearchHybridBadGateway) String() string

type SearchHybridBadRequest added in v1.38.10

type SearchHybridBadRequest struct {
	Payload *models.ErrorResponse
}

SearchHybridBadRequest describes a response with status code 400, with default header values.

An invalid parameter value (e.g. empty query, alpha outside [0, 1], negative paging, unknown property) or an unparseable request body.

func NewSearchHybridBadRequest added in v1.38.10

func NewSearchHybridBadRequest() *SearchHybridBadRequest

NewSearchHybridBadRequest creates a SearchHybridBadRequest with default headers values

func (*SearchHybridBadRequest) Code added in v1.38.10

func (o *SearchHybridBadRequest) Code() int

Code gets the status code for the search hybrid bad request response

func (*SearchHybridBadRequest) Error added in v1.38.10

func (o *SearchHybridBadRequest) Error() string

func (*SearchHybridBadRequest) GetPayload added in v1.38.10

func (o *SearchHybridBadRequest) GetPayload() *models.ErrorResponse

func (*SearchHybridBadRequest) IsClientError added in v1.38.10

func (o *SearchHybridBadRequest) IsClientError() bool

IsClientError returns true when this search hybrid bad request response has a 4xx status code

func (*SearchHybridBadRequest) IsCode added in v1.38.10

func (o *SearchHybridBadRequest) IsCode(code int) bool

IsCode returns true when this search hybrid bad request response a status code equal to that given

func (*SearchHybridBadRequest) IsRedirect added in v1.38.10

func (o *SearchHybridBadRequest) IsRedirect() bool

IsRedirect returns true when this search hybrid bad request response has a 3xx status code

func (*SearchHybridBadRequest) IsServerError added in v1.38.10

func (o *SearchHybridBadRequest) IsServerError() bool

IsServerError returns true when this search hybrid bad request response has a 5xx status code

func (*SearchHybridBadRequest) IsSuccess added in v1.38.10

func (o *SearchHybridBadRequest) IsSuccess() bool

IsSuccess returns true when this search hybrid bad request response has a 2xx status code

func (*SearchHybridBadRequest) String added in v1.38.10

func (o *SearchHybridBadRequest) String() string

type SearchHybridForbidden added in v1.38.10

type SearchHybridForbidden struct {
	Payload *models.ErrorResponse
}

SearchHybridForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSearchHybridForbidden added in v1.38.10

func NewSearchHybridForbidden() *SearchHybridForbidden

NewSearchHybridForbidden creates a SearchHybridForbidden with default headers values

func (*SearchHybridForbidden) Code added in v1.38.10

func (o *SearchHybridForbidden) Code() int

Code gets the status code for the search hybrid forbidden response

func (*SearchHybridForbidden) Error added in v1.38.10

func (o *SearchHybridForbidden) Error() string

func (*SearchHybridForbidden) GetPayload added in v1.38.10

func (o *SearchHybridForbidden) GetPayload() *models.ErrorResponse

func (*SearchHybridForbidden) IsClientError added in v1.38.10

func (o *SearchHybridForbidden) IsClientError() bool

IsClientError returns true when this search hybrid forbidden response has a 4xx status code

func (*SearchHybridForbidden) IsCode added in v1.38.10

func (o *SearchHybridForbidden) IsCode(code int) bool

IsCode returns true when this search hybrid forbidden response a status code equal to that given

func (*SearchHybridForbidden) IsRedirect added in v1.38.10

func (o *SearchHybridForbidden) IsRedirect() bool

IsRedirect returns true when this search hybrid forbidden response has a 3xx status code

func (*SearchHybridForbidden) IsServerError added in v1.38.10

func (o *SearchHybridForbidden) IsServerError() bool

IsServerError returns true when this search hybrid forbidden response has a 5xx status code

func (*SearchHybridForbidden) IsSuccess added in v1.38.10

func (o *SearchHybridForbidden) IsSuccess() bool

IsSuccess returns true when this search hybrid forbidden response has a 2xx status code

func (*SearchHybridForbidden) String added in v1.38.10

func (o *SearchHybridForbidden) String() string

type SearchHybridInternalServerError added in v1.38.10

type SearchHybridInternalServerError struct {
	Payload *models.ErrorResponse
}

SearchHybridInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewSearchHybridInternalServerError added in v1.38.10

func NewSearchHybridInternalServerError() *SearchHybridInternalServerError

NewSearchHybridInternalServerError creates a SearchHybridInternalServerError with default headers values

func (*SearchHybridInternalServerError) Code added in v1.38.10

Code gets the status code for the search hybrid internal server error response

func (*SearchHybridInternalServerError) Error added in v1.38.10

func (*SearchHybridInternalServerError) GetPayload added in v1.38.10

func (*SearchHybridInternalServerError) IsClientError added in v1.38.10

func (o *SearchHybridInternalServerError) IsClientError() bool

IsClientError returns true when this search hybrid internal server error response has a 4xx status code

func (*SearchHybridInternalServerError) IsCode added in v1.38.10

func (o *SearchHybridInternalServerError) IsCode(code int) bool

IsCode returns true when this search hybrid internal server error response a status code equal to that given

func (*SearchHybridInternalServerError) IsRedirect added in v1.38.10

func (o *SearchHybridInternalServerError) IsRedirect() bool

IsRedirect returns true when this search hybrid internal server error response has a 3xx status code

func (*SearchHybridInternalServerError) IsServerError added in v1.38.10

func (o *SearchHybridInternalServerError) IsServerError() bool

IsServerError returns true when this search hybrid internal server error response has a 5xx status code

func (*SearchHybridInternalServerError) IsSuccess added in v1.38.10

func (o *SearchHybridInternalServerError) IsSuccess() bool

IsSuccess returns true when this search hybrid internal server error response has a 2xx status code

func (*SearchHybridInternalServerError) String added in v1.38.10

type SearchHybridNotFound added in v1.38.10

type SearchHybridNotFound struct {
	Payload *models.ErrorResponse
}

SearchHybridNotFound describes a response with status code 404, with default header values.

Unknown collection or tenant.

func NewSearchHybridNotFound added in v1.38.10

func NewSearchHybridNotFound() *SearchHybridNotFound

NewSearchHybridNotFound creates a SearchHybridNotFound with default headers values

func (*SearchHybridNotFound) Code added in v1.38.10

func (o *SearchHybridNotFound) Code() int

Code gets the status code for the search hybrid not found response

func (*SearchHybridNotFound) Error added in v1.38.10

func (o *SearchHybridNotFound) Error() string

func (*SearchHybridNotFound) GetPayload added in v1.38.10

func (o *SearchHybridNotFound) GetPayload() *models.ErrorResponse

func (*SearchHybridNotFound) IsClientError added in v1.38.10

func (o *SearchHybridNotFound) IsClientError() bool

IsClientError returns true when this search hybrid not found response has a 4xx status code

func (*SearchHybridNotFound) IsCode added in v1.38.10

func (o *SearchHybridNotFound) IsCode(code int) bool

IsCode returns true when this search hybrid not found response a status code equal to that given

func (*SearchHybridNotFound) IsRedirect added in v1.38.10

func (o *SearchHybridNotFound) IsRedirect() bool

IsRedirect returns true when this search hybrid not found response has a 3xx status code

func (*SearchHybridNotFound) IsServerError added in v1.38.10

func (o *SearchHybridNotFound) IsServerError() bool

IsServerError returns true when this search hybrid not found response has a 5xx status code

func (*SearchHybridNotFound) IsSuccess added in v1.38.10

func (o *SearchHybridNotFound) IsSuccess() bool

IsSuccess returns true when this search hybrid not found response has a 2xx status code

func (*SearchHybridNotFound) String added in v1.38.10

func (o *SearchHybridNotFound) String() string

type SearchHybridOK added in v1.38.10

type SearchHybridOK struct {
	Payload *models.SearchResponse
}

SearchHybridOK describes a response with status code 200, with default header values.

Search performed successfully.

func NewSearchHybridOK added in v1.38.10

func NewSearchHybridOK() *SearchHybridOK

NewSearchHybridOK creates a SearchHybridOK with default headers values

func (*SearchHybridOK) Code added in v1.38.10

func (o *SearchHybridOK) Code() int

Code gets the status code for the search hybrid o k response

func (*SearchHybridOK) Error added in v1.38.10

func (o *SearchHybridOK) Error() string

func (*SearchHybridOK) GetPayload added in v1.38.10

func (o *SearchHybridOK) GetPayload() *models.SearchResponse

func (*SearchHybridOK) IsClientError added in v1.38.10

func (o *SearchHybridOK) IsClientError() bool

IsClientError returns true when this search hybrid o k response has a 4xx status code

func (*SearchHybridOK) IsCode added in v1.38.10

func (o *SearchHybridOK) IsCode(code int) bool

IsCode returns true when this search hybrid o k response a status code equal to that given

func (*SearchHybridOK) IsRedirect added in v1.38.10

func (o *SearchHybridOK) IsRedirect() bool

IsRedirect returns true when this search hybrid o k response has a 3xx status code

func (*SearchHybridOK) IsServerError added in v1.38.10

func (o *SearchHybridOK) IsServerError() bool

IsServerError returns true when this search hybrid o k response has a 5xx status code

func (*SearchHybridOK) IsSuccess added in v1.38.10

func (o *SearchHybridOK) IsSuccess() bool

IsSuccess returns true when this search hybrid o k response has a 2xx status code

func (*SearchHybridOK) String added in v1.38.10

func (o *SearchHybridOK) String() string

type SearchHybridParams added in v1.38.10

type SearchHybridParams struct {

	/* Body.

	   The hybrid search request.
	*/
	Body *models.SearchHybridRequest

	/* Collection.

	   The name (or alias) of the collection to search. A lowercase first letter is normalized to the canonical uppercase form.
	*/
	Collection string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SearchHybridParams contains all the parameters to send to the API endpoint

for the search hybrid operation.

Typically these are written to a http.Request.

func NewSearchHybridParams added in v1.38.10

func NewSearchHybridParams() *SearchHybridParams

NewSearchHybridParams creates a new SearchHybridParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSearchHybridParamsWithContext added in v1.38.10

func NewSearchHybridParamsWithContext(ctx context.Context) *SearchHybridParams

NewSearchHybridParamsWithContext creates a new SearchHybridParams object with the ability to set a context for a request.

func NewSearchHybridParamsWithHTTPClient added in v1.38.10

func NewSearchHybridParamsWithHTTPClient(client *http.Client) *SearchHybridParams

NewSearchHybridParamsWithHTTPClient creates a new SearchHybridParams object with the ability to set a custom HTTPClient for a request.

func NewSearchHybridParamsWithTimeout added in v1.38.10

func NewSearchHybridParamsWithTimeout(timeout time.Duration) *SearchHybridParams

NewSearchHybridParamsWithTimeout creates a new SearchHybridParams object with the ability to set a timeout on a request.

func (*SearchHybridParams) SetBody added in v1.38.10

func (o *SearchHybridParams) SetBody(body *models.SearchHybridRequest)

SetBody adds the body to the search hybrid params

func (*SearchHybridParams) SetCollection added in v1.38.10

func (o *SearchHybridParams) SetCollection(collection string)

SetCollection adds the collection to the search hybrid params

func (*SearchHybridParams) SetContext added in v1.38.10

func (o *SearchHybridParams) SetContext(ctx context.Context)

SetContext adds the context to the search hybrid params

func (*SearchHybridParams) SetDefaults added in v1.38.10

func (o *SearchHybridParams) SetDefaults()

SetDefaults hydrates default values in the search hybrid params (not the query body).

All values with no default are reset to their zero value.

func (*SearchHybridParams) SetHTTPClient added in v1.38.10

func (o *SearchHybridParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the search hybrid params

func (*SearchHybridParams) SetTimeout added in v1.38.10

func (o *SearchHybridParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search hybrid params

func (*SearchHybridParams) WithBody added in v1.38.10

WithBody adds the body to the search hybrid params

func (*SearchHybridParams) WithCollection added in v1.38.10

func (o *SearchHybridParams) WithCollection(collection string) *SearchHybridParams

WithCollection adds the collection to the search hybrid params

func (*SearchHybridParams) WithContext added in v1.38.10

WithContext adds the context to the search hybrid params

func (*SearchHybridParams) WithDefaults added in v1.38.10

func (o *SearchHybridParams) WithDefaults() *SearchHybridParams

WithDefaults hydrates default values in the search hybrid params (not the query body).

All values with no default are reset to their zero value.

func (*SearchHybridParams) WithHTTPClient added in v1.38.10

func (o *SearchHybridParams) WithHTTPClient(client *http.Client) *SearchHybridParams

WithHTTPClient adds the HTTPClient to the search hybrid params

func (*SearchHybridParams) WithTimeout added in v1.38.10

func (o *SearchHybridParams) WithTimeout(timeout time.Duration) *SearchHybridParams

WithTimeout adds the timeout to the search hybrid params

func (*SearchHybridParams) WriteToRequest added in v1.38.10

func (o *SearchHybridParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SearchHybridReader added in v1.38.10

type SearchHybridReader struct {
	// contains filtered or unexported fields
}

SearchHybridReader is a Reader for the SearchHybrid structure.

func (*SearchHybridReader) ReadResponse added in v1.38.10

func (o *SearchHybridReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SearchHybridServiceUnavailable added in v1.38.10

type SearchHybridServiceUnavailable struct {
	Payload *models.ErrorResponse
}

SearchHybridServiceUnavailable describes a response with status code 503, with default header values.

The server is in an operational mode that blocks searches (e.g. WRITE_ONLY); retry once the server returns to normal operation.

func NewSearchHybridServiceUnavailable added in v1.38.10

func NewSearchHybridServiceUnavailable() *SearchHybridServiceUnavailable

NewSearchHybridServiceUnavailable creates a SearchHybridServiceUnavailable with default headers values

func (*SearchHybridServiceUnavailable) Code added in v1.38.10

Code gets the status code for the search hybrid service unavailable response

func (*SearchHybridServiceUnavailable) Error added in v1.38.10

func (*SearchHybridServiceUnavailable) GetPayload added in v1.38.10

func (*SearchHybridServiceUnavailable) IsClientError added in v1.38.10

func (o *SearchHybridServiceUnavailable) IsClientError() bool

IsClientError returns true when this search hybrid service unavailable response has a 4xx status code

func (*SearchHybridServiceUnavailable) IsCode added in v1.38.10

func (o *SearchHybridServiceUnavailable) IsCode(code int) bool

IsCode returns true when this search hybrid service unavailable response a status code equal to that given

func (*SearchHybridServiceUnavailable) IsRedirect added in v1.38.10

func (o *SearchHybridServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this search hybrid service unavailable response has a 3xx status code

func (*SearchHybridServiceUnavailable) IsServerError added in v1.38.10

func (o *SearchHybridServiceUnavailable) IsServerError() bool

IsServerError returns true when this search hybrid service unavailable response has a 5xx status code

func (*SearchHybridServiceUnavailable) IsSuccess added in v1.38.10

func (o *SearchHybridServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this search hybrid service unavailable response has a 2xx status code

func (*SearchHybridServiceUnavailable) String added in v1.38.10

type SearchHybridTooManyRequests added in v1.38.10

type SearchHybridTooManyRequests struct {
	Payload *models.ErrorResponse
}

SearchHybridTooManyRequests describes a response with status code 429, with default header values.

The server's query rate limit was reached; retry later.

func NewSearchHybridTooManyRequests added in v1.38.10

func NewSearchHybridTooManyRequests() *SearchHybridTooManyRequests

NewSearchHybridTooManyRequests creates a SearchHybridTooManyRequests with default headers values

func (*SearchHybridTooManyRequests) Code added in v1.38.10

func (o *SearchHybridTooManyRequests) Code() int

Code gets the status code for the search hybrid too many requests response

func (*SearchHybridTooManyRequests) Error added in v1.38.10

func (*SearchHybridTooManyRequests) GetPayload added in v1.38.10

func (*SearchHybridTooManyRequests) IsClientError added in v1.38.10

func (o *SearchHybridTooManyRequests) IsClientError() bool

IsClientError returns true when this search hybrid too many requests response has a 4xx status code

func (*SearchHybridTooManyRequests) IsCode added in v1.38.10

func (o *SearchHybridTooManyRequests) IsCode(code int) bool

IsCode returns true when this search hybrid too many requests response a status code equal to that given

func (*SearchHybridTooManyRequests) IsRedirect added in v1.38.10

func (o *SearchHybridTooManyRequests) IsRedirect() bool

IsRedirect returns true when this search hybrid too many requests response has a 3xx status code

func (*SearchHybridTooManyRequests) IsServerError added in v1.38.10

func (o *SearchHybridTooManyRequests) IsServerError() bool

IsServerError returns true when this search hybrid too many requests response has a 5xx status code

func (*SearchHybridTooManyRequests) IsSuccess added in v1.38.10

func (o *SearchHybridTooManyRequests) IsSuccess() bool

IsSuccess returns true when this search hybrid too many requests response has a 2xx status code

func (*SearchHybridTooManyRequests) String added in v1.38.10

func (o *SearchHybridTooManyRequests) String() string

type SearchHybridUnauthorized added in v1.38.10

type SearchHybridUnauthorized struct {
	Payload *models.ErrorResponse
}

SearchHybridUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewSearchHybridUnauthorized added in v1.38.10

func NewSearchHybridUnauthorized() *SearchHybridUnauthorized

NewSearchHybridUnauthorized creates a SearchHybridUnauthorized with default headers values

func (*SearchHybridUnauthorized) Code added in v1.38.10

func (o *SearchHybridUnauthorized) Code() int

Code gets the status code for the search hybrid unauthorized response

func (*SearchHybridUnauthorized) Error added in v1.38.10

func (o *SearchHybridUnauthorized) Error() string

func (*SearchHybridUnauthorized) GetPayload added in v1.38.10

func (*SearchHybridUnauthorized) IsClientError added in v1.38.10

func (o *SearchHybridUnauthorized) IsClientError() bool

IsClientError returns true when this search hybrid unauthorized response has a 4xx status code

func (*SearchHybridUnauthorized) IsCode added in v1.38.10

func (o *SearchHybridUnauthorized) IsCode(code int) bool

IsCode returns true when this search hybrid unauthorized response a status code equal to that given

func (*SearchHybridUnauthorized) IsRedirect added in v1.38.10

func (o *SearchHybridUnauthorized) IsRedirect() bool

IsRedirect returns true when this search hybrid unauthorized response has a 3xx status code

func (*SearchHybridUnauthorized) IsServerError added in v1.38.10

func (o *SearchHybridUnauthorized) IsServerError() bool

IsServerError returns true when this search hybrid unauthorized response has a 5xx status code

func (*SearchHybridUnauthorized) IsSuccess added in v1.38.10

func (o *SearchHybridUnauthorized) IsSuccess() bool

IsSuccess returns true when this search hybrid unauthorized response has a 2xx status code

func (*SearchHybridUnauthorized) String added in v1.38.10

func (o *SearchHybridUnauthorized) String() string

type SearchHybridUnprocessableEntity added in v1.38.10

type SearchHybridUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

SearchHybridUnprocessableEntity describes a response with status code 422, with default header values.

Either a request-schema violation (a missing or null required `query`, or an invalid enum value), or a well-formed request that cannot run: no vectorizer module is configured for the collection while `alpha` is above 0, targetVector is missing on a multi-named-vector collection, a queried property has no searchable index, a reserved (not yet supported) parameter is present, the tenant usage does not match the collection's multi-tenancy configuration, a where filter targets a property whose inverted index is disabled, or the experimental REST Search API is not enabled (set EXPERIMENTAL_REST_SEARCH_ENABLED=true).

func NewSearchHybridUnprocessableEntity added in v1.38.10

func NewSearchHybridUnprocessableEntity() *SearchHybridUnprocessableEntity

NewSearchHybridUnprocessableEntity creates a SearchHybridUnprocessableEntity with default headers values

func (*SearchHybridUnprocessableEntity) Code added in v1.38.10

Code gets the status code for the search hybrid unprocessable entity response

func (*SearchHybridUnprocessableEntity) Error added in v1.38.10

func (*SearchHybridUnprocessableEntity) GetPayload added in v1.38.10

func (*SearchHybridUnprocessableEntity) IsClientError added in v1.38.10

func (o *SearchHybridUnprocessableEntity) IsClientError() bool

IsClientError returns true when this search hybrid unprocessable entity response has a 4xx status code

func (*SearchHybridUnprocessableEntity) IsCode added in v1.38.10

func (o *SearchHybridUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this search hybrid unprocessable entity response a status code equal to that given

func (*SearchHybridUnprocessableEntity) IsRedirect added in v1.38.10

func (o *SearchHybridUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this search hybrid unprocessable entity response has a 3xx status code

func (*SearchHybridUnprocessableEntity) IsServerError added in v1.38.10

func (o *SearchHybridUnprocessableEntity) IsServerError() bool

IsServerError returns true when this search hybrid unprocessable entity response has a 5xx status code

func (*SearchHybridUnprocessableEntity) IsSuccess added in v1.38.10

func (o *SearchHybridUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this search hybrid unprocessable entity response has a 2xx status code

func (*SearchHybridUnprocessableEntity) String added in v1.38.10

type SearchNearObjectBadRequest added in v1.38.10

type SearchNearObjectBadRequest struct {
	Payload *models.ErrorResponse
}

SearchNearObjectBadRequest describes a response with status code 400, with default header values.

An invalid parameter value (e.g. an id that matches no object in the collection, negative paging, unknown property) or an unparseable request body.

func NewSearchNearObjectBadRequest added in v1.38.10

func NewSearchNearObjectBadRequest() *SearchNearObjectBadRequest

NewSearchNearObjectBadRequest creates a SearchNearObjectBadRequest with default headers values

func (*SearchNearObjectBadRequest) Code added in v1.38.10

func (o *SearchNearObjectBadRequest) Code() int

Code gets the status code for the search near object bad request response

func (*SearchNearObjectBadRequest) Error added in v1.38.10

func (*SearchNearObjectBadRequest) GetPayload added in v1.38.10

func (*SearchNearObjectBadRequest) IsClientError added in v1.38.10

func (o *SearchNearObjectBadRequest) IsClientError() bool

IsClientError returns true when this search near object bad request response has a 4xx status code

func (*SearchNearObjectBadRequest) IsCode added in v1.38.10

func (o *SearchNearObjectBadRequest) IsCode(code int) bool

IsCode returns true when this search near object bad request response a status code equal to that given

func (*SearchNearObjectBadRequest) IsRedirect added in v1.38.10

func (o *SearchNearObjectBadRequest) IsRedirect() bool

IsRedirect returns true when this search near object bad request response has a 3xx status code

func (*SearchNearObjectBadRequest) IsServerError added in v1.38.10

func (o *SearchNearObjectBadRequest) IsServerError() bool

IsServerError returns true when this search near object bad request response has a 5xx status code

func (*SearchNearObjectBadRequest) IsSuccess added in v1.38.10

func (o *SearchNearObjectBadRequest) IsSuccess() bool

IsSuccess returns true when this search near object bad request response has a 2xx status code

func (*SearchNearObjectBadRequest) String added in v1.38.10

func (o *SearchNearObjectBadRequest) String() string

type SearchNearObjectForbidden added in v1.38.10

type SearchNearObjectForbidden struct {
	Payload *models.ErrorResponse
}

SearchNearObjectForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSearchNearObjectForbidden added in v1.38.10

func NewSearchNearObjectForbidden() *SearchNearObjectForbidden

NewSearchNearObjectForbidden creates a SearchNearObjectForbidden with default headers values

func (*SearchNearObjectForbidden) Code added in v1.38.10

func (o *SearchNearObjectForbidden) Code() int

Code gets the status code for the search near object forbidden response

func (*SearchNearObjectForbidden) Error added in v1.38.10

func (o *SearchNearObjectForbidden) Error() string

func (*SearchNearObjectForbidden) GetPayload added in v1.38.10

func (*SearchNearObjectForbidden) IsClientError added in v1.38.10

func (o *SearchNearObjectForbidden) IsClientError() bool

IsClientError returns true when this search near object forbidden response has a 4xx status code

func (*SearchNearObjectForbidden) IsCode added in v1.38.10

func (o *SearchNearObjectForbidden) IsCode(code int) bool

IsCode returns true when this search near object forbidden response a status code equal to that given

func (*SearchNearObjectForbidden) IsRedirect added in v1.38.10

func (o *SearchNearObjectForbidden) IsRedirect() bool

IsRedirect returns true when this search near object forbidden response has a 3xx status code

func (*SearchNearObjectForbidden) IsServerError added in v1.38.10

func (o *SearchNearObjectForbidden) IsServerError() bool

IsServerError returns true when this search near object forbidden response has a 5xx status code

func (*SearchNearObjectForbidden) IsSuccess added in v1.38.10

func (o *SearchNearObjectForbidden) IsSuccess() bool

IsSuccess returns true when this search near object forbidden response has a 2xx status code

func (*SearchNearObjectForbidden) String added in v1.38.10

func (o *SearchNearObjectForbidden) String() string

type SearchNearObjectInternalServerError added in v1.38.10

type SearchNearObjectInternalServerError struct {
	Payload *models.ErrorResponse
}

SearchNearObjectInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewSearchNearObjectInternalServerError added in v1.38.10

func NewSearchNearObjectInternalServerError() *SearchNearObjectInternalServerError

NewSearchNearObjectInternalServerError creates a SearchNearObjectInternalServerError with default headers values

func (*SearchNearObjectInternalServerError) Code added in v1.38.10

Code gets the status code for the search near object internal server error response

func (*SearchNearObjectInternalServerError) Error added in v1.38.10

func (*SearchNearObjectInternalServerError) GetPayload added in v1.38.10

func (*SearchNearObjectInternalServerError) IsClientError added in v1.38.10

func (o *SearchNearObjectInternalServerError) IsClientError() bool

IsClientError returns true when this search near object internal server error response has a 4xx status code

func (*SearchNearObjectInternalServerError) IsCode added in v1.38.10

IsCode returns true when this search near object internal server error response a status code equal to that given

func (*SearchNearObjectInternalServerError) IsRedirect added in v1.38.10

func (o *SearchNearObjectInternalServerError) IsRedirect() bool

IsRedirect returns true when this search near object internal server error response has a 3xx status code

func (*SearchNearObjectInternalServerError) IsServerError added in v1.38.10

func (o *SearchNearObjectInternalServerError) IsServerError() bool

IsServerError returns true when this search near object internal server error response has a 5xx status code

func (*SearchNearObjectInternalServerError) IsSuccess added in v1.38.10

IsSuccess returns true when this search near object internal server error response has a 2xx status code

func (*SearchNearObjectInternalServerError) String added in v1.38.10

type SearchNearObjectNotFound added in v1.38.10

type SearchNearObjectNotFound struct {
	Payload *models.ErrorResponse
}

SearchNearObjectNotFound describes a response with status code 404, with default header values.

Unknown collection or tenant.

func NewSearchNearObjectNotFound added in v1.38.10

func NewSearchNearObjectNotFound() *SearchNearObjectNotFound

NewSearchNearObjectNotFound creates a SearchNearObjectNotFound with default headers values

func (*SearchNearObjectNotFound) Code added in v1.38.10

func (o *SearchNearObjectNotFound) Code() int

Code gets the status code for the search near object not found response

func (*SearchNearObjectNotFound) Error added in v1.38.10

func (o *SearchNearObjectNotFound) Error() string

func (*SearchNearObjectNotFound) GetPayload added in v1.38.10

func (*SearchNearObjectNotFound) IsClientError added in v1.38.10

func (o *SearchNearObjectNotFound) IsClientError() bool

IsClientError returns true when this search near object not found response has a 4xx status code

func (*SearchNearObjectNotFound) IsCode added in v1.38.10

func (o *SearchNearObjectNotFound) IsCode(code int) bool

IsCode returns true when this search near object not found response a status code equal to that given

func (*SearchNearObjectNotFound) IsRedirect added in v1.38.10

func (o *SearchNearObjectNotFound) IsRedirect() bool

IsRedirect returns true when this search near object not found response has a 3xx status code

func (*SearchNearObjectNotFound) IsServerError added in v1.38.10

func (o *SearchNearObjectNotFound) IsServerError() bool

IsServerError returns true when this search near object not found response has a 5xx status code

func (*SearchNearObjectNotFound) IsSuccess added in v1.38.10

func (o *SearchNearObjectNotFound) IsSuccess() bool

IsSuccess returns true when this search near object not found response has a 2xx status code

func (*SearchNearObjectNotFound) String added in v1.38.10

func (o *SearchNearObjectNotFound) String() string

type SearchNearObjectOK added in v1.38.10

type SearchNearObjectOK struct {
	Payload *models.SearchResponse
}

SearchNearObjectOK describes a response with status code 200, with default header values.

Search performed successfully.

func NewSearchNearObjectOK added in v1.38.10

func NewSearchNearObjectOK() *SearchNearObjectOK

NewSearchNearObjectOK creates a SearchNearObjectOK with default headers values

func (*SearchNearObjectOK) Code added in v1.38.10

func (o *SearchNearObjectOK) Code() int

Code gets the status code for the search near object o k response

func (*SearchNearObjectOK) Error added in v1.38.10

func (o *SearchNearObjectOK) Error() string

func (*SearchNearObjectOK) GetPayload added in v1.38.10

func (o *SearchNearObjectOK) GetPayload() *models.SearchResponse

func (*SearchNearObjectOK) IsClientError added in v1.38.10

func (o *SearchNearObjectOK) IsClientError() bool

IsClientError returns true when this search near object o k response has a 4xx status code

func (*SearchNearObjectOK) IsCode added in v1.38.10

func (o *SearchNearObjectOK) IsCode(code int) bool

IsCode returns true when this search near object o k response a status code equal to that given

func (*SearchNearObjectOK) IsRedirect added in v1.38.10

func (o *SearchNearObjectOK) IsRedirect() bool

IsRedirect returns true when this search near object o k response has a 3xx status code

func (*SearchNearObjectOK) IsServerError added in v1.38.10

func (o *SearchNearObjectOK) IsServerError() bool

IsServerError returns true when this search near object o k response has a 5xx status code

func (*SearchNearObjectOK) IsSuccess added in v1.38.10

func (o *SearchNearObjectOK) IsSuccess() bool

IsSuccess returns true when this search near object o k response has a 2xx status code

func (*SearchNearObjectOK) String added in v1.38.10

func (o *SearchNearObjectOK) String() string

type SearchNearObjectParams added in v1.38.10

type SearchNearObjectParams struct {

	/* Body.

	   The near-object search request.
	*/
	Body *models.SearchNearObjectRequest

	/* Collection.

	   The name (or alias) of the collection to search. A lowercase first letter is normalized to the canonical uppercase form.
	*/
	Collection string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SearchNearObjectParams contains all the parameters to send to the API endpoint

for the search near object operation.

Typically these are written to a http.Request.

func NewSearchNearObjectParams added in v1.38.10

func NewSearchNearObjectParams() *SearchNearObjectParams

NewSearchNearObjectParams creates a new SearchNearObjectParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSearchNearObjectParamsWithContext added in v1.38.10

func NewSearchNearObjectParamsWithContext(ctx context.Context) *SearchNearObjectParams

NewSearchNearObjectParamsWithContext creates a new SearchNearObjectParams object with the ability to set a context for a request.

func NewSearchNearObjectParamsWithHTTPClient added in v1.38.10

func NewSearchNearObjectParamsWithHTTPClient(client *http.Client) *SearchNearObjectParams

NewSearchNearObjectParamsWithHTTPClient creates a new SearchNearObjectParams object with the ability to set a custom HTTPClient for a request.

func NewSearchNearObjectParamsWithTimeout added in v1.38.10

func NewSearchNearObjectParamsWithTimeout(timeout time.Duration) *SearchNearObjectParams

NewSearchNearObjectParamsWithTimeout creates a new SearchNearObjectParams object with the ability to set a timeout on a request.

func (*SearchNearObjectParams) SetBody added in v1.38.10

SetBody adds the body to the search near object params

func (*SearchNearObjectParams) SetCollection added in v1.38.10

func (o *SearchNearObjectParams) SetCollection(collection string)

SetCollection adds the collection to the search near object params

func (*SearchNearObjectParams) SetContext added in v1.38.10

func (o *SearchNearObjectParams) SetContext(ctx context.Context)

SetContext adds the context to the search near object params

func (*SearchNearObjectParams) SetDefaults added in v1.38.10

func (o *SearchNearObjectParams) SetDefaults()

SetDefaults hydrates default values in the search near object params (not the query body).

All values with no default are reset to their zero value.

func (*SearchNearObjectParams) SetHTTPClient added in v1.38.10

func (o *SearchNearObjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the search near object params

func (*SearchNearObjectParams) SetTimeout added in v1.38.10

func (o *SearchNearObjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search near object params

func (*SearchNearObjectParams) WithBody added in v1.38.10

WithBody adds the body to the search near object params

func (*SearchNearObjectParams) WithCollection added in v1.38.10

func (o *SearchNearObjectParams) WithCollection(collection string) *SearchNearObjectParams

WithCollection adds the collection to the search near object params

func (*SearchNearObjectParams) WithContext added in v1.38.10

WithContext adds the context to the search near object params

func (*SearchNearObjectParams) WithDefaults added in v1.38.10

WithDefaults hydrates default values in the search near object params (not the query body).

All values with no default are reset to their zero value.

func (*SearchNearObjectParams) WithHTTPClient added in v1.38.10

func (o *SearchNearObjectParams) WithHTTPClient(client *http.Client) *SearchNearObjectParams

WithHTTPClient adds the HTTPClient to the search near object params

func (*SearchNearObjectParams) WithTimeout added in v1.38.10

WithTimeout adds the timeout to the search near object params

func (*SearchNearObjectParams) WriteToRequest added in v1.38.10

WriteToRequest writes these params to a swagger request

type SearchNearObjectReader added in v1.38.10

type SearchNearObjectReader struct {
	// contains filtered or unexported fields
}

SearchNearObjectReader is a Reader for the SearchNearObject structure.

func (*SearchNearObjectReader) ReadResponse added in v1.38.10

func (o *SearchNearObjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SearchNearObjectServiceUnavailable added in v1.38.10

type SearchNearObjectServiceUnavailable struct {
	Payload *models.ErrorResponse
}

SearchNearObjectServiceUnavailable describes a response with status code 503, with default header values.

The server is in an operational mode that blocks searches (e.g. WRITE_ONLY); retry once the server returns to normal operation.

func NewSearchNearObjectServiceUnavailable added in v1.38.10

func NewSearchNearObjectServiceUnavailable() *SearchNearObjectServiceUnavailable

NewSearchNearObjectServiceUnavailable creates a SearchNearObjectServiceUnavailable with default headers values

func (*SearchNearObjectServiceUnavailable) Code added in v1.38.10

Code gets the status code for the search near object service unavailable response

func (*SearchNearObjectServiceUnavailable) Error added in v1.38.10

func (*SearchNearObjectServiceUnavailable) GetPayload added in v1.38.10

func (*SearchNearObjectServiceUnavailable) IsClientError added in v1.38.10

func (o *SearchNearObjectServiceUnavailable) IsClientError() bool

IsClientError returns true when this search near object service unavailable response has a 4xx status code

func (*SearchNearObjectServiceUnavailable) IsCode added in v1.38.10

IsCode returns true when this search near object service unavailable response a status code equal to that given

func (*SearchNearObjectServiceUnavailable) IsRedirect added in v1.38.10

func (o *SearchNearObjectServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this search near object service unavailable response has a 3xx status code

func (*SearchNearObjectServiceUnavailable) IsServerError added in v1.38.10

func (o *SearchNearObjectServiceUnavailable) IsServerError() bool

IsServerError returns true when this search near object service unavailable response has a 5xx status code

func (*SearchNearObjectServiceUnavailable) IsSuccess added in v1.38.10

IsSuccess returns true when this search near object service unavailable response has a 2xx status code

func (*SearchNearObjectServiceUnavailable) String added in v1.38.10

type SearchNearObjectTooManyRequests added in v1.38.10

type SearchNearObjectTooManyRequests struct {
	Payload *models.ErrorResponse
}

SearchNearObjectTooManyRequests describes a response with status code 429, with default header values.

The server's query rate limit was reached; retry later.

func NewSearchNearObjectTooManyRequests added in v1.38.10

func NewSearchNearObjectTooManyRequests() *SearchNearObjectTooManyRequests

NewSearchNearObjectTooManyRequests creates a SearchNearObjectTooManyRequests with default headers values

func (*SearchNearObjectTooManyRequests) Code added in v1.38.10

Code gets the status code for the search near object too many requests response

func (*SearchNearObjectTooManyRequests) Error added in v1.38.10

func (*SearchNearObjectTooManyRequests) GetPayload added in v1.38.10

func (*SearchNearObjectTooManyRequests) IsClientError added in v1.38.10

func (o *SearchNearObjectTooManyRequests) IsClientError() bool

IsClientError returns true when this search near object too many requests response has a 4xx status code

func (*SearchNearObjectTooManyRequests) IsCode added in v1.38.10

func (o *SearchNearObjectTooManyRequests) IsCode(code int) bool

IsCode returns true when this search near object too many requests response a status code equal to that given

func (*SearchNearObjectTooManyRequests) IsRedirect added in v1.38.10

func (o *SearchNearObjectTooManyRequests) IsRedirect() bool

IsRedirect returns true when this search near object too many requests response has a 3xx status code

func (*SearchNearObjectTooManyRequests) IsServerError added in v1.38.10

func (o *SearchNearObjectTooManyRequests) IsServerError() bool

IsServerError returns true when this search near object too many requests response has a 5xx status code

func (*SearchNearObjectTooManyRequests) IsSuccess added in v1.38.10

func (o *SearchNearObjectTooManyRequests) IsSuccess() bool

IsSuccess returns true when this search near object too many requests response has a 2xx status code

func (*SearchNearObjectTooManyRequests) String added in v1.38.10

type SearchNearObjectUnauthorized added in v1.38.10

type SearchNearObjectUnauthorized struct {
	Payload *models.ErrorResponse
}

SearchNearObjectUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewSearchNearObjectUnauthorized added in v1.38.10

func NewSearchNearObjectUnauthorized() *SearchNearObjectUnauthorized

NewSearchNearObjectUnauthorized creates a SearchNearObjectUnauthorized with default headers values

func (*SearchNearObjectUnauthorized) Code added in v1.38.10

Code gets the status code for the search near object unauthorized response

func (*SearchNearObjectUnauthorized) Error added in v1.38.10

func (*SearchNearObjectUnauthorized) GetPayload added in v1.38.10

func (*SearchNearObjectUnauthorized) IsClientError added in v1.38.10

func (o *SearchNearObjectUnauthorized) IsClientError() bool

IsClientError returns true when this search near object unauthorized response has a 4xx status code

func (*SearchNearObjectUnauthorized) IsCode added in v1.38.10

func (o *SearchNearObjectUnauthorized) IsCode(code int) bool

IsCode returns true when this search near object unauthorized response a status code equal to that given

func (*SearchNearObjectUnauthorized) IsRedirect added in v1.38.10

func (o *SearchNearObjectUnauthorized) IsRedirect() bool

IsRedirect returns true when this search near object unauthorized response has a 3xx status code

func (*SearchNearObjectUnauthorized) IsServerError added in v1.38.10

func (o *SearchNearObjectUnauthorized) IsServerError() bool

IsServerError returns true when this search near object unauthorized response has a 5xx status code

func (*SearchNearObjectUnauthorized) IsSuccess added in v1.38.10

func (o *SearchNearObjectUnauthorized) IsSuccess() bool

IsSuccess returns true when this search near object unauthorized response has a 2xx status code

func (*SearchNearObjectUnauthorized) String added in v1.38.10

type SearchNearObjectUnprocessableEntity added in v1.38.10

type SearchNearObjectUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

SearchNearObjectUnprocessableEntity describes a response with status code 422, with default header values.

Either a request-schema violation (a missing, null or structurally invalid required `id`, or an invalid enum value), or a well-formed request that cannot run: the source object has no stored vector for the (target) vector searched, targetVector is missing on a multi-named-vector collection, certainty is used on a non-cosine index, a reserved (not yet supported) parameter is present, the tenant usage does not match the collection's multi-tenancy configuration, a where filter targets a property whose inverted index is disabled, or the experimental REST Search API is not enabled (set EXPERIMENTAL_REST_SEARCH_ENABLED=true).

func NewSearchNearObjectUnprocessableEntity added in v1.38.10

func NewSearchNearObjectUnprocessableEntity() *SearchNearObjectUnprocessableEntity

NewSearchNearObjectUnprocessableEntity creates a SearchNearObjectUnprocessableEntity with default headers values

func (*SearchNearObjectUnprocessableEntity) Code added in v1.38.10

Code gets the status code for the search near object unprocessable entity response

func (*SearchNearObjectUnprocessableEntity) Error added in v1.38.10

func (*SearchNearObjectUnprocessableEntity) GetPayload added in v1.38.10

func (*SearchNearObjectUnprocessableEntity) IsClientError added in v1.38.10

func (o *SearchNearObjectUnprocessableEntity) IsClientError() bool

IsClientError returns true when this search near object unprocessable entity response has a 4xx status code

func (*SearchNearObjectUnprocessableEntity) IsCode added in v1.38.10

IsCode returns true when this search near object unprocessable entity response a status code equal to that given

func (*SearchNearObjectUnprocessableEntity) IsRedirect added in v1.38.10

func (o *SearchNearObjectUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this search near object unprocessable entity response has a 3xx status code

func (*SearchNearObjectUnprocessableEntity) IsServerError added in v1.38.10

func (o *SearchNearObjectUnprocessableEntity) IsServerError() bool

IsServerError returns true when this search near object unprocessable entity response has a 5xx status code

func (*SearchNearObjectUnprocessableEntity) IsSuccess added in v1.38.10

IsSuccess returns true when this search near object unprocessable entity response has a 2xx status code

func (*SearchNearObjectUnprocessableEntity) String added in v1.38.10

type SearchNearTextBadGateway

type SearchNearTextBadGateway struct {
	Payload *models.ErrorResponse
}

SearchNearTextBadGateway describes a response with status code 502, with default header values.

The embedding provider failed to vectorize the query; the search cannot run.

func NewSearchNearTextBadGateway

func NewSearchNearTextBadGateway() *SearchNearTextBadGateway

NewSearchNearTextBadGateway creates a SearchNearTextBadGateway with default headers values

func (*SearchNearTextBadGateway) Code

func (o *SearchNearTextBadGateway) Code() int

Code gets the status code for the search near text bad gateway response

func (*SearchNearTextBadGateway) Error

func (o *SearchNearTextBadGateway) Error() string

func (*SearchNearTextBadGateway) GetPayload

func (*SearchNearTextBadGateway) IsClientError

func (o *SearchNearTextBadGateway) IsClientError() bool

IsClientError returns true when this search near text bad gateway response has a 4xx status code

func (*SearchNearTextBadGateway) IsCode

func (o *SearchNearTextBadGateway) IsCode(code int) bool

IsCode returns true when this search near text bad gateway response a status code equal to that given

func (*SearchNearTextBadGateway) IsRedirect

func (o *SearchNearTextBadGateway) IsRedirect() bool

IsRedirect returns true when this search near text bad gateway response has a 3xx status code

func (*SearchNearTextBadGateway) IsServerError

func (o *SearchNearTextBadGateway) IsServerError() bool

IsServerError returns true when this search near text bad gateway response has a 5xx status code

func (*SearchNearTextBadGateway) IsSuccess

func (o *SearchNearTextBadGateway) IsSuccess() bool

IsSuccess returns true when this search near text bad gateway response has a 2xx status code

func (*SearchNearTextBadGateway) String

func (o *SearchNearTextBadGateway) String() string

type SearchNearTextBadRequest

type SearchNearTextBadRequest struct {
	Payload *models.ErrorResponse
}

SearchNearTextBadRequest describes a response with status code 400, with default header values.

An invalid parameter value (e.g. empty query, negative paging, unknown property) or an unparseable request body.

func NewSearchNearTextBadRequest

func NewSearchNearTextBadRequest() *SearchNearTextBadRequest

NewSearchNearTextBadRequest creates a SearchNearTextBadRequest with default headers values

func (*SearchNearTextBadRequest) Code

func (o *SearchNearTextBadRequest) Code() int

Code gets the status code for the search near text bad request response

func (*SearchNearTextBadRequest) Error

func (o *SearchNearTextBadRequest) Error() string

func (*SearchNearTextBadRequest) GetPayload

func (*SearchNearTextBadRequest) IsClientError

func (o *SearchNearTextBadRequest) IsClientError() bool

IsClientError returns true when this search near text bad request response has a 4xx status code

func (*SearchNearTextBadRequest) IsCode

func (o *SearchNearTextBadRequest) IsCode(code int) bool

IsCode returns true when this search near text bad request response a status code equal to that given

func (*SearchNearTextBadRequest) IsRedirect

func (o *SearchNearTextBadRequest) IsRedirect() bool

IsRedirect returns true when this search near text bad request response has a 3xx status code

func (*SearchNearTextBadRequest) IsServerError

func (o *SearchNearTextBadRequest) IsServerError() bool

IsServerError returns true when this search near text bad request response has a 5xx status code

func (*SearchNearTextBadRequest) IsSuccess

func (o *SearchNearTextBadRequest) IsSuccess() bool

IsSuccess returns true when this search near text bad request response has a 2xx status code

func (*SearchNearTextBadRequest) String

func (o *SearchNearTextBadRequest) String() string

type SearchNearTextForbidden

type SearchNearTextForbidden struct {
	Payload *models.ErrorResponse
}

SearchNearTextForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSearchNearTextForbidden

func NewSearchNearTextForbidden() *SearchNearTextForbidden

NewSearchNearTextForbidden creates a SearchNearTextForbidden with default headers values

func (*SearchNearTextForbidden) Code

func (o *SearchNearTextForbidden) Code() int

Code gets the status code for the search near text forbidden response

func (*SearchNearTextForbidden) Error

func (o *SearchNearTextForbidden) Error() string

func (*SearchNearTextForbidden) GetPayload

func (o *SearchNearTextForbidden) GetPayload() *models.ErrorResponse

func (*SearchNearTextForbidden) IsClientError

func (o *SearchNearTextForbidden) IsClientError() bool

IsClientError returns true when this search near text forbidden response has a 4xx status code

func (*SearchNearTextForbidden) IsCode

func (o *SearchNearTextForbidden) IsCode(code int) bool

IsCode returns true when this search near text forbidden response a status code equal to that given

func (*SearchNearTextForbidden) IsRedirect

func (o *SearchNearTextForbidden) IsRedirect() bool

IsRedirect returns true when this search near text forbidden response has a 3xx status code

func (*SearchNearTextForbidden) IsServerError

func (o *SearchNearTextForbidden) IsServerError() bool

IsServerError returns true when this search near text forbidden response has a 5xx status code

func (*SearchNearTextForbidden) IsSuccess

func (o *SearchNearTextForbidden) IsSuccess() bool

IsSuccess returns true when this search near text forbidden response has a 2xx status code

func (*SearchNearTextForbidden) String

func (o *SearchNearTextForbidden) String() string

type SearchNearTextInternalServerError

type SearchNearTextInternalServerError struct {
	Payload *models.ErrorResponse
}

SearchNearTextInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewSearchNearTextInternalServerError

func NewSearchNearTextInternalServerError() *SearchNearTextInternalServerError

NewSearchNearTextInternalServerError creates a SearchNearTextInternalServerError with default headers values

func (*SearchNearTextInternalServerError) Code

Code gets the status code for the search near text internal server error response

func (*SearchNearTextInternalServerError) Error

func (*SearchNearTextInternalServerError) GetPayload

func (*SearchNearTextInternalServerError) IsClientError

func (o *SearchNearTextInternalServerError) IsClientError() bool

IsClientError returns true when this search near text internal server error response has a 4xx status code

func (*SearchNearTextInternalServerError) IsCode

func (o *SearchNearTextInternalServerError) IsCode(code int) bool

IsCode returns true when this search near text internal server error response a status code equal to that given

func (*SearchNearTextInternalServerError) IsRedirect

func (o *SearchNearTextInternalServerError) IsRedirect() bool

IsRedirect returns true when this search near text internal server error response has a 3xx status code

func (*SearchNearTextInternalServerError) IsServerError

func (o *SearchNearTextInternalServerError) IsServerError() bool

IsServerError returns true when this search near text internal server error response has a 5xx status code

func (*SearchNearTextInternalServerError) IsSuccess

func (o *SearchNearTextInternalServerError) IsSuccess() bool

IsSuccess returns true when this search near text internal server error response has a 2xx status code

func (*SearchNearTextInternalServerError) String

type SearchNearTextNotFound

type SearchNearTextNotFound struct {
	Payload *models.ErrorResponse
}

SearchNearTextNotFound describes a response with status code 404, with default header values.

Unknown collection or tenant.

func NewSearchNearTextNotFound

func NewSearchNearTextNotFound() *SearchNearTextNotFound

NewSearchNearTextNotFound creates a SearchNearTextNotFound with default headers values

func (*SearchNearTextNotFound) Code

func (o *SearchNearTextNotFound) Code() int

Code gets the status code for the search near text not found response

func (*SearchNearTextNotFound) Error

func (o *SearchNearTextNotFound) Error() string

func (*SearchNearTextNotFound) GetPayload

func (o *SearchNearTextNotFound) GetPayload() *models.ErrorResponse

func (*SearchNearTextNotFound) IsClientError

func (o *SearchNearTextNotFound) IsClientError() bool

IsClientError returns true when this search near text not found response has a 4xx status code

func (*SearchNearTextNotFound) IsCode

func (o *SearchNearTextNotFound) IsCode(code int) bool

IsCode returns true when this search near text not found response a status code equal to that given

func (*SearchNearTextNotFound) IsRedirect

func (o *SearchNearTextNotFound) IsRedirect() bool

IsRedirect returns true when this search near text not found response has a 3xx status code

func (*SearchNearTextNotFound) IsServerError

func (o *SearchNearTextNotFound) IsServerError() bool

IsServerError returns true when this search near text not found response has a 5xx status code

func (*SearchNearTextNotFound) IsSuccess

func (o *SearchNearTextNotFound) IsSuccess() bool

IsSuccess returns true when this search near text not found response has a 2xx status code

func (*SearchNearTextNotFound) String

func (o *SearchNearTextNotFound) String() string

type SearchNearTextOK

type SearchNearTextOK struct {
	Payload *models.SearchResponse
}

SearchNearTextOK describes a response with status code 200, with default header values.

Search performed successfully.

func NewSearchNearTextOK

func NewSearchNearTextOK() *SearchNearTextOK

NewSearchNearTextOK creates a SearchNearTextOK with default headers values

func (*SearchNearTextOK) Code

func (o *SearchNearTextOK) Code() int

Code gets the status code for the search near text o k response

func (*SearchNearTextOK) Error

func (o *SearchNearTextOK) Error() string

func (*SearchNearTextOK) GetPayload

func (o *SearchNearTextOK) GetPayload() *models.SearchResponse

func (*SearchNearTextOK) IsClientError

func (o *SearchNearTextOK) IsClientError() bool

IsClientError returns true when this search near text o k response has a 4xx status code

func (*SearchNearTextOK) IsCode

func (o *SearchNearTextOK) IsCode(code int) bool

IsCode returns true when this search near text o k response a status code equal to that given

func (*SearchNearTextOK) IsRedirect

func (o *SearchNearTextOK) IsRedirect() bool

IsRedirect returns true when this search near text o k response has a 3xx status code

func (*SearchNearTextOK) IsServerError

func (o *SearchNearTextOK) IsServerError() bool

IsServerError returns true when this search near text o k response has a 5xx status code

func (*SearchNearTextOK) IsSuccess

func (o *SearchNearTextOK) IsSuccess() bool

IsSuccess returns true when this search near text o k response has a 2xx status code

func (*SearchNearTextOK) String

func (o *SearchNearTextOK) String() string

type SearchNearTextParams

type SearchNearTextParams struct {

	/* Body.

	   The near-text search request.
	*/
	Body *models.SearchNearTextRequest

	/* Collection.

	   The name (or alias) of the collection to search. A lowercase first letter is normalized to the canonical uppercase form.
	*/
	Collection string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SearchNearTextParams contains all the parameters to send to the API endpoint

for the search near text operation.

Typically these are written to a http.Request.

func NewSearchNearTextParams

func NewSearchNearTextParams() *SearchNearTextParams

NewSearchNearTextParams creates a new SearchNearTextParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSearchNearTextParamsWithContext

func NewSearchNearTextParamsWithContext(ctx context.Context) *SearchNearTextParams

NewSearchNearTextParamsWithContext creates a new SearchNearTextParams object with the ability to set a context for a request.

func NewSearchNearTextParamsWithHTTPClient

func NewSearchNearTextParamsWithHTTPClient(client *http.Client) *SearchNearTextParams

NewSearchNearTextParamsWithHTTPClient creates a new SearchNearTextParams object with the ability to set a custom HTTPClient for a request.

func NewSearchNearTextParamsWithTimeout

func NewSearchNearTextParamsWithTimeout(timeout time.Duration) *SearchNearTextParams

NewSearchNearTextParamsWithTimeout creates a new SearchNearTextParams object with the ability to set a timeout on a request.

func (*SearchNearTextParams) SetBody

SetBody adds the body to the search near text params

func (*SearchNearTextParams) SetCollection

func (o *SearchNearTextParams) SetCollection(collection string)

SetCollection adds the collection to the search near text params

func (*SearchNearTextParams) SetContext

func (o *SearchNearTextParams) SetContext(ctx context.Context)

SetContext adds the context to the search near text params

func (*SearchNearTextParams) SetDefaults

func (o *SearchNearTextParams) SetDefaults()

SetDefaults hydrates default values in the search near text params (not the query body).

All values with no default are reset to their zero value.

func (*SearchNearTextParams) SetHTTPClient

func (o *SearchNearTextParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the search near text params

func (*SearchNearTextParams) SetTimeout

func (o *SearchNearTextParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search near text params

func (*SearchNearTextParams) WithBody

WithBody adds the body to the search near text params

func (*SearchNearTextParams) WithCollection

func (o *SearchNearTextParams) WithCollection(collection string) *SearchNearTextParams

WithCollection adds the collection to the search near text params

func (*SearchNearTextParams) WithContext

WithContext adds the context to the search near text params

func (*SearchNearTextParams) WithDefaults

func (o *SearchNearTextParams) WithDefaults() *SearchNearTextParams

WithDefaults hydrates default values in the search near text params (not the query body).

All values with no default are reset to their zero value.

func (*SearchNearTextParams) WithHTTPClient

func (o *SearchNearTextParams) WithHTTPClient(client *http.Client) *SearchNearTextParams

WithHTTPClient adds the HTTPClient to the search near text params

func (*SearchNearTextParams) WithTimeout

func (o *SearchNearTextParams) WithTimeout(timeout time.Duration) *SearchNearTextParams

WithTimeout adds the timeout to the search near text params

func (*SearchNearTextParams) WriteToRequest

func (o *SearchNearTextParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SearchNearTextReader

type SearchNearTextReader struct {
	// contains filtered or unexported fields
}

SearchNearTextReader is a Reader for the SearchNearText structure.

func (*SearchNearTextReader) ReadResponse

func (o *SearchNearTextReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SearchNearTextServiceUnavailable

type SearchNearTextServiceUnavailable struct {
	Payload *models.ErrorResponse
}

SearchNearTextServiceUnavailable describes a response with status code 503, with default header values.

The server is in an operational mode that blocks searches (e.g. WRITE_ONLY); retry once the server returns to normal operation.

func NewSearchNearTextServiceUnavailable

func NewSearchNearTextServiceUnavailable() *SearchNearTextServiceUnavailable

NewSearchNearTextServiceUnavailable creates a SearchNearTextServiceUnavailable with default headers values

func (*SearchNearTextServiceUnavailable) Code

Code gets the status code for the search near text service unavailable response

func (*SearchNearTextServiceUnavailable) Error

func (*SearchNearTextServiceUnavailable) GetPayload

func (*SearchNearTextServiceUnavailable) IsClientError

func (o *SearchNearTextServiceUnavailable) IsClientError() bool

IsClientError returns true when this search near text service unavailable response has a 4xx status code

func (*SearchNearTextServiceUnavailable) IsCode

func (o *SearchNearTextServiceUnavailable) IsCode(code int) bool

IsCode returns true when this search near text service unavailable response a status code equal to that given

func (*SearchNearTextServiceUnavailable) IsRedirect

func (o *SearchNearTextServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this search near text service unavailable response has a 3xx status code

func (*SearchNearTextServiceUnavailable) IsServerError

func (o *SearchNearTextServiceUnavailable) IsServerError() bool

IsServerError returns true when this search near text service unavailable response has a 5xx status code

func (*SearchNearTextServiceUnavailable) IsSuccess

func (o *SearchNearTextServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this search near text service unavailable response has a 2xx status code

func (*SearchNearTextServiceUnavailable) String

type SearchNearTextTooManyRequests

type SearchNearTextTooManyRequests struct {
	Payload *models.ErrorResponse
}

SearchNearTextTooManyRequests describes a response with status code 429, with default header values.

The server's query rate limit was reached; retry later.

func NewSearchNearTextTooManyRequests

func NewSearchNearTextTooManyRequests() *SearchNearTextTooManyRequests

NewSearchNearTextTooManyRequests creates a SearchNearTextTooManyRequests with default headers values

func (*SearchNearTextTooManyRequests) Code

Code gets the status code for the search near text too many requests response

func (*SearchNearTextTooManyRequests) Error

func (*SearchNearTextTooManyRequests) GetPayload

func (*SearchNearTextTooManyRequests) IsClientError

func (o *SearchNearTextTooManyRequests) IsClientError() bool

IsClientError returns true when this search near text too many requests response has a 4xx status code

func (*SearchNearTextTooManyRequests) IsCode

func (o *SearchNearTextTooManyRequests) IsCode(code int) bool

IsCode returns true when this search near text too many requests response a status code equal to that given

func (*SearchNearTextTooManyRequests) IsRedirect

func (o *SearchNearTextTooManyRequests) IsRedirect() bool

IsRedirect returns true when this search near text too many requests response has a 3xx status code

func (*SearchNearTextTooManyRequests) IsServerError

func (o *SearchNearTextTooManyRequests) IsServerError() bool

IsServerError returns true when this search near text too many requests response has a 5xx status code

func (*SearchNearTextTooManyRequests) IsSuccess

func (o *SearchNearTextTooManyRequests) IsSuccess() bool

IsSuccess returns true when this search near text too many requests response has a 2xx status code

func (*SearchNearTextTooManyRequests) String

type SearchNearTextUnauthorized

type SearchNearTextUnauthorized struct {
	Payload *models.ErrorResponse
}

SearchNearTextUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewSearchNearTextUnauthorized

func NewSearchNearTextUnauthorized() *SearchNearTextUnauthorized

NewSearchNearTextUnauthorized creates a SearchNearTextUnauthorized with default headers values

func (*SearchNearTextUnauthorized) Code

func (o *SearchNearTextUnauthorized) Code() int

Code gets the status code for the search near text unauthorized response

func (*SearchNearTextUnauthorized) Error

func (*SearchNearTextUnauthorized) GetPayload

func (*SearchNearTextUnauthorized) IsClientError

func (o *SearchNearTextUnauthorized) IsClientError() bool

IsClientError returns true when this search near text unauthorized response has a 4xx status code

func (*SearchNearTextUnauthorized) IsCode

func (o *SearchNearTextUnauthorized) IsCode(code int) bool

IsCode returns true when this search near text unauthorized response a status code equal to that given

func (*SearchNearTextUnauthorized) IsRedirect

func (o *SearchNearTextUnauthorized) IsRedirect() bool

IsRedirect returns true when this search near text unauthorized response has a 3xx status code

func (*SearchNearTextUnauthorized) IsServerError

func (o *SearchNearTextUnauthorized) IsServerError() bool

IsServerError returns true when this search near text unauthorized response has a 5xx status code

func (*SearchNearTextUnauthorized) IsSuccess

func (o *SearchNearTextUnauthorized) IsSuccess() bool

IsSuccess returns true when this search near text unauthorized response has a 2xx status code

func (*SearchNearTextUnauthorized) String

func (o *SearchNearTextUnauthorized) String() string

type SearchNearTextUnprocessableEntity

type SearchNearTextUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

SearchNearTextUnprocessableEntity describes a response with status code 422, with default header values.

Either a request-schema violation (a missing required field such as `query`, or an invalid enum value), or a well-formed request that cannot run: no vectorizer module is configured for the collection, targetVector is missing on a multi-named-vector collection, certainty is used on a non-cosine index, a reserved (not yet supported) parameter is present, the tenant usage does not match the collection's multi-tenancy configuration, a where filter targets a property whose inverted index is disabled, or the experimental REST Search API is not enabled (set EXPERIMENTAL_REST_SEARCH_ENABLED=true).

func NewSearchNearTextUnprocessableEntity

func NewSearchNearTextUnprocessableEntity() *SearchNearTextUnprocessableEntity

NewSearchNearTextUnprocessableEntity creates a SearchNearTextUnprocessableEntity with default headers values

func (*SearchNearTextUnprocessableEntity) Code

Code gets the status code for the search near text unprocessable entity response

func (*SearchNearTextUnprocessableEntity) Error

func (*SearchNearTextUnprocessableEntity) GetPayload

func (*SearchNearTextUnprocessableEntity) IsClientError

func (o *SearchNearTextUnprocessableEntity) IsClientError() bool

IsClientError returns true when this search near text unprocessable entity response has a 4xx status code

func (*SearchNearTextUnprocessableEntity) IsCode

func (o *SearchNearTextUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this search near text unprocessable entity response a status code equal to that given

func (*SearchNearTextUnprocessableEntity) IsRedirect

func (o *SearchNearTextUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this search near text unprocessable entity response has a 3xx status code

func (*SearchNearTextUnprocessableEntity) IsServerError

func (o *SearchNearTextUnprocessableEntity) IsServerError() bool

IsServerError returns true when this search near text unprocessable entity response has a 5xx status code

func (*SearchNearTextUnprocessableEntity) IsSuccess

func (o *SearchNearTextUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this search near text unprocessable entity response has a 2xx status code

func (*SearchNearTextUnprocessableEntity) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL