Skip to content

Commit

Permalink
Bump schemars from 0.8.17 to 0.8.19 (qdrant#4186)
Browse files Browse the repository at this point in the history
* Bump schemars from 0.8.17 to 0.8.19

Bumps [schemars](https://github.com/GREsau/schemars) from 0.8.17 to 0.8.19.
- [Release notes](https://github.com/GREsau/schemars/releases)
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md)
- [Commits](GREsau/schemars@v0.8.17...v0.8.19)

---
updated-dependencies:
- dependency-name: schemars
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update OpenAPI specification

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: timvisee <tim@visee.me>
  • Loading branch information
dependabot[bot] and timvisee committed May 9, 2024
1 parent 8bdc8a3 commit 85e7d62
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 41 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ parking_lot = { version = "0.12.2", features = ["deadlock_detection", "serde"] }
prost = "0.11.9"
prost-wkt-types = "0.4.2"
reqwest = { version = "0.12.4", default-features = false, features = ["http2", "stream", "rustls-tls", "blocking"] }
schemars = { version = "0.8.17", features = ["uuid1", "preserve_order", "chrono", "url", "indexmap2"] }
schemars = { version = "0.8.19", features = ["uuid1", "preserve_order", "chrono", "url", "indexmap2"] }
semver = { version = "1.0", features = ["serde"] }
serde = { version = "~1.0", features = ["derive", "rc"] }
serde_cbor = { version = "0.11.2" }
Expand Down
36 changes: 0 additions & 36 deletions docs/redoc/master/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5398,7 +5398,6 @@
"$ref": "#/components/schemas/WalConfig"
},
"quantization_config": {
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/QuantizationConfig"
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -6409,7 +6404,6 @@
},
"with_vector": {
"description": "Whether to return the point vector with the result?",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/WithVector"
Expand Down Expand Up @@ -7033,7 +7027,6 @@
},
"quantization": {
"description": "Quantization params",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/QuantizationSearchParams"
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -7252,7 +7243,6 @@
},
"with_vector": {
"description": "Whether to return the point vector with the result?",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/WithVector"
Expand All @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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"
Expand All @@ -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
},
Expand Down Expand Up @@ -7605,7 +7587,6 @@
},
"init_from": {
"description": "Specify other collection to copy data from.",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/InitFrom"
Expand All @@ -7617,7 +7598,6 @@
},
"quantization_config": {
"description": "Quantization parameters. If none - quantization is disabled.",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/QuantizationConfig"
Expand Down Expand Up @@ -7778,7 +7758,6 @@
},
"quantization_config": {
"description": "Quantization parameters to update. If none - it is left unchanged.",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/QuantizationConfigDiff"
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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"
Expand All @@ -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
}
Expand Down Expand Up @@ -10514,7 +10489,6 @@
},
"with_vector": {
"description": "Whether to return the point vector with the result?",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/WithVector"
Expand Down Expand Up @@ -10594,7 +10568,6 @@
},
"with_vectors": {
"description": "Options for specifying which vectors to include (or not)",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/WithVector"
Expand Down Expand Up @@ -10643,7 +10616,6 @@
},
"strategy": {
"description": "How to use positive and negative examples to find the results",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/RecommendStrategy"
Expand Down Expand Up @@ -10688,7 +10660,6 @@
},
"with_vector": {
"description": "Whether to return the point vector with the result?",
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/WithVector"
Expand All @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -10912,7 +10881,6 @@
"$ref": "#/components/schemas/ShardSnapshotLocation"
},
"priority": {
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/SnapshotPriority"
Expand All @@ -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
}
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 85e7d62

Please sign in to comment.