Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 32ef595

Browse filesBrowse files
author
Joan Fontanals Martinez
committed
docs: update documentation
1 parent 64a07f3 commit 32ef595
Copy full SHA for 32ef595

2 files changed

+5-1Lines changed: 5 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/user_guide/storing/index_elastic.md‎

Copy file name to clipboardExpand all lines: docs/user_guide/storing/index_elastic.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ The following configs can be set in `DBConfig`:
420420
|-------------------|----------------------------------------------------------------------------------------------------------------------------------------|-------------------------|
421421
| `hosts` | Hostname of the Elasticsearch server | `http://localhost:9200` |
422422
| `es_config` | Other ES [configuration options](https://www.elastic.co/guide/en/elasticsearch/client/python-api/8.6/config.html) in a Dict and pass to `Elasticsearch` client constructor, e.g. `cloud_id`, `api_key` | None |
423-
| `index_name` | Elasticsearch index name, the name of Elasticsearch index object | None |
423+
| `index_name` | Elasticsearch index name, the name of Elasticsearch index object | None. Data will be stored in an index named after the Document type used as schema. |
424424
| `index_settings` | Other [index settings](https://www.elastic.co/guide/en/elasticsearch/reference/8.6/index-modules.html#index-modules-settings) in a Dict for creating the index | dict |
425425
| `index_mappings` | Other [index mappings](https://www.elastic.co/guide/en/elasticsearch/reference/8.6/mapping.html) in a Dict for creating the index | dict |
426426

Collapse file

‎docs/user_guide/storing/index_qdrant.md‎

Copy file name to clipboardExpand all lines: docs/user_guide/storing/index_qdrant.md
+4Lines changed: 4 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ For general usage of a Document Index, see the [general user guide](./docindex.m
2727
runtime_config = QdrantDocumentIndex.RuntimeConfig()
2828
print(runtime_config) # shows default values
2929
```
30+
31+
Note that the collection_name from the DBConfig is an Optional[str] with None as default value. This is because
32+
the QdrantDocumentIndex will take the name the Document type that you use as schema. For example, for QdrantDocumentIndex[MyDoc](...)
33+
the data will be stored in a collection name MyDoc if no specific collection_name is passed in the DBConfig.
3034

3135
```python
3236
import numpy as np

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.