mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-27 15:08:30 +02:00
docs: add table of content
This commit is contained in:
@@ -72,7 +72,30 @@ The filtering process is discussed in detail in the section [Filtering](../filte
|
||||
|
||||
With REST API
|
||||
|
||||
```bash
|
||||
```
|
||||
POST /collections/{collection_name}
|
||||
|
||||
{
|
||||
"upsert_points": {
|
||||
"points": [
|
||||
{
|
||||
"id": 1,
|
||||
"vector": [0.05, 0.61, 0.76, 0.74],
|
||||
"payload": {"city": "Berlin", price: 1.99}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"vector": [0.19, 0.81, 0.75, 0.11],
|
||||
"payload": {"city": ["Berlin", "London"], price: 1.99}
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"vector": [0.36, 0.55, 0.47, 0.94],
|
||||
"payload": {"city": ["Berlin", "Moscow"], price: [1.99, 2.99]}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
<!--
|
||||
@@ -85,9 +108,77 @@ With REST API
|
||||
|
||||
## Update payload
|
||||
|
||||
With REST API
|
||||
|
||||
```bash
|
||||
### Set payload
|
||||
|
||||
REST API ([Schema](https://qdrant.github.io/qdrant/redoc/index.html#operation/update_points)):
|
||||
|
||||
```
|
||||
POST /collections/{collection_name}
|
||||
|
||||
{
|
||||
"set_payload": {
|
||||
"payload": {
|
||||
"property1": "string",
|
||||
"property2": "string"
|
||||
},
|
||||
"points": [
|
||||
0, 3, 100
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
<!--
|
||||
|
||||
Python client:
|
||||
|
||||
```python
|
||||
```
|
||||
|
||||
-->
|
||||
|
||||
### Delete payload
|
||||
|
||||
This method removes specified payload keys from specified points
|
||||
|
||||
|
||||
REST API ([Schema](https://qdrant.github.io/qdrant/redoc/index.html#operation/update_points)):
|
||||
|
||||
```
|
||||
POST /collections/{collection_name}
|
||||
|
||||
{
|
||||
"delete_payload": {
|
||||
"keys": ["color", "price"],
|
||||
"points": [0, 3, 100]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
<!--
|
||||
|
||||
Python client:
|
||||
|
||||
```python
|
||||
```
|
||||
|
||||
-->
|
||||
|
||||
### Clear payload
|
||||
|
||||
This method removes all payload keys from specified points
|
||||
|
||||
REST API ([Schema](https://qdrant.github.io/qdrant/redoc/index.html#operation/update_points)):
|
||||
|
||||
```
|
||||
POST /collections/{collection_name}
|
||||
|
||||
{
|
||||
"clear_payload": {
|
||||
"points": [0, 3, 100]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
<!--
|
||||
|
||||
@@ -11,6 +11,11 @@
|
||||
</a>
|
||||
</h5>
|
||||
</div>
|
||||
{{ if eq .File.UniqueID $currentNode.File.UniqueID }}
|
||||
<div class="pl-4">
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
@@ -48,7 +48,12 @@
|
||||
<div class="page-wrapper">
|
||||
|
||||
<!-- Main Header-->
|
||||
|
||||
{{ if (eq $.Section "documentation") }}
|
||||
<header class="main-header header-style-three">
|
||||
{{ else }}
|
||||
<header class="main-header main-sticky-header header-style-three">
|
||||
{{ end }}
|
||||
|
||||
<!--Header-Upper-->
|
||||
<div class="header-upper">
|
||||
|
||||
@@ -31,9 +31,9 @@
|
||||
function headerStyle() {
|
||||
if($('.main-header').length){
|
||||
var windowpos = $(window).scrollTop();
|
||||
var siteHeader = $('.main-header');
|
||||
var siteHeader = $('.main-sticky-header');
|
||||
var scrollLink = $('.scroll-to-top');
|
||||
var sticky_header = $('.main-header .sticky-header');
|
||||
var sticky_header = $('.main-sticky-header .sticky-header');
|
||||
if (windowpos > 100) {
|
||||
siteHeader.addClass('fixed-header');
|
||||
sticky_header.addClass("animated slideInDown");
|
||||
|
||||
Reference in New Issue
Block a user