Documentation ¶
Overview ¶
Code generated by go generate; DO NOT EDIT. This file was generated by go generate ./deprecations
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ByID = map[string]models.Deprecation{ "rest-meta-prop": { ID: "rest-meta-prop", Locations: []string{ "GET /v1/thing/{id}", "GET /v1/things", "GET /v1/action/{id}", "GET /v1/actions", }, Status: "deprecated", APIType: "REST", Mitigation: "Use ?include=<propName>, e.g. ?include=_classification for classification meta or ?include=_vector to show the vector position or ?include=_classification,_vector for both. When consuming the response use the additional fields such as _vector, as the meta object in the response, such as meta.vector will be removed.", Msg: "use of deprecated property ?meta=true/false", SinceVersion: "0.22.8", SinceTime: timeMust(time.Parse(time.RFC3339, "2020-06-15T16:18:06.000Z")), RemovedIn: ptString("0.23.0"), RemovedTime: timeMustPtr(time.Parse(time.RFC3339, "2020-06-15T16:18:06.000Z")), }, "config-files": { ID: "config-files", Locations: []string{ "--config-file=\"\"", }, Status: "deprecated", APIType: "Configuration", Mitigation: "Configure Weaviate using environment variables.", Msg: "use of deprecated command line argument --config-file", SinceVersion: "0.22.16", SinceTime: timeMust(time.Parse(time.RFC3339, "2020-09-08T09:46:00.000Z")), }, "cardinality": { ID: "cardinality", Locations: []string{ "GET /v1/schema", "POST /v1/schema/things", "POST /v1/schema/actions", "POST /v1/schema/things/{className}/properties", "POST /v1/schema/actions/{className}/properties", }, Status: "deprecated", APIType: "REST", Mitigation: "Omit this field. Starting in 0.22.7 it no longer has any effect.", Msg: "use of deprecated property option 'cardinality'", SinceVersion: "0.22.17", SinceTime: timeMust(time.Parse(time.RFC3339, "2020-09-16T09:06:00.000Z")), RemovedIn: ptString("0.23.0"), RemovedTime: timeMustPtr(time.Parse(time.RFC3339, "2020-09-16T09:06:00.000Z")), }, "ref-meta-deprecated-fields": { ID: "ref-meta-deprecated-fields", Locations: []string{ "GET /v1/thing/{id}", "GET /v1/things", "GET /v1/action/{id}", "GET /v1/actions", }, Status: "deprecated", APIType: "REST", Mitigation: "when using _classification the reference meta after a successful\nclassification contains various counts and distances. Starting in 0.22.20\nthe fields winningDistance and losingDistance are considered deprecated.\nNew fields were added and they have more descriptive names. User\nmeanWinningDistance instead of winningDistance and use meanLosingDistance\ninstead of losingDistance", Msg: "response contains deprecated fields winningDistance and losingDistance", SinceVersion: "0.22.20", SinceTime: timeMust(time.Parse(time.RFC3339, "2020-11-26T14:58:00.000Z")), RemovedIn: ptString("0.23.0"), RemovedTime: timeMustPtr(time.Parse(time.RFC3339, "2020-11-26T14:58:00.000Z")), }, }
Functions ¶
func Log ¶
func Log(logger logrus.FieldLogger, id string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.