Skip to content

Commit f1ea219

Browse files
authored
Merge pull request #2158 from qdrant/refinements
Docs and Course Refinements
2 parents 6029426 + 6dcd694 commit f1ea219

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

qdrant-landing/content/course/essentials/day-1/chunking-strategies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ This is where chunking comes in. The goal is to have chunks
5454

5555
By breaking a document into focused chunks, each chunk gets its own vector that accurately represents a specific idea. This allows the search to be far more precise.
5656

57-
**Example:** Consider a multi-page Document like the [Qdrant Collection Configuration Guide of day 7](/course/essentials/day-7/collection-configuration-guide/) covering everything from HNSW to sharding and quantization.
57+
**Example:** Consider a multi-page Document like the [Qdrant Collection Configuration Guide of Day 7](/course/essentials/day-7/collection-configuration-guide/) covering everything from HNSW to sharding and quantization.
5858

5959
If a user asks: *"What does the m parameter do?"*
6060

qdrant-landing/content/course/essentials/day-1/movie-search-system.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Query: 'alien invasion'
234234

235235
## Step 6: Advanced Features
236236

237-
Note: If you are already familiar Qdrant's filterable HNSW, you will know that effective filtering and grouping often relies on creating a [payload index](/documentation/concepts/indexing/#payload-index) before building HNSW indexes. To keep things simple in this tutorial, we will do a basic search with filters without payload indexes and talk about proper usage of payload indexes on [day 2](/content/course/essentials/day-2/_index.md) of this course.
237+
Note: If you are already familiar Qdrant's filterable HNSW, you will know that effective filtering and grouping often relies on creating a [payload index](/documentation/concepts/indexing/#payload-index) before building HNSW indexes. To keep things simple in this tutorial, we will do a basic search with filters without payload indexes and talk about proper usage of payload indexes on [Day 2](/content/course/essentials/day-2/_index.md) of this course.
238238

239239

240240
### Filtering by Metadata

qdrant-landing/content/documentation/concepts/filtering.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ Suppose we have a set of points with the following payload:
4040

4141
### Must
4242

43+
When using `must`, the clause becomes `true` only if every condition listed inside `must` is satisfied.
44+
In this sense, `must` is equivalent to the operator `AND`.
45+
4346
Example:
4447

4548
{{< code-snippet path="/documentation/headless/snippets/scroll-points/with-must-filter/" >}}
@@ -50,11 +53,11 @@ Filtered points would be:
5053
[{ "id": 2, "city": "London", "color": "red" }]
5154
```
5255

53-
When using `must`, the clause becomes `true` only if every condition listed inside `must` is satisfied.
54-
In this sense, `must` is equivalent to the operator `AND`.
55-
5656
### Should
5757

58+
When using `should`, the clause becomes `true` if at least one condition listed inside `should` is satisfied.
59+
In this sense, `should` is equivalent to the operator `OR`.
60+
5861
Example:
5962

6063
{{< code-snippet path="/documentation/headless/snippets/scroll-points/with-should-filter/" >}}
@@ -70,11 +73,11 @@ Filtered points would be:
7073
]
7174
```
7275

73-
When using `should`, the clause becomes `true` if at least one condition listed inside `should` is satisfied.
74-
In this sense, `should` is equivalent to the operator `OR`.
75-
7676
### Must Not
7777

78+
When using `must_not`, the clause becomes `true` if none of the conditions listed inside `must_not` is satisfied.
79+
In this sense, `must_not` is equivalent to the expression `(NOT A) AND (NOT B) AND (NOT C)`.
80+
7881
Example:
7982

8083
{{< code-snippet path="/documentation/headless/snippets/scroll-points/with-must-not-filter/" >}}
@@ -88,9 +91,6 @@ Filtered points would be:
8891
]
8992
```
9093

91-
When using `must_not`, the clause becomes `true` if none of the conditions listed inside `must_not` is satisfied.
92-
In this sense, `must_not` is equivalent to the expression `(NOT A) AND (NOT B) AND (NOT C)`.
93-
9494
### Clauses combination
9595

9696
It is also possible to use several clauses simultaneously:

0 commit comments

Comments
 (0)