Skip to content

Commit 21febdd

Browse files
Milvus-doc-botMilvus-doc-bot
Milvus-doc-bot
authored and
Milvus-doc-bot
committed
Release new docs to master
1 parent ff55e49 commit 21febdd

File tree

4 files changed

+50
-14
lines changed

4 files changed

+50
-14
lines changed

v2.5.x/site/en/faq/operational_faq.md

+8
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,14 @@ Example in Python:
172172
18
173173
```
174174

175+
#### `pymilvus.exceptions.ConnectionConfigException: <ConnectionConfigException: (code=1, message=Illegal uri: [example.db], expected form 'https://user:[email protected]:12345')>`. What causes this and how can it be solved?
176+
177+
This error indicates that you're trying to connect to Milvus Lite using an earlier version of pymilvus that doesn't support it. To resolve it, upgrade your pymilvus installation to at least version 2.4.2. This version supports connecting to Milvus Lite. To upgrade, use the following command:
178+
179+
```shell
180+
pip install pymilvus>=2.4.2
181+
```
182+
175183
#### Still have questions?
176184

177185
You can:

v2.5.x/site/en/faq/performance_faq.md

-13
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,6 @@ Insert operations are not CPU intensive. However, because new segments may not h
3939

4040
The `rootcoord.minSegmentSizeToEnableIndex` parameter determines the index-building threshold for a segment, and is set to 1024 rows by default. See [System Configuration](system_configuration.md) for more information.
4141

42-
#### Is storage space released right after data deletion in Milvus?
43-
44-
No, storage space will not be immediately released when you delete data in Milvus. Although deleting data marks entities as "logically deleted," the actual space might not be freed instantly. Here's why:
45-
46-
- **Compaction**: Milvus automatically compacts data in the background. This process merges smaller data segments into larger ones and removes logically deleted data (entities marked for deletion) or data that has exceeded its Time-To-Live (TTL). However, compaction creates new segments while marking old ones as "Dropped."
47-
- **Garbage Collection**: A separate process called Garbage Collection (GC) periodically removes these "Dropped" segments, freeing up the storage space they occupied. This ensures efficient use of storage but can introduce a slight delay between deletion and space reclamation.
48-
49-
#### Can I see inserted, deleted, or upserted data immediately after the operation without waiting for a flush?
50-
51-
Yes, in Milvus, data visibility is not directly tied to flush operations due to its storage-compute disaggregation architecture. You can manage data readability using consistency levels.
52-
53-
When selecting a consistency level, consider the trade-offs between consistency and performance. For operations requiring immediate visibility, use a "Strong" consistency level. For faster writes, prioritize weaker consistency (data might not be immediately visible). For more information, refer to [Consistency](consistency.md).
54-
5542
#### Can indexing a VARCHAR field improve deletion speed?
5643

5744
Indexing a VARCHAR field can speed up "Delete By Expression" operations, but only under certain conditions:

v2.5.x/site/en/faq/product_faq.md

+41
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,47 @@ Milvus supports Binary, Float32, Float16, and BFloat16 vector types.
165165

166166
Currently, Milvus 2.4.x does not support specifying default values for scalar or vector fields. This feature is planned for future releases.
167167

168+
#### Is storage space released right after data deletion in Milvus?
169+
170+
No, storage space will not be immediately released when you delete data in Milvus. Although deleting data marks entities as "logically deleted," the actual space might not be freed instantly. Here's why:
171+
172+
- **Compaction**: Milvus automatically compacts data in the background. This process merges smaller data segments into larger ones and removes logically deleted data (entities marked for deletion) or data that has exceeded its Time-To-Live (TTL). However, compaction creates new segments while marking old ones as "Dropped."
173+
- **Garbage Collection**: A separate process called Garbage Collection (GC) periodically removes these "Dropped" segments, freeing up the storage space they occupied. This ensures efficient use of storage but can introduce a slight delay between deletion and space reclamation.
174+
175+
#### Can I see inserted, deleted, or upserted data immediately after the operation without waiting for a flush?
176+
177+
Yes, in Milvus, data visibility is not directly tied to flush operations due to its storage-compute disaggregation architecture. You can manage data readability using consistency levels.
178+
179+
When selecting a consistency level, consider the trade-offs between consistency and performance. For operations requiring immediate visibility, use a "Strong" consistency level. For faster writes, prioritize weaker consistency (data might not be immediately visible). For more information, refer to [Consistency](consistency.md).
180+
181+
#### After enabling the partition key feature, what is the default value of `num_partitions` in Milvus, and why?
182+
183+
When the partition key feature is enabled, the default value of `num_partitions` in Milvus is set to `16`. This default is chosen for stability and performance reasons. You can adjust the `num_partitions` value as needed by specifying it in the `create_collection` function.
184+
185+
#### Is there a maximum length limit for scalar filtering expressions?
186+
187+
Yes, the maximum length of a scalar filtering expression is constrained by the RPC transfer limit, which is defined in the `milvus.yaml` configuration file. Specifically, the limit is set by the `serverMaxRecvSize` parameter under the proxy section:
188+
189+
```yaml
190+
proxy:
191+
grpc:
192+
serverMaxRecvSize: 67108864 # The maximum size of each RPC request that the proxy can receive, unit: byte
193+
```
194+
195+
By default, the maximum size of each RPC request is 64MB. Therefore, the length of the filtering expression must be less than this limit to ensure successful processing.
196+
197+
#### When performing a bulk vector search, how many vectors can be specified at once? Is there a limit?
198+
199+
Yes, the number of vectors that can be specified in a bulk vector search is limited by the RPC transfer size, as defined in the `milvus.yaml` configuration file. This limit is determined by the `serverMaxRecvSize` parameter under the proxy section:
200+
201+
```yaml
202+
proxy:
203+
grpc:
204+
serverMaxRecvSize: 67108864 # The maximum size of each RPC request that the proxy can receive, unit: byte
205+
```
206+
207+
By default, the maximum size of each RPC request is 64MB. Therefore, the total size of the input vectors, including their dimensional data and metadata, must be less than this limit to ensure successful execution.
208+
168209
#### Still have questions?
169210

170211
You can:

v2.5.x/site/en/reference/scalar_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Milvus aims to achieve low memory usage, high filtering efficiency, and short lo
2525

2626
### Auto indexing
2727

28-
Milvus automatically creates an auto index for a scalar field based on its data type, without requiring manual intervention. Auto indexing is suitable for prefix match queries and frequent retrieval scenarios.
28+
Milvus provides the `AUTOINDEX` option to free you from having to manually choose an index type. When calling the `create_index` method, if the `index_type` is not specified, Milvus automatically selects the most suitable index type based on the data type.
2929

3030
The following table lists the data types that Milvus supports and their corresponding auto indexing algorithms.
3131

0 commit comments

Comments
 (0)