Documentation ¶
Index ¶
- Constants
- type AdditionalProperties
- type BM25Config
- type BackupCreateRequest
- type BackupCreateResponse
- type BackupCreateStatusResponse
- type BackupRestoreRequest
- type BackupRestoreResponse
- type BackupRestoreStatusResponse
- type BatchDelete
- type BatchDeleteMatch
- type BatchDeleteResponse
- type BatchDeleteResponseMatch
- type BatchDeleteResponseResults
- type BatchDeleteResponseResultsObjectsItems0
- type BatchReference
- type BatchReferenceResponse
- func (m *BatchReferenceResponse) MarshalBinary() ([]byte, error)
- func (m BatchReferenceResponse) MarshalJSON() ([]byte, error)
- func (m *BatchReferenceResponse) UnmarshalBinary(b []byte) error
- func (m *BatchReferenceResponse) UnmarshalJSON(raw []byte) error
- func (m *BatchReferenceResponse) Validate(formats strfmt.Registry) error
- type BatchReferenceResponseAO1Result
- type C11yExtension
- type C11yNearestNeighbors
- type C11yNearestNeighborsItems0
- type C11yVector
- type C11yVectorBasedQuestion
- type C11yVectorBasedQuestionItems0
- type C11yVectorBasedQuestionItems0ClassPropsItems0
- type C11yWordsResponse
- type C11yWordsResponseConcatenatedWord
- type C11yWordsResponseIndividualWordsItems0
- type C11yWordsResponseIndividualWordsItems0Info
- type Class
- type Classification
- type ClassificationFilters
- type ClassificationMeta
- type Deprecation
- type ErrorResponse
- type ErrorResponseErrorItems0
- type GeoCoordinates
- type GraphQLError
- type GraphQLErrorLocationsItems0
- type GraphQLQueries
- type GraphQLQuery
- type GraphQLResponse
- type GraphQLResponses
- type InvertedIndexConfig
- type JSONObject
- type Link
- type Meta
- type MultipleRef
- type NodeShardStatus
- type NodeStats
- type NodeStatus
- type NodesStatusResponse
- type Object
- type ObjectsGetResponse
- func (m *ObjectsGetResponse) MarshalBinary() ([]byte, error)
- func (m ObjectsGetResponse) MarshalJSON() ([]byte, error)
- func (m *ObjectsGetResponse) UnmarshalBinary(b []byte) error
- func (m *ObjectsGetResponse) UnmarshalJSON(raw []byte) error
- func (m *ObjectsGetResponse) Validate(formats strfmt.Registry) error
- type ObjectsGetResponseAO2Result
- type ObjectsListResponse
- type PatchDocumentAction
- type PatchDocumentObject
- type PeerUpdate
- type PeerUpdateList
- type PhoneNumber
- type Principal
- type Property
- type PropertySchema
- type ReferenceMetaClassification
- type ReplicationConfig
- type Schema
- type SchemaHistory
- type ShardStatus
- type ShardStatusGetResponse
- type ShardStatusList
- type SingleRef
- type StopwordConfig
- type VectorWeights
- type WhereFilter
- type WhereFilterGeoRange
- type WhereFilterGeoRangeDistance
Constants ¶
const ( // BackupCreateResponseStatusSTARTED captures enum value "STARTED" BackupCreateResponseStatusSTARTED string = "STARTED" // BackupCreateResponseStatusTRANSFERRING captures enum value "TRANSFERRING" BackupCreateResponseStatusTRANSFERRING string = "TRANSFERRING" // BackupCreateResponseStatusTRANSFERRED captures enum value "TRANSFERRED" BackupCreateResponseStatusTRANSFERRED string = "TRANSFERRED" // BackupCreateResponseStatusSUCCESS captures enum value "SUCCESS" BackupCreateResponseStatusSUCCESS string = "SUCCESS" // BackupCreateResponseStatusFAILED captures enum value "FAILED" BackupCreateResponseStatusFAILED string = "FAILED" )
const ( // BackupCreateStatusResponseStatusSTARTED captures enum value "STARTED" BackupCreateStatusResponseStatusSTARTED string = "STARTED" // BackupCreateStatusResponseStatusTRANSFERRING captures enum value "TRANSFERRING" BackupCreateStatusResponseStatusTRANSFERRING string = "TRANSFERRING" // BackupCreateStatusResponseStatusTRANSFERRED captures enum value "TRANSFERRED" BackupCreateStatusResponseStatusTRANSFERRED string = "TRANSFERRED" // BackupCreateStatusResponseStatusSUCCESS captures enum value "SUCCESS" BackupCreateStatusResponseStatusSUCCESS string = "SUCCESS" // BackupCreateStatusResponseStatusFAILED captures enum value "FAILED" BackupCreateStatusResponseStatusFAILED string = "FAILED" )
const ( // BackupRestoreResponseStatusSTARTED captures enum value "STARTED" BackupRestoreResponseStatusSTARTED string = "STARTED" // BackupRestoreResponseStatusTRANSFERRING captures enum value "TRANSFERRING" BackupRestoreResponseStatusTRANSFERRING string = "TRANSFERRING" // BackupRestoreResponseStatusTRANSFERRED captures enum value "TRANSFERRED" BackupRestoreResponseStatusTRANSFERRED string = "TRANSFERRED" // BackupRestoreResponseStatusSUCCESS captures enum value "SUCCESS" BackupRestoreResponseStatusSUCCESS string = "SUCCESS" // BackupRestoreResponseStatusFAILED captures enum value "FAILED" BackupRestoreResponseStatusFAILED string = "FAILED" )
const ( // BackupRestoreStatusResponseStatusSTARTED captures enum value "STARTED" BackupRestoreStatusResponseStatusSTARTED string = "STARTED" // BackupRestoreStatusResponseStatusTRANSFERRING captures enum value "TRANSFERRING" BackupRestoreStatusResponseStatusTRANSFERRING string = "TRANSFERRING" // BackupRestoreStatusResponseStatusTRANSFERRED captures enum value "TRANSFERRED" BackupRestoreStatusResponseStatusTRANSFERRED string = "TRANSFERRED" // BackupRestoreStatusResponseStatusSUCCESS captures enum value "SUCCESS" BackupRestoreStatusResponseStatusSUCCESS string = "SUCCESS" // BackupRestoreStatusResponseStatusFAILED captures enum value "FAILED" BackupRestoreStatusResponseStatusFAILED string = "FAILED" )
const ( // BatchDeleteResponseResultsObjectsItems0StatusSUCCESS captures enum value "SUCCESS" BatchDeleteResponseResultsObjectsItems0StatusSUCCESS string = "SUCCESS" // BatchDeleteResponseResultsObjectsItems0StatusDRYRUN captures enum value "DRYRUN" BatchDeleteResponseResultsObjectsItems0StatusDRYRUN string = "DRYRUN" // BatchDeleteResponseResultsObjectsItems0StatusFAILED captures enum value "FAILED" BatchDeleteResponseResultsObjectsItems0StatusFAILED string = "FAILED" )
const ( // BatchReferenceResponseAO1ResultStatusSUCCESS captures enum value "SUCCESS" BatchReferenceResponseAO1ResultStatusSUCCESS string = "SUCCESS" // BatchReferenceResponseAO1ResultStatusPENDING captures enum value "PENDING" BatchReferenceResponseAO1ResultStatusPENDING string = "PENDING" // BatchReferenceResponseAO1ResultStatusFAILED captures enum value "FAILED" BatchReferenceResponseAO1ResultStatusFAILED string = "FAILED" )
const ( // ClassificationStatusRunning captures enum value "running" ClassificationStatusRunning string = "running" // ClassificationStatusCompleted captures enum value "completed" ClassificationStatusCompleted string = "completed" // ClassificationStatusFailed captures enum value "failed" ClassificationStatusFailed string = "failed" )
const ( // NodeStatusStatusHEALTHY captures enum value "HEALTHY" NodeStatusStatusHEALTHY string = "HEALTHY" // NodeStatusStatusUNHEALTHY captures enum value "UNHEALTHY" NodeStatusStatusUNHEALTHY string = "UNHEALTHY" // NodeStatusStatusUNAVAILABLE captures enum value "UNAVAILABLE" NodeStatusStatusUNAVAILABLE string = "UNAVAILABLE" )
const ( // ObjectsGetResponseAO2ResultStatusSUCCESS captures enum value "SUCCESS" ObjectsGetResponseAO2ResultStatusSUCCESS string = "SUCCESS" // ObjectsGetResponseAO2ResultStatusPENDING captures enum value "PENDING" ObjectsGetResponseAO2ResultStatusPENDING string = "PENDING" // ObjectsGetResponseAO2ResultStatusFAILED captures enum value "FAILED" ObjectsGetResponseAO2ResultStatusFAILED string = "FAILED" )
const ( // PatchDocumentActionOpAdd captures enum value "add" PatchDocumentActionOpAdd string = "add" // PatchDocumentActionOpRemove captures enum value "remove" PatchDocumentActionOpRemove string = "remove" // PatchDocumentActionOpReplace captures enum value "replace" PatchDocumentActionOpReplace string = "replace" // PatchDocumentActionOpMove captures enum value "move" PatchDocumentActionOpMove string = "move" // PatchDocumentActionOpCopy captures enum value "copy" PatchDocumentActionOpCopy string = "copy" // PatchDocumentActionOpTest captures enum value "test" PatchDocumentActionOpTest string = "test" )
const ( // PatchDocumentObjectOpAdd captures enum value "add" PatchDocumentObjectOpAdd string = "add" // PatchDocumentObjectOpRemove captures enum value "remove" PatchDocumentObjectOpRemove string = "remove" // PatchDocumentObjectOpReplace captures enum value "replace" PatchDocumentObjectOpReplace string = "replace" // PatchDocumentObjectOpMove captures enum value "move" PatchDocumentObjectOpMove string = "move" // PatchDocumentObjectOpCopy captures enum value "copy" PatchDocumentObjectOpCopy string = "copy" // PatchDocumentObjectOpTest captures enum value "test" PatchDocumentObjectOpTest string = "test" )
const ( // PropertyTokenizationWord captures enum value "word" PropertyTokenizationWord string = "word" // PropertyTokenizationField captures enum value "field" PropertyTokenizationField string = "field" )
const ( // WhereFilterOperatorAnd captures enum value "And" WhereFilterOperatorAnd string = "And" // WhereFilterOperatorOr captures enum value "Or" WhereFilterOperatorOr string = "Or" // WhereFilterOperatorEqual captures enum value "Equal" WhereFilterOperatorEqual string = "Equal" // WhereFilterOperatorLike captures enum value "Like" WhereFilterOperatorLike string = "Like" // WhereFilterOperatorNot captures enum value "Not" WhereFilterOperatorNot string = "Not" // WhereFilterOperatorNotEqual captures enum value "NotEqual" WhereFilterOperatorNotEqual string = "NotEqual" // WhereFilterOperatorGreaterThan captures enum value "GreaterThan" WhereFilterOperatorGreaterThan string = "GreaterThan" // WhereFilterOperatorGreaterThanEqual captures enum value "GreaterThanEqual" WhereFilterOperatorGreaterThanEqual string = "GreaterThanEqual" // WhereFilterOperatorLessThan captures enum value "LessThan" WhereFilterOperatorLessThan string = "LessThan" // WhereFilterOperatorLessThanEqual captures enum value "LessThanEqual" WhereFilterOperatorLessThanEqual string = "LessThanEqual" // WhereFilterOperatorWithinGeoRange captures enum value "WithinGeoRange" WhereFilterOperatorWithinGeoRange string = "WithinGeoRange" // WhereFilterOperatorIsNull captures enum value "IsNull" WhereFilterOperatorIsNull string = "IsNull" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalProperties ¶
type AdditionalProperties map[string]interface{}
AdditionalProperties Additional Meta information about a single object object.
swagger:model AdditionalProperties
type BM25Config ¶
type BM25Config struct { // calibrates term-weight scaling based on the document length B float32 `json:"b,omitempty"` // calibrates term-weight scaling based on the term frequency within a document K1 float32 `json:"k1,omitempty"` }
BM25Config tuning parameters for the BM25 algorithm
swagger:model BM25Config
func (*BM25Config) MarshalBinary ¶
func (m *BM25Config) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BM25Config) UnmarshalBinary ¶
func (m *BM25Config) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupCreateRequest ¶
type BackupCreateRequest struct { // Custom configuration for the backup creation process Config interface{} `json:"config,omitempty"` // List of classes to exclude from the backup creation process Exclude []string `json:"exclude"` // The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. ID string `json:"id,omitempty"` // List of classes to include in the backup creation process Include []string `json:"include"` }
BackupCreateRequest Request body for creating a backup of a set of classes
swagger:model BackupCreateRequest
func (*BackupCreateRequest) MarshalBinary ¶
func (m *BackupCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupCreateRequest) UnmarshalBinary ¶
func (m *BackupCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupCreateResponse ¶
type BackupCreateResponse struct { // Backup backend name e.g. filesystem, gcs, s3. Backend string `json:"backend,omitempty"` // The list of classes for which the backup creation process was started Classes []string `json:"classes"` // error message if creation failed Error string `json:"error,omitempty"` // The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. ID string `json:"id,omitempty"` // destination path of backup files proper to selected backend Path string `json:"path,omitempty"` // phase of backup creation process // Enum: [STARTED TRANSFERRING TRANSFERRED SUCCESS FAILED] Status *string `json:"status,omitempty"` }
BackupCreateResponse The definition of a backup create response body
swagger:model BackupCreateResponse
func (*BackupCreateResponse) MarshalBinary ¶
func (m *BackupCreateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupCreateResponse) UnmarshalBinary ¶
func (m *BackupCreateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupCreateStatusResponse ¶
type BackupCreateStatusResponse struct { // Backup backend name e.g. filesystem, gcs, s3. Backend string `json:"backend,omitempty"` // error message if creation failed Error string `json:"error,omitempty"` // The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. ID string `json:"id,omitempty"` // destination path of backup files proper to selected backend Path string `json:"path,omitempty"` // phase of backup creation process // Enum: [STARTED TRANSFERRING TRANSFERRED SUCCESS FAILED] Status *string `json:"status,omitempty"` }
BackupCreateStatusResponse The definition of a backup create metadata
swagger:model BackupCreateStatusResponse
func (*BackupCreateStatusResponse) MarshalBinary ¶
func (m *BackupCreateStatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupCreateStatusResponse) UnmarshalBinary ¶
func (m *BackupCreateStatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupRestoreRequest ¶
type BackupRestoreRequest struct { // Custom configuration for the backup restoration process Config interface{} `json:"config,omitempty"` // List of classes to exclude from the backup restoration process Exclude []string `json:"exclude"` // List of classes to include in the backup restoration process Include []string `json:"include"` }
BackupRestoreRequest Request body for restoring a backup for a set of classes
swagger:model BackupRestoreRequest
func (*BackupRestoreRequest) MarshalBinary ¶
func (m *BackupRestoreRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupRestoreRequest) UnmarshalBinary ¶
func (m *BackupRestoreRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupRestoreResponse ¶
type BackupRestoreResponse struct { // Backup backend name e.g. filesystem, gcs, s3. Backend string `json:"backend,omitempty"` // The list of classes for which the backup restoration process was started Classes []string `json:"classes"` // error message if restoration failed Error string `json:"error,omitempty"` // The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. ID string `json:"id,omitempty"` // destination path of backup files proper to selected backend Path string `json:"path,omitempty"` // phase of backup restoration process // Enum: [STARTED TRANSFERRING TRANSFERRED SUCCESS FAILED] Status *string `json:"status,omitempty"` }
BackupRestoreResponse The definition of a backup restore response body
swagger:model BackupRestoreResponse
func (*BackupRestoreResponse) MarshalBinary ¶
func (m *BackupRestoreResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupRestoreResponse) UnmarshalBinary ¶
func (m *BackupRestoreResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupRestoreStatusResponse ¶
type BackupRestoreStatusResponse struct { // Backup backend name e.g. filesystem, gcs, s3. Backend string `json:"backend,omitempty"` // error message if restoration failed Error string `json:"error,omitempty"` // The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. ID string `json:"id,omitempty"` // destination path of backup files proper to selected backup backend Path string `json:"path,omitempty"` // phase of backup restoration process // Enum: [STARTED TRANSFERRING TRANSFERRED SUCCESS FAILED] Status *string `json:"status,omitempty"` }
BackupRestoreStatusResponse The definition of a backup restore metadata
swagger:model BackupRestoreStatusResponse
func (*BackupRestoreStatusResponse) MarshalBinary ¶
func (m *BackupRestoreStatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupRestoreStatusResponse) UnmarshalBinary ¶
func (m *BackupRestoreStatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BatchDelete ¶
type BatchDelete struct { // If true, objects will not be deleted yet, but merely listed. Defaults to false. DryRun *bool `json:"dryRun,omitempty"` // match Match *BatchDeleteMatch `json:"match,omitempty"` // Controls the verbosity of the output, possible values are: "minimal", "verbose". Defaults to "minimal". Output *string `json:"output,omitempty"` }
BatchDelete batch delete
swagger:model BatchDelete
func (*BatchDelete) MarshalBinary ¶
func (m *BatchDelete) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BatchDelete) UnmarshalBinary ¶
func (m *BatchDelete) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BatchDeleteMatch ¶
type BatchDeleteMatch struct { // Class (name) which objects will be deleted. Class string `json:"class,omitempty"` // Filter to limit the objects to be deleted. Where *WhereFilter `json:"where,omitempty"` }
BatchDeleteMatch Outlines how to find the objects to be deleted.
swagger:model BatchDeleteMatch
func (*BatchDeleteMatch) MarshalBinary ¶
func (m *BatchDeleteMatch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BatchDeleteMatch) UnmarshalBinary ¶
func (m *BatchDeleteMatch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BatchDeleteResponse ¶
type BatchDeleteResponse struct { // If true, objects will not be deleted yet, but merely listed. Defaults to false. DryRun *bool `json:"dryRun,omitempty"` // match Match *BatchDeleteResponseMatch `json:"match,omitempty"` // Controls the verbosity of the output, possible values are: "minimal", "verbose". Defaults to "minimal". Output *string `json:"output,omitempty"` // results Results *BatchDeleteResponseResults `json:"results,omitempty"` }
BatchDeleteResponse Delete Objects response.
swagger:model BatchDeleteResponse
func (*BatchDeleteResponse) MarshalBinary ¶
func (m *BatchDeleteResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BatchDeleteResponse) UnmarshalBinary ¶
func (m *BatchDeleteResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BatchDeleteResponseMatch ¶
type BatchDeleteResponseMatch struct { // Class (name) which objects will be deleted. Class string `json:"class,omitempty"` // Filter to limit the objects to be deleted. Where *WhereFilter `json:"where,omitempty"` }
BatchDeleteResponseMatch Outlines how to find the objects to be deleted.
swagger:model BatchDeleteResponseMatch
func (*BatchDeleteResponseMatch) MarshalBinary ¶
func (m *BatchDeleteResponseMatch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BatchDeleteResponseMatch) UnmarshalBinary ¶
func (m *BatchDeleteResponseMatch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BatchDeleteResponseResults ¶
type BatchDeleteResponseResults struct { // How many objects should have been deleted but could not be deleted. Failed int64 `json:"failed"` // The most amount of objects that can be deleted in a single query, equals QUERY_MAXIMUM_RESULTS. Limit int64 `json:"limit"` // How many objects were matched by the filter. Matches int64 `json:"matches"` // With output set to "minimal" only objects with error occurred will the be described. Successfully deleted objects would be omitted. Output set to "verbose" will list all of the objets with their respective statuses. Objects []*BatchDeleteResponseResultsObjectsItems0 `json:"objects"` // How many objects were successfully deleted in this round. Successful int64 `json:"successful"` }
BatchDeleteResponseResults batch delete response results
swagger:model BatchDeleteResponseResults
func (*BatchDeleteResponseResults) MarshalBinary ¶
func (m *BatchDeleteResponseResults) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BatchDeleteResponseResults) UnmarshalBinary ¶
func (m *BatchDeleteResponseResults) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BatchDeleteResponseResultsObjectsItems0 ¶
type BatchDeleteResponseResultsObjectsItems0 struct { // errors Errors *ErrorResponse `json:"errors,omitempty"` // ID of the Object. // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // status // Enum: [SUCCESS DRYRUN FAILED] Status *string `json:"status,omitempty"` }
BatchDeleteResponseResultsObjectsItems0 Results for this specific Object.
swagger:model BatchDeleteResponseResultsObjectsItems0
func (*BatchDeleteResponseResultsObjectsItems0) MarshalBinary ¶
func (m *BatchDeleteResponseResultsObjectsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BatchDeleteResponseResultsObjectsItems0) UnmarshalBinary ¶
func (m *BatchDeleteResponseResultsObjectsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BatchReference ¶
type BatchReference struct { // Long-form beacon-style URI to identify the source of the cross-ref including the property name. Should be in the form of weaviate://localhost/<kinds>/<uuid>/<className>/<propertyName>, where <kinds> must be one of 'objects', 'objects' and <className> and <propertyName> must represent the cross-ref property of source class to be used. // Format: uri From strfmt.URI `json:"from,omitempty"` // Short-form URI to point to the cross-ref. Should be in the form of weaviate://localhost/<uuid> for the example of a local cross-ref to an object // Format: uri To strfmt.URI `json:"to,omitempty"` }
BatchReference batch reference
swagger:model BatchReference
func (*BatchReference) MarshalBinary ¶
func (m *BatchReference) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BatchReference) UnmarshalBinary ¶
func (m *BatchReference) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BatchReferenceResponse ¶
type BatchReferenceResponse struct { BatchReference // result Result *BatchReferenceResponseAO1Result `json:"result,omitempty"` }
BatchReferenceResponse batch reference response
swagger:model BatchReferenceResponse
func (*BatchReferenceResponse) MarshalBinary ¶
func (m *BatchReferenceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (BatchReferenceResponse) MarshalJSON ¶
func (m BatchReferenceResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*BatchReferenceResponse) UnmarshalBinary ¶
func (m *BatchReferenceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*BatchReferenceResponse) UnmarshalJSON ¶
func (m *BatchReferenceResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type BatchReferenceResponseAO1Result ¶
type BatchReferenceResponseAO1Result struct { // errors Errors *ErrorResponse `json:"errors,omitempty"` // status // Enum: [SUCCESS PENDING FAILED] Status *string `json:"status,omitempty"` }
BatchReferenceResponseAO1Result Results for this specific reference.
swagger:model BatchReferenceResponseAO1Result
func (*BatchReferenceResponseAO1Result) MarshalBinary ¶
func (m *BatchReferenceResponseAO1Result) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BatchReferenceResponseAO1Result) UnmarshalBinary ¶
func (m *BatchReferenceResponseAO1Result) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type C11yExtension ¶
type C11yExtension struct { // The new concept you want to extend. Must be an all-lowercase single word, or a space delimited compound word. Examples: 'foobarium', 'my custom concept' Concept string `json:"concept,omitempty"` // A list of space-delimited words or a sentence describing what the custom concept is about. Avoid using the custom concept itself. An Example definition for the custom concept 'foobarium': would be 'a naturally occourring element which can only be seen by programmers' Definition string `json:"definition,omitempty"` // Weight of the definition of the new concept where 1='override existing definition entirely' and 0='ignore custom definition'. Note that if the custom concept is not present in the contextionary yet, the weight cannot be less than 1. Weight float32 `json:"weight,omitempty"` }
C11yExtension A resource describing an extension to the contextinoary, containing both the identifier and the definition of the extension
swagger:model C11yExtension
func (*C11yExtension) MarshalBinary ¶
func (m *C11yExtension) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*C11yExtension) UnmarshalBinary ¶
func (m *C11yExtension) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type C11yNearestNeighbors ¶
type C11yNearestNeighbors []*C11yNearestNeighborsItems0
C11yNearestNeighbors C11y function to show the nearest neighbors to a word.
swagger:model C11yNearestNeighbors
type C11yNearestNeighborsItems0 ¶
type C11yNearestNeighborsItems0 struct { // distance Distance float32 `json:"distance,omitempty"` // word Word string `json:"word,omitempty"` }
C11yNearestNeighborsItems0 c11y nearest neighbors items0
swagger:model C11yNearestNeighborsItems0
func (*C11yNearestNeighborsItems0) MarshalBinary ¶
func (m *C11yNearestNeighborsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*C11yNearestNeighborsItems0) UnmarshalBinary ¶
func (m *C11yNearestNeighborsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type C11yVector ¶
type C11yVector []float32
C11yVector A Vector in the Contextionary
swagger:model C11yVector
type C11yVectorBasedQuestion ¶
type C11yVectorBasedQuestion []*C11yVectorBasedQuestionItems0
C11yVectorBasedQuestion Receive question based on array of classes, properties and values.
swagger:model C11yVectorBasedQuestion
type C11yVectorBasedQuestionItems0 ¶
type C11yVectorBasedQuestionItems0 struct { // Vectorized properties. // Max Items: 300 // Min Items: 300 ClassProps []*C11yVectorBasedQuestionItems0ClassPropsItems0 `json:"classProps"` // Vectorized classname. // Max Items: 300 // Min Items: 300 ClassVectors []float32 `json:"classVectors"` }
C11yVectorBasedQuestionItems0 c11y vector based question items0
swagger:model C11yVectorBasedQuestionItems0
func (*C11yVectorBasedQuestionItems0) MarshalBinary ¶
func (m *C11yVectorBasedQuestionItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*C11yVectorBasedQuestionItems0) UnmarshalBinary ¶
func (m *C11yVectorBasedQuestionItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type C11yVectorBasedQuestionItems0ClassPropsItems0 ¶
type C11yVectorBasedQuestionItems0ClassPropsItems0 struct { // props vectors PropsVectors []float32 `json:"propsVectors"` // String with valuename. Value string `json:"value,omitempty"` }
C11yVectorBasedQuestionItems0ClassPropsItems0 c11y vector based question items0 class props items0
swagger:model C11yVectorBasedQuestionItems0ClassPropsItems0
func (*C11yVectorBasedQuestionItems0ClassPropsItems0) MarshalBinary ¶
func (m *C11yVectorBasedQuestionItems0ClassPropsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*C11yVectorBasedQuestionItems0ClassPropsItems0) UnmarshalBinary ¶
func (m *C11yVectorBasedQuestionItems0ClassPropsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type C11yWordsResponse ¶
type C11yWordsResponse struct { // concatenated word ConcatenatedWord *C11yWordsResponseConcatenatedWord `json:"concatenatedWord,omitempty"` // Weighted results for per individual word IndividualWords []*C11yWordsResponseIndividualWordsItems0 `json:"individualWords"` }
C11yWordsResponse An array of available words and contexts.
swagger:model C11yWordsResponse
func (*C11yWordsResponse) MarshalBinary ¶
func (m *C11yWordsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*C11yWordsResponse) UnmarshalBinary ¶
func (m *C11yWordsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type C11yWordsResponseConcatenatedWord ¶
type C11yWordsResponseConcatenatedWord struct { // concatenated nearest neighbors ConcatenatedNearestNeighbors C11yNearestNeighbors `json:"concatenatedNearestNeighbors,omitempty"` // concatenated vector ConcatenatedVector C11yVector `json:"concatenatedVector,omitempty"` // concatenated word ConcatenatedWord string `json:"concatenatedWord,omitempty"` // single words SingleWords []string `json:"singleWords"` }
C11yWordsResponseConcatenatedWord Weighted results for all words
swagger:model C11yWordsResponseConcatenatedWord
func (*C11yWordsResponseConcatenatedWord) MarshalBinary ¶
func (m *C11yWordsResponseConcatenatedWord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*C11yWordsResponseConcatenatedWord) UnmarshalBinary ¶
func (m *C11yWordsResponseConcatenatedWord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type C11yWordsResponseIndividualWordsItems0 ¶
type C11yWordsResponseIndividualWordsItems0 struct { // info Info *C11yWordsResponseIndividualWordsItems0Info `json:"info,omitempty"` // present Present bool `json:"present,omitempty"` // word Word string `json:"word,omitempty"` }
C11yWordsResponseIndividualWordsItems0 c11y words response individual words items0
swagger:model C11yWordsResponseIndividualWordsItems0
func (*C11yWordsResponseIndividualWordsItems0) MarshalBinary ¶
func (m *C11yWordsResponseIndividualWordsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*C11yWordsResponseIndividualWordsItems0) UnmarshalBinary ¶
func (m *C11yWordsResponseIndividualWordsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type C11yWordsResponseIndividualWordsItems0Info ¶
type C11yWordsResponseIndividualWordsItems0Info struct { // nearest neighbors NearestNeighbors C11yNearestNeighbors `json:"nearestNeighbors,omitempty"` // vector Vector C11yVector `json:"vector,omitempty"` }
C11yWordsResponseIndividualWordsItems0Info c11y words response individual words items0 info
swagger:model C11yWordsResponseIndividualWordsItems0Info
func (*C11yWordsResponseIndividualWordsItems0Info) MarshalBinary ¶
func (m *C11yWordsResponseIndividualWordsItems0Info) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*C11yWordsResponseIndividualWordsItems0Info) UnmarshalBinary ¶
func (m *C11yWordsResponseIndividualWordsItems0Info) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Class ¶
type Class struct { // Name of the class as URI relative to the schema URL. Class string `json:"class,omitempty"` // Description of the class. Description string `json:"description,omitempty"` // inverted index config InvertedIndexConfig *InvertedIndexConfig `json:"invertedIndexConfig,omitempty"` // Configuration specific to modules this Weaviate instance has installed ModuleConfig interface{} `json:"moduleConfig,omitempty"` // The properties of the class. Properties []*Property `json:"properties"` // replication config ReplicationConfig *ReplicationConfig `json:"replicationConfig,omitempty"` // Manage how the index should be sharded and distributed in the cluster ShardingConfig interface{} `json:"shardingConfig,omitempty"` // Vector-index config, that is specific to the type of index selected in vectorIndexType VectorIndexConfig interface{} `json:"vectorIndexConfig,omitempty"` // Name of the vector index to use, eg. (HNSW) VectorIndexType string `json:"vectorIndexType,omitempty"` // Specify how the vectors for this class should be determined. The options are either 'none' - this means you have to import a vector with each object yourself - or the name of a module that provides vectorization capabilities, such as 'text2vec-contextionary'. If left empty, it will use the globally configured default which can itself either be 'none' or a specific module. Vectorizer string `json:"vectorizer,omitempty"` }
Class class
swagger:model Class
func (*Class) MarshalBinary ¶
MarshalBinary interface implementation
func (*Class) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Classification ¶
type Classification struct { // base the text-based classification on these fields (of type text) BasedOnProperties []string `json:"basedOnProperties"` // class (name) which is used in this classification Class string `json:"class,omitempty"` // which ref-property to set as part of the classification ClassifyProperties []string `json:"classifyProperties"` // error message if status == failed Error string `json:"error,omitempty"` // filters Filters *ClassificationFilters `json:"filters,omitempty"` // ID to uniquely identify this classification run // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // additional meta information about the classification Meta *ClassificationMeta `json:"meta,omitempty"` // classification-type specific settings Settings interface{} `json:"settings,omitempty"` // status of this classification // Enum: [running completed failed] Status string `json:"status,omitempty"` // which algorithm to use for classifications Type string `json:"type,omitempty"` }
Classification Manage classifications, trigger them and view status of past classifications.
swagger:model Classification
func (*Classification) MarshalBinary ¶
func (m *Classification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Classification) UnmarshalBinary ¶
func (m *Classification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClassificationFilters ¶
type ClassificationFilters struct { // limit the objects to be classified SourceWhere *WhereFilter `json:"sourceWhere,omitempty"` // Limit the possible sources when using an algorithm which doesn't really on training data, e.g. 'contextual'. When using an algorithm with a training set, such as 'knn', limit the training set instead TargetWhere *WhereFilter `json:"targetWhere,omitempty"` // Limit the training objects to be considered during the classification. Can only be used on types with explicit training sets, such as 'knn' TrainingSetWhere *WhereFilter `json:"trainingSetWhere,omitempty"` }
ClassificationFilters classification filters
swagger:model ClassificationFilters
func (*ClassificationFilters) MarshalBinary ¶
func (m *ClassificationFilters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClassificationFilters) UnmarshalBinary ¶
func (m *ClassificationFilters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClassificationMeta ¶
type ClassificationMeta struct { // time when this classification finished // Format: date-time Completed strfmt.DateTime `json:"completed,omitempty"` // number of objects which were taken into consideration for classification Count int64 `json:"count,omitempty"` // number of objects which could not be classified - see error message for details CountFailed int64 `json:"countFailed,omitempty"` // number of objects successfully classified CountSucceeded int64 `json:"countSucceeded,omitempty"` // time when this classification was started // Format: date-time Started strfmt.DateTime `json:"started,omitempty"` }
ClassificationMeta Additional information to a specific classification
swagger:model ClassificationMeta
func (*ClassificationMeta) MarshalBinary ¶
func (m *ClassificationMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClassificationMeta) UnmarshalBinary ¶
func (m *ClassificationMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Deprecation ¶
type Deprecation struct { // Describes which API is effected, usually one of: REST, GraphQL APIType string `json:"apiType,omitempty"` // The id that uniquely identifies this particular deprecations (mostly used internally) ID string `json:"id,omitempty"` // The locations within the specified API affected by this deprecation Locations []string `json:"locations"` // User-required object to not be affected by the (planned) removal Mitigation string `json:"mitigation,omitempty"` // What this deprecation is about Msg string `json:"msg,omitempty"` // A best-effort guess of which upcoming version will remove the feature entirely PlannedRemovalVersion string `json:"plannedRemovalVersion,omitempty"` // If the feature has already been removed, it was removed in this version RemovedIn *string `json:"removedIn,omitempty"` // If the feature has already been removed, it was removed at this timestamp // Format: date-time RemovedTime *strfmt.DateTime `json:"removedTime,omitempty"` // The deprecation was introduced in this version // Format: date-time SinceTime strfmt.DateTime `json:"sinceTime,omitempty"` // The deprecation was introduced in this version SinceVersion string `json:"sinceVersion,omitempty"` // Whether the problematic API functionality is deprecated (planned to be removed) or already removed Status string `json:"status,omitempty"` }
Deprecation deprecation
swagger:model Deprecation
func (*Deprecation) MarshalBinary ¶
func (m *Deprecation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Deprecation) UnmarshalBinary ¶
func (m *Deprecation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponse ¶
type ErrorResponse struct { // error Error []*ErrorResponseErrorItems0 `json:"error"` }
ErrorResponse An error response given by Weaviate end-points.
swagger:model ErrorResponse
func (*ErrorResponse) MarshalBinary ¶
func (m *ErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponse) UnmarshalBinary ¶
func (m *ErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponseErrorItems0 ¶
type ErrorResponseErrorItems0 struct { // message Message string `json:"message,omitempty"` }
ErrorResponseErrorItems0 error response error items0
swagger:model ErrorResponseErrorItems0
func (*ErrorResponseErrorItems0) MarshalBinary ¶
func (m *ErrorResponseErrorItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponseErrorItems0) UnmarshalBinary ¶
func (m *ErrorResponseErrorItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GeoCoordinates ¶
type GeoCoordinates struct { // The latitude of the point on earth in decimal form Latitude *float32 `json:"latitude,omitempty"` // The longitude of the point on earth in decimal form Longitude *float32 `json:"longitude,omitempty"` }
GeoCoordinates geo coordinates
swagger:model GeoCoordinates
func (*GeoCoordinates) MarshalBinary ¶
func (m *GeoCoordinates) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GeoCoordinates) UnmarshalBinary ¶
func (m *GeoCoordinates) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GraphQLError ¶
type GraphQLError struct { // locations Locations []*GraphQLErrorLocationsItems0 `json:"locations"` // message Message string `json:"message,omitempty"` // path Path []string `json:"path"` }
GraphQLError An error response caused by a GraphQL query.
swagger:model GraphQLError
func (*GraphQLError) MarshalBinary ¶
func (m *GraphQLError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GraphQLError) UnmarshalBinary ¶
func (m *GraphQLError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GraphQLErrorLocationsItems0 ¶
type GraphQLErrorLocationsItems0 struct { // column Column int64 `json:"column,omitempty"` // line Line int64 `json:"line,omitempty"` }
GraphQLErrorLocationsItems0 graph q l error locations items0
swagger:model GraphQLErrorLocationsItems0
func (*GraphQLErrorLocationsItems0) MarshalBinary ¶
func (m *GraphQLErrorLocationsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GraphQLErrorLocationsItems0) UnmarshalBinary ¶
func (m *GraphQLErrorLocationsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GraphQLQueries ¶
type GraphQLQueries []*GraphQLQuery
GraphQLQueries A list of GraphQL queries.
swagger:model GraphQLQueries
type GraphQLQuery ¶
type GraphQLQuery struct { // The name of the operation if multiple exist in the query. OperationName string `json:"operationName,omitempty"` // Query based on GraphQL syntax. Query string `json:"query,omitempty"` // Additional variables for the query. Variables interface{} `json:"variables,omitempty"` }
GraphQLQuery GraphQL query based on: http://facebook.github.io/graphql/.
swagger:model GraphQLQuery
func (*GraphQLQuery) MarshalBinary ¶
func (m *GraphQLQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GraphQLQuery) UnmarshalBinary ¶
func (m *GraphQLQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GraphQLResponse ¶
type GraphQLResponse struct { // GraphQL data object. Data map[string]JSONObject `json:"data,omitempty"` // Array with errors. Errors []*GraphQLError `json:"errors,omitempty"` }
GraphQLResponse GraphQL based response: http://facebook.github.io/graphql/.
swagger:model GraphQLResponse
func (*GraphQLResponse) MarshalBinary ¶
func (m *GraphQLResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GraphQLResponse) UnmarshalBinary ¶
func (m *GraphQLResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GraphQLResponses ¶
type GraphQLResponses []*GraphQLResponse
GraphQLResponses A list of GraphQL responses.
swagger:model GraphQLResponses
type InvertedIndexConfig ¶
type InvertedIndexConfig struct { // bm25 Bm25 *BM25Config `json:"bm25,omitempty"` // Asynchronous index clean up happens every n seconds CleanupIntervalSeconds int64 `json:"cleanupIntervalSeconds,omitempty"` // Index each object with the null state IndexNullState bool `json:"indexNullState,omitempty"` // Index length of properties IndexPropertyLength bool `json:"indexPropertyLength,omitempty"` // Index each object by its internal timestamps IndexTimestamps bool `json:"indexTimestamps,omitempty"` // stopwords Stopwords *StopwordConfig `json:"stopwords,omitempty"` }
InvertedIndexConfig Configure the inverted index built into Weaviate
swagger:model InvertedIndexConfig
func (*InvertedIndexConfig) MarshalBinary ¶
func (m *InvertedIndexConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InvertedIndexConfig) UnmarshalBinary ¶
func (m *InvertedIndexConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JSONObject ¶
type JSONObject interface{}
JSONObject JSON object value.
swagger:model JsonObject
type Link ¶
type Link struct { // weaviate documentation about this resource group DocumentationHref string `json:"documentationHref,omitempty"` // target of the link Href string `json:"href,omitempty"` // human readable name of the resource group Name string `json:"name,omitempty"` // relationship if both resources are related, e.g. 'next', 'previous', 'parent', etc. Rel string `json:"rel,omitempty"` }
Link link
swagger:model Link
func (*Link) MarshalBinary ¶
MarshalBinary interface implementation
func (*Link) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Meta ¶
type Meta struct { // The url of the host. Hostname string `json:"hostname,omitempty"` // Module-specific meta information Modules interface{} `json:"modules,omitempty"` // Version of weaviate you are currently running Version string `json:"version,omitempty"` }
Meta Contains meta information of the current Weaviate instance.
swagger:model Meta
func (*Meta) MarshalBinary ¶
MarshalBinary interface implementation
func (*Meta) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MultipleRef ¶
type MultipleRef []*SingleRef
MultipleRef Multiple instances of references to other objects.
swagger:model MultipleRef
type NodeShardStatus ¶
type NodeShardStatus struct { // The name of shard's class. Class string `json:"class"` // The name of the shard. Name string `json:"name"` // The number of objects in shard. ObjectCount int64 `json:"objectCount"` }
NodeShardStatus The definition of a node shard status response body
swagger:model NodeShardStatus
func (*NodeShardStatus) MarshalBinary ¶
func (m *NodeShardStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeShardStatus) UnmarshalBinary ¶
func (m *NodeShardStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeStats ¶
type NodeStats struct { // The total number of objects in DB. ObjectCount int64 `json:"objectCount"` // The count of Weaviate's shards. ShardCount int64 `json:"shardCount"` }
NodeStats The summary of Weaviate's statistics.
swagger:model NodeStats
func (*NodeStats) MarshalBinary ¶
MarshalBinary interface implementation
func (*NodeStats) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NodeStatus ¶
type NodeStatus struct { // The gitHash of Weaviate. GitHash string `json:"gitHash,omitempty"` // The name of the node. Name string `json:"name,omitempty"` // The list of the shards with it's statistics. Shards []*NodeShardStatus `json:"shards"` // Weaviate overall statistics. Stats *NodeStats `json:"stats,omitempty"` // Node's status. // Enum: [HEALTHY UNHEALTHY UNAVAILABLE] Status *string `json:"status,omitempty"` // The version of Weaviate. Version string `json:"version,omitempty"` }
NodeStatus The definition of a backup node status response body
swagger:model NodeStatus
func (*NodeStatus) MarshalBinary ¶
func (m *NodeStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeStatus) UnmarshalBinary ¶
func (m *NodeStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodesStatusResponse ¶
type NodesStatusResponse struct { // nodes Nodes []*NodeStatus `json:"nodes"` }
NodesStatusResponse The status of all of the Weaviate nodes
swagger:model NodesStatusResponse
func (*NodesStatusResponse) MarshalBinary ¶
func (m *NodesStatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodesStatusResponse) UnmarshalBinary ¶
func (m *NodesStatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Object ¶
type Object struct { // additional Additional AdditionalProperties `json:"additional,omitempty"` // Class of the Object, defined in the schema. Class string `json:"class,omitempty"` // Timestamp of creation of this Object in milliseconds since epoch UTC. CreationTimeUnix int64 `json:"creationTimeUnix,omitempty"` // ID of the Object. // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // Timestamp of the last Object update in milliseconds since epoch UTC. LastUpdateTimeUnix int64 `json:"lastUpdateTimeUnix,omitempty"` // properties Properties PropertySchema `json:"properties,omitempty"` // This object's position in the Contextionary vector space. Read-only if using a vectorizer other than 'none'. Writable and required if using 'none' as vectorizer. Vector C11yVector `json:"vector,omitempty"` // vector weights VectorWeights VectorWeights `json:"vectorWeights,omitempty"` }
Object object
swagger:model Object
func (*Object) MarshalBinary ¶
MarshalBinary interface implementation
func (*Object) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ObjectsGetResponse ¶
type ObjectsGetResponse struct { Object // deprecations Deprecations []*Deprecation `json:"deprecations"` // result Result *ObjectsGetResponseAO2Result `json:"result,omitempty"` }
ObjectsGetResponse objects get response
swagger:model ObjectsGetResponse
func (*ObjectsGetResponse) MarshalBinary ¶
func (m *ObjectsGetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ObjectsGetResponse) MarshalJSON ¶
func (m ObjectsGetResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ObjectsGetResponse) UnmarshalBinary ¶
func (m *ObjectsGetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ObjectsGetResponse) UnmarshalJSON ¶
func (m *ObjectsGetResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ObjectsGetResponseAO2Result ¶
type ObjectsGetResponseAO2Result struct { // errors Errors *ErrorResponse `json:"errors,omitempty"` // status // Enum: [SUCCESS PENDING FAILED] Status *string `json:"status,omitempty"` }
ObjectsGetResponseAO2Result Results for this specific Object.
swagger:model ObjectsGetResponseAO2Result
func (*ObjectsGetResponseAO2Result) MarshalBinary ¶
func (m *ObjectsGetResponseAO2Result) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectsGetResponseAO2Result) UnmarshalBinary ¶
func (m *ObjectsGetResponseAO2Result) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectsListResponse ¶
type ObjectsListResponse struct { // deprecations Deprecations []*Deprecation `json:"deprecations"` // The actual list of Objects. Objects []*Object `json:"objects"` // The total number of Objects for the query. The number of items in a response may be smaller due to paging. TotalResults int64 `json:"totalResults,omitempty"` }
ObjectsListResponse List of Objects.
swagger:model ObjectsListResponse
func (*ObjectsListResponse) MarshalBinary ¶
func (m *ObjectsListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectsListResponse) UnmarshalBinary ¶
func (m *ObjectsListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchDocumentAction ¶
type PatchDocumentAction struct { // A string containing a JSON Pointer value. From string `json:"from,omitempty"` // merge Merge *Object `json:"merge,omitempty"` // The operation to be performed. // Required: true // Enum: [add remove replace move copy test] Op *string `json:"op"` // A JSON-Pointer. // Required: true Path *string `json:"path"` // The value to be used within the operations. Value interface{} `json:"value,omitempty"` }
PatchDocumentAction Either a JSONPatch document as defined by RFC 6902 (from, op, path, value), or a merge document (RFC 7396).
swagger:model PatchDocumentAction
func (*PatchDocumentAction) MarshalBinary ¶
func (m *PatchDocumentAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchDocumentAction) UnmarshalBinary ¶
func (m *PatchDocumentAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchDocumentObject ¶
type PatchDocumentObject struct { // A string containing a JSON Pointer value. From string `json:"from,omitempty"` // merge Merge *Object `json:"merge,omitempty"` // The operation to be performed. // Required: true // Enum: [add remove replace move copy test] Op *string `json:"op"` // A JSON-Pointer. // Required: true Path *string `json:"path"` // The value to be used within the operations. Value interface{} `json:"value,omitempty"` }
PatchDocumentObject Either a JSONPatch document as defined by RFC 6902 (from, op, path, value), or a merge document (RFC 7396).
swagger:model PatchDocumentObject
func (*PatchDocumentObject) MarshalBinary ¶
func (m *PatchDocumentObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchDocumentObject) UnmarshalBinary ¶
func (m *PatchDocumentObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PeerUpdate ¶
type PeerUpdate struct { // The session ID of the peer. // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // Human readable name. Name string `json:"name,omitempty"` // The latest known hash of the peer's schema. SchemaHash string `json:"schemaHash,omitempty"` // The location where the peer is exposed to the internet. // Format: uri URI strfmt.URI `json:"uri,omitempty"` }
PeerUpdate A single peer in the network.
swagger:model PeerUpdate
func (*PeerUpdate) MarshalBinary ¶
func (m *PeerUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PeerUpdate) UnmarshalBinary ¶
func (m *PeerUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PeerUpdateList ¶
type PeerUpdateList []*PeerUpdate
PeerUpdateList List of known peers.
swagger:model PeerUpdateList
type PhoneNumber ¶
type PhoneNumber struct { // Read-only. The numerical country code (e.g. 49) CountryCode uint64 `json:"countryCode,omitempty"` // Optional. The ISO 3166-1 alpha-2 country code. This is used to figure out the correct countryCode and international format if only a national number (e.g. 0123 4567) is provided DefaultCountry string `json:"defaultCountry,omitempty"` // The raw input as the phone number is present in your raw data set. It will be parsed into the standardized formats if valid. Input string `json:"input,omitempty"` // Read-only. Parsed result in the international format (e.g. +49 123 ...) InternationalFormatted string `json:"internationalFormatted,omitempty"` // Read-only. The numerical representation of the national part National uint64 `json:"national,omitempty"` // Read-only. Parsed result in the national format (e.g. 0123 456789) NationalFormatted string `json:"nationalFormatted,omitempty"` // Read-only. Indicates whether the parsed number is a valid phone number Valid bool `json:"valid,omitempty"` }
PhoneNumber phone number
swagger:model PhoneNumber
func (*PhoneNumber) MarshalBinary ¶
func (m *PhoneNumber) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PhoneNumber) UnmarshalBinary ¶
func (m *PhoneNumber) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Principal ¶
type Principal struct { // groups Groups []string `json:"groups"` // The username that was extracted either from the authentication information Username string `json:"username,omitempty"` }
Principal principal
swagger:model Principal
func (*Principal) MarshalBinary ¶
MarshalBinary interface implementation
func (*Principal) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Property ¶
type Property struct { // Can be a reference to another type when it starts with a capital (for example Person), otherwise "string" or "int". DataType []string `json:"dataType"` // Description of the property. Description string `json:"description,omitempty"` // Optional. Should this property be indexed in the inverted index. Defaults to true. If you choose false, you will not be able to use this property in where filters. This property has no affect on vectorization decisions done by modules IndexInverted *bool `json:"indexInverted,omitempty"` // Configuration specific to modules this Weaviate instance has installed ModuleConfig interface{} `json:"moduleConfig,omitempty"` // Name of the property as URI relative to the schema URL. Name string `json:"name,omitempty"` // Determines tokenization of the property as separate words or whole field. Optional. Applies to string, string[], text and text[] data types. Allowed values are `word` (default) and `field` for string and string[], `word` (default) for text and text[]. Not supported for remaining data types // Enum: [word field] Tokenization string `json:"tokenization,omitempty"` }
Property property
swagger:model Property
func (*Property) MarshalBinary ¶
MarshalBinary interface implementation
func (*Property) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PropertySchema ¶
type PropertySchema interface{}
PropertySchema This is an open object, with OpenAPI Specification 3.0 this will be more detailed. See Weaviate docs for more info. In the future this will become a key/value OR a SingleRef definition.
swagger:model PropertySchema
type ReferenceMetaClassification ¶
type ReferenceMetaClassification struct { // The lowest distance of a neighbor in the losing group. Optional. If k equals the size of the winning group, there is no losing group ClosestLosingDistance *float64 `json:"closestLosingDistance,omitempty"` // The lowest distance of any neighbor, regardless of whether they were in the winning or losing group ClosestOverallDistance float64 `json:"closestOverallDistance,omitempty"` // Closest distance of a neighbor from the winning group ClosestWinningDistance float64 `json:"closestWinningDistance,omitempty"` // size of the losing group, can be 0 if the winning group size euqals k LosingCount int64 `json:"losingCount,omitempty"` // deprecated - do not use, to be removed in 0.23.0 LosingDistance *float64 `json:"losingDistance,omitempty"` // Mean distance of all neighbors from the losing group. Optional. If k equals the size of the winning group, there is no losing group. MeanLosingDistance *float64 `json:"meanLosingDistance,omitempty"` // Mean distance of all neighbors from the winning group MeanWinningDistance float64 `json:"meanWinningDistance,omitempty"` // overall neighbors checked as part of the classification. In most cases this will equal k, but could be lower than k - for example if not enough data was present OverallCount int64 `json:"overallCount,omitempty"` // size of the winning group, a number between 1..k WinningCount int64 `json:"winningCount,omitempty"` // deprecated - do not use, to be removed in 0.23.0 WinningDistance float64 `json:"winningDistance,omitempty"` }
ReferenceMetaClassification This meta field contains additional info about the classified reference property
swagger:model ReferenceMetaClassification
func (*ReferenceMetaClassification) MarshalBinary ¶
func (m *ReferenceMetaClassification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReferenceMetaClassification) UnmarshalBinary ¶
func (m *ReferenceMetaClassification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReplicationConfig ¶
type ReplicationConfig struct { // Number of times a class is replicated Factor int64 `json:"factor,omitempty"` }
ReplicationConfig Configure how replication is executed in a cluster
swagger:model ReplicationConfig
func (*ReplicationConfig) MarshalBinary ¶
func (m *ReplicationConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReplicationConfig) UnmarshalBinary ¶
func (m *ReplicationConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Schema ¶
type Schema struct { // Semantic classes that are available. Classes []*Class `json:"classes"` // Email of the maintainer. // Format: email Maintainer strfmt.Email `json:"maintainer,omitempty"` // Name of the schema. Name string `json:"name,omitempty"` }
Schema Definitions of semantic schemas (also see: https://github.com/semi-technologies/weaviate-semantic-schemas).
swagger:model Schema
func (*Schema) MarshalBinary ¶
MarshalBinary interface implementation
func (*Schema) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SchemaHistory ¶
type SchemaHistory interface{}
SchemaHistory This is an open object, with OpenAPI Specification 3.0 this will be more detailed. See Weaviate docs for more info. In the future this will become a key/value OR a SingleRef definition.
swagger:model SchemaHistory
type ShardStatus ¶
type ShardStatus struct { // Status of the shard Status string `json:"status,omitempty"` }
ShardStatus The status of a single shard
swagger:model ShardStatus
func (*ShardStatus) MarshalBinary ¶
func (m *ShardStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShardStatus) UnmarshalBinary ¶
func (m *ShardStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShardStatusGetResponse ¶
type ShardStatusGetResponse struct { // Name of the shard Name string `json:"name,omitempty"` // Status of the shard Status string `json:"status,omitempty"` }
ShardStatusGetResponse Response body of shard status get request
swagger:model ShardStatusGetResponse
func (*ShardStatusGetResponse) MarshalBinary ¶
func (m *ShardStatusGetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShardStatusGetResponse) UnmarshalBinary ¶
func (m *ShardStatusGetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShardStatusList ¶
type ShardStatusList []*ShardStatusGetResponse
ShardStatusList The status of all the shards of a Class
swagger:model ShardStatusList
type SingleRef ¶
type SingleRef struct { // If using a direct reference, specify the URI to point to the cross-ref here. Should be in the form of weaviate://localhost/<uuid> for the example of a local cross-ref to an object // Format: uri Beacon strfmt.URI `json:"beacon,omitempty"` // If using a concept reference (rather than a direct reference), specify the desired class name here // Format: uri Class strfmt.URI `json:"class,omitempty"` // Additional Meta information about classifications if the item was part of one Classification *ReferenceMetaClassification `json:"classification,omitempty"` // If using a direct reference, this read-only fields provides a link to the referenced resource. If 'origin' is globally configured, an absolute URI is shown - a relative URI otherwise. // Format: uri Href strfmt.URI `json:"href,omitempty"` // If using a concept reference (rather than a direct reference), specify the desired properties here Schema PropertySchema `json:"schema,omitempty"` }
SingleRef Either set beacon (direct reference) or set class and schema (concept reference)
swagger:model SingleRef
func (*SingleRef) MarshalBinary ¶
MarshalBinary interface implementation
func (*SingleRef) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type StopwordConfig ¶
type StopwordConfig struct { // stopwords to be considered additionally Additions []string `json:"additions"` // pre-existing list of common words by language Preset string `json:"preset,omitempty"` // stopwords to be removed from consideration Removals []string `json:"removals"` }
StopwordConfig fine-grained control over stopword list usage
swagger:model StopwordConfig
func (*StopwordConfig) MarshalBinary ¶
func (m *StopwordConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StopwordConfig) UnmarshalBinary ¶
func (m *StopwordConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VectorWeights ¶
type VectorWeights interface{}
VectorWeights Allow custom overrides of vector weights as math expressions. E.g. "pancake": "7" will set the weight for the word pancake to 7 in the vectorization, whereas "w * 3" would triple the originally calculated word. This is an open object, with OpenAPI Specification 3.0 this will be more detailed. See Weaviate docs for more info. In the future this will become a key/value (string/string) object.
swagger:model VectorWeights
type WhereFilter ¶
type WhereFilter struct { // combine multiple where filters, requires 'And' or 'Or' operator Operands []*WhereFilter `json:"operands"` // operator to use // Enum: [And Or Equal Like Not NotEqual GreaterThan GreaterThanEqual LessThan LessThanEqual WithinGeoRange IsNull] Operator string `json:"operator,omitempty"` // path to the property currently being filtered Path []string `json:"path"` // value as boolean ValueBoolean *bool `json:"valueBoolean,omitempty"` // value as date (as string) ValueDate *string `json:"valueDate,omitempty"` // value as geo coordinates and distance ValueGeoRange *WhereFilterGeoRange `json:"valueGeoRange,omitempty"` // value as integer ValueInt *int64 `json:"valueInt,omitempty"` // value as number/float ValueNumber *float64 `json:"valueNumber,omitempty"` // value as string ValueString *string `json:"valueString,omitempty"` // value as text (on text props) ValueText *string `json:"valueText,omitempty"` }
WhereFilter Filter search results using a where filter
swagger:model WhereFilter
func (*WhereFilter) MarshalBinary ¶
func (m *WhereFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WhereFilter) UnmarshalBinary ¶
func (m *WhereFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WhereFilterGeoRange ¶
type WhereFilterGeoRange struct { // distance Distance *WhereFilterGeoRangeDistance `json:"distance,omitempty"` // geo coordinates GeoCoordinates *GeoCoordinates `json:"geoCoordinates,omitempty"` }
WhereFilterGeoRange filter within a distance of a georange
swagger:model WhereFilterGeoRange
func (*WhereFilterGeoRange) MarshalBinary ¶
func (m *WhereFilterGeoRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WhereFilterGeoRange) UnmarshalBinary ¶
func (m *WhereFilterGeoRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WhereFilterGeoRangeDistance ¶
type WhereFilterGeoRangeDistance struct { // max Max float64 `json:"max,omitempty"` }
WhereFilterGeoRangeDistance where filter geo range distance
swagger:model WhereFilterGeoRangeDistance
func (*WhereFilterGeoRangeDistance) MarshalBinary ¶
func (m *WhereFilterGeoRangeDistance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WhereFilterGeoRangeDistance) UnmarshalBinary ¶
func (m *WhereFilterGeoRangeDistance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- additional_properties.go
- b_m25_config.go
- backup_create_request.go
- backup_create_response.go
- backup_create_status_response.go
- backup_restore_request.go
- backup_restore_response.go
- backup_restore_status_response.go
- batch_delete.go
- batch_delete_response.go
- batch_reference.go
- batch_reference_response.go
- c11y_extension.go
- c11y_nearest_neighbors.go
- c11y_vector.go
- c11y_vector_based_question.go
- c11y_words_response.go
- class.go
- classification.go
- classification_meta.go
- deprecation.go
- error_response.go
- geo_coordinates.go
- graph_q_l_error.go
- graph_q_l_queries.go
- graph_q_l_query.go
- graph_q_l_response.go
- graph_q_l_responses.go
- inverted_index_config.go
- json_object.go
- link.go
- meta.go
- multiple_ref.go
- node_shard_status.go
- node_stats.go
- node_status.go
- nodes_status_response.go
- object.go
- objects_get_response.go
- objects_list_response.go
- patch_document_action.go
- patch_document_object.go
- peer_update.go
- peer_update_list.go
- phone_number.go
- principal.go
- property.go
- property_schema.go
- reference_meta_classification.go
- replication_config.go
- schema.go
- schema_history.go
- shard_status.go
- shard_status_get_response.go
- shard_status_list.go
- single_ref.go
- stopword_config.go
- vector_weights.go
- where_filter.go
- where_filter_geo_range.go