Skip to content

Commit

Permalink
Update known_limitations.mdx (#2925)
Browse files Browse the repository at this point in the history
  • Loading branch information
irevoire authored Aug 5, 2024
1 parent 344a067 commit ae7d9e0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions learn/inner_workings/known_limitations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,17 @@ If your query is `Hello - World`:

**Explanation:** This limit exists to prevent Meilisearch from queueing an unlimited number of requests and potentially consuming an unbounded amount of memory. If Meilisearch receives a new request when the queue is already full, it drops a random search request and returns a 503 `too_many_search_requests` error with a `Retry-After` header set to 10 seconds. Configure this limit with [`--experimental-search-queue-size`](/learn/experimental/search_queue_size).

## Length of primary key values

**Limitation:** Primary key values are limited to 512 bytes.

**Explanation:** Meilisearch stores primary key values as LMDB keys, a data type whose size is limited to 512 bytes. If a primary key value exceeds 512 bytes, the task containing these documents will fail.

## Length of individual `filterableAttributes` values

**Limitation:** Individual `filterableAttributes` values are limited to 500 bytes.
**Limitation:** Individual `filterableAttributes` values are limited to 512 bytes.

**Explanation:** Meilisearch stores `filterableAttributes` values as keys in LMDB, a data type whose size is limited to approximately 500 bytes. Note that this only applies to individual values—for example, a `genres` attribute can contain any number of values such as `horror`, `comedy`, or `cyberpunk` as long as each one of them is smaller than 500 bytes.
**Explanation:** Meilisearch stores `filterableAttributes` values as keys in LMDB, a data type whose size is limited to 512 bytes. Note that this only applies to individual values—for example, a `genres` attribute can contain any number of values such as `horror`, `comedy`, or `cyberpunk` as long as each one of them is smaller than 512 bytes.

## Maximum filter depth

Expand Down

0 comments on commit ae7d9e0

Please sign in to comment.