Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump schemars from 0.8.17 to 0.8.19 #4186

Merged
merged 2 commits into from
May 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update OpenAPI specification
timvisee committed May 7, 2024
commit 87e4ad7b7106d33535de49e8d93ab25f7b45266b
36 changes: 0 additions & 36 deletions docs/redoc/master/openapi.json
Original file line number Diff line number Diff line change
@@ -5398,7 +5398,6 @@
"$ref": "#/components/schemas/WalConfig"
},
"quantization_config": {
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/QuantizationConfig"
@@ -5879,23 +5878,20 @@
},
"max_segment_size": {
"description": "Do not create segments larger this size (in kilobytes). Large segments might require disproportionately long indexation times, therefore it makes sense to limit the size of segments.\n\nIf indexing speed is more important - make this parameter lower. If search speed is more important - make this parameter higher. Note: 1Kb = 1 vector of size 256 If not set, will be automatically selected considering the number of available CPUs.",
"default": null,
"type": "integer",
"format": "uint",
"minimum": 0,
"nullable": true
},
"memmap_threshold": {
"description": "Maximum size (in kilobytes) of vectors to store in-memory per segment. Segments larger than this threshold will be stored as read-only memmaped file.\n\nMemmap storage is disabled by default, to enable it, set this threshold to a reasonable value.\n\nTo disable memmap storage, set this to `0`. Internally it will use the largest threshold possible.\n\nNote: 1Kb = 1 vector of size 256",
"default": null,
"type": "integer",
"format": "uint",
"minimum": 0,
"nullable": true
},
"indexing_threshold": {
"description": "Maximum size (in kilobytes) of vectors allowed for plain index, exceeding this threshold will enable vector indexing\n\nDefault value is 20,000, based on <https://github.com/google-research/google-research/blob/master/scann/docs/algorithms.md>.\n\nTo disable vector indexing, set to `0`.\n\nNote: 1kB = 1 vector of size 256.",
"default": null,
"type": "integer",
"format": "uint",
"minimum": 0,
@@ -5909,7 +5905,6 @@
},
"max_optimization_threads": {
"description": "Max number of threads (jobs) for running optimizations per shard. Note: each optimization job will also use `max_indexing_threads` threads by itself for index building. If null - have no limit and choose dynamically to saturate CPU. If 0 - no optimization threads, optimizations will be disabled.",
"default": null,
"type": "integer",
"format": "uint",
"minimum": 0,
@@ -6409,7 +6404,6 @@
},
"with_vector": {
"description": "Whether to return the point vector with the result?",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/WithVector"
@@ -7033,7 +7027,6 @@
},
"quantization": {
"description": "Quantization params",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/QuantizationSearchParams"
@@ -7061,13 +7054,11 @@
},
"rescore": {
"description": "If true, use original vectors to re-score top-k results. Might require more time in case if original vectors are stored on disk. If not set, qdrant decides automatically apply rescoring or not.",
"default": null,
"type": "boolean",
"nullable": true
},
"oversampling": {
"description": "Oversampling factor for quantization. Default is 1.0.\n\nDefines how many extra vectors should be pre-selected using quantized index, and then re-scored using original vectors.\n\nFor example, if `oversampling` is 2.4 and `limit` is 100, then 240 vectors will be pre-selected using quantized index, and then top-100 will be returned after re-scoring.",
"default": null,
"type": "number",
"format": "double",
"minimum": 1,
@@ -7252,7 +7243,6 @@
},
"with_vector": {
"description": "Whether to return the point vector with the result?",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/WithVector"
@@ -7270,7 +7260,6 @@
},
"using": {
"description": "Define which vector to use for recommendation, if not specified - try to use default vector",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/UsingVector"
@@ -7282,7 +7271,6 @@
},
"lookup_from": {
"description": "The location used to lookup vectors. If not specified - use current collection. Note: the other collection should have the same vector size as the current collection",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/LookupLocation"
@@ -7339,7 +7327,6 @@
},
"vector": {
"description": "Optional name of the vector field within the collection. If not provided, the default vector field will be used.",
"default": null,
"type": "string",
"nullable": true
},
@@ -7530,15 +7517,13 @@
},
"shard_number": {
"description": "For auto sharding: Number of shards in collection. - Default is 1 for standalone, otherwise equal to the number of nodes - Minimum is 1 For custom sharding: Number of shards in collection per shard group. - Default is 1, meaning that each shard key will be mapped to a single shard - Minimum is 1",
"default": null,
"type": "integer",
"format": "uint32",
"minimum": 1,
"nullable": true
},
"sharding_method": {
"description": "Sharding method Default is Auto - points are distributed across all available shards Custom - points are distributed across shards according to shard key",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/ShardingMethod"
@@ -7550,23 +7535,20 @@
},
"replication_factor": {
"description": "Number of shards replicas. Default is 1 Minimum is 1",
"default": null,
"type": "integer",
"format": "uint32",
"minimum": 1,
"nullable": true
},
"write_consistency_factor": {
"description": "Defines how many replicas should apply the operation for us to consider it successful. Increasing this number will make the collection more resilient to inconsistencies, but will also make it fail if not enough replicas are available. Does not have any performance impact.",
"default": null,
"type": "integer",
"format": "uint32",
"minimum": 1,
"nullable": true
},
"on_disk_payload": {
"description": "If true - point's payload will not be stored in memory. It will be read from the disk every time it is requested. This setting saves RAM by (slightly) increasing the response time. Note: those payload values that are involved in filtering and are indexed - remain in RAM.",
"default": null,
"type": "boolean",
"nullable": true
},
@@ -7605,7 +7587,6 @@
},
"init_from": {
"description": "Specify other collection to copy data from.",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/InitFrom"
@@ -7617,7 +7598,6 @@
},
"quantization_config": {
"description": "Quantization parameters. If none - quantization is disabled.",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/QuantizationConfig"
@@ -7778,7 +7758,6 @@
},
"quantization_config": {
"description": "Quantization parameters to update. If none - it is left unchanged.",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/QuantizationConfigDiff"
@@ -7888,7 +7867,6 @@
},
"on_disk_payload": {
"description": "If true - point's payload will not be stored in memory. It will be read from the disk every time it is requested. This setting saves RAM by (slightly) increasing the response time. Note: those payload values that are involved in filtering and are indexed - remain in RAM.",
"default": null,
"type": "boolean",
"nullable": true
}
@@ -10229,7 +10207,6 @@
},
"priority": {
"description": "Defines which data should be used as a source of truth if there are other replicas in the cluster. If set to `Snapshot`, the snapshot will be used as a source of truth, and the current state will be overwritten. If set to `Replica`, the current state will be used as a source of truth, and after recovery if will be synchronized with the snapshot.",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/SnapshotPriority"
@@ -10241,13 +10218,11 @@
},
"checksum": {
"description": "Optional SHA256 checksum to verify snapshot integrity before recovery.",
"default": null,
"type": "string",
"nullable": true
},
"api_key": {
"description": "Optional API key used when fetching the snapshot from a remote URL.",
"default": null,
"type": "string",
"nullable": true
}
@@ -10514,7 +10489,6 @@
},
"with_vector": {
"description": "Whether to return the point vector with the result?",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/WithVector"
@@ -10594,7 +10568,6 @@
},
"with_vectors": {
"description": "Options for specifying which vectors to include (or not)",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/WithVector"
@@ -10643,7 +10616,6 @@
},
"strategy": {
"description": "How to use positive and negative examples to find the results",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/RecommendStrategy"
@@ -10688,7 +10660,6 @@
},
"with_vector": {
"description": "Whether to return the point vector with the result?",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/WithVector"
@@ -10706,7 +10677,6 @@
},
"using": {
"description": "Define which vector to use for recommendation, if not specified - try to use default vector",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/UsingVector"
@@ -10718,7 +10688,6 @@
},
"lookup_from": {
"description": "The location used to lookup vectors. If not specified - use current collection. Note: the other collection should have the same vector size as the current collection",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/LookupLocation"
@@ -10912,7 +10881,6 @@
"$ref": "#/components/schemas/ShardSnapshotLocation"
},
"priority": {
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/SnapshotPriority"
@@ -10924,13 +10892,11 @@
},
"checksum": {
"description": "Optional SHA256 checksum to verify snapshot integrity before recovery.",
"default": null,
"type": "string",
"nullable": true
},
"api_key": {
"description": "Optional API key used when fetching the snapshot from a remote URL.",
"default": null,
"type": "string",
"nullable": true
}
@@ -11043,7 +11009,6 @@
},
"using": {
"description": "Define which vector to use for recommendation, if not specified - try to use default vector",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/UsingVector"
@@ -11055,7 +11020,6 @@
},
"lookup_from": {
"description": "The location used to lookup vectors. If not specified - use current collection. Note: the other collection should have the same vector size as the current collection",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/LookupLocation"