mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-06 19:38:30 +02:00
Shortcode for rendering code snippets from separate markdown files (#1548)
* shortcode for rendering code snippets from separate markdown files * formatted code * fix and readme * semi-automatically extracts snippets from markdown * extract snippets from points.md * extract snippets from vectors.md * extract snippets from payload.md * extract snippets from search.md + fixes * extract snippets from explore.md * extract snippets from hybrid-queries.md + mode query by id into search * extract snippets from filtering.md * extract snippets from storage.md + update outdated info * extract snippets from indexing.md * extract snippets from snapshots.md * extract snippets from guides/optimize.md * extract snippets from guides/multiple-partitions.md + fix aside note * extract snippets from guides/quantization.md * use auto-generated descriptions * order json snippets first --------- Co-authored-by: generall <andrey@vasnetsov.com>
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
This code snippet demonstrates a feature to check if a collection exists by making a GET request to a specified endpoint that includes the collection name. This functionality is available starting from version 1.8.0.
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
```bash
|
||||
curl -X GET http://localhost:6333/collections/{collection_name}/exists
|
||||
```
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
```csharp
|
||||
await client.CollectionExistsAsync("{collection_name}");
|
||||
```
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
```go
|
||||
import "context"
|
||||
|
||||
client.CollectionExists(context.Background(), "my_collection")
|
||||
```
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
```http
|
||||
GET http://localhost:6333/collections/{collection_name}/exists
|
||||
```
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
```java
|
||||
client.collectionExistsAsync("{collection_name}").get();
|
||||
```
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
```python
|
||||
client.collection_exists(collection_name="{collection_name}")
|
||||
```
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
```rust
|
||||
client.collection_exists("{collection_name}").await?;
|
||||
```
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
```typescript
|
||||
client.collectionExists("{collection_name}");
|
||||
```
|
||||
Reference in New Issue
Block a user