Skip to content

Commit

Permalink
Merge branch 'main' into update-experimental-features-table
Browse files Browse the repository at this point in the history
  • Loading branch information
guimachiavelli committed Sep 23, 2024
2 parents 7f43e2b + 88347e8 commit 7db7cdc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
14 changes: 9 additions & 5 deletions .github/actions/validate-docs-links/src/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,17 +161,21 @@ async function prepareDocumentMapEntry(

// Checks if the links point to existing documents
function validateInternalLink(errors: Errors, href: string): void {
// /docs/api/example#heading -> ["api/example", "heading""]
const [link, hash] = href.split('#')
// Split the href into link and hash
// href could be: /reference/api/settings?utm_campaign=...#hash
const [linkWithQueryAndHash, hash] = href.split('#')

// Remove query parameters from the link
const linkWithQuery = linkWithQueryAndHash
const link = linkWithQuery.split('?')[0]

if (EXCLUDED_PATHS.includes(link)) return

if(link.startsWith('/assets')) return
if (link.startsWith('/assets')) return

// check if doc page exists
// Check if doc page exists
const foundPage = documentMap.get(link.replace(/^\/+/, ''))


if (!foundPage) {
errors.link.push(href)
} else if (hash && !EXCLUDED_HASHES.includes(hash)) {
Expand Down
3 changes: 2 additions & 1 deletion learn/resources/comparison_to_alternatives.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ Can't find a client you'd like us to support? [Submit your idea or vote for it](
| | Meilisearch | Algolia | Typesense | Elasticsearch |
|---|:---:|:----:|:---:|:---:|
| Placeholder search |||||
| Multi-index search (Federated search) |||||
| Multi-index search |||||
| Federated search |||||
| Exact phrase search |||||
| Geo search |||||
| Sort by || 🔶 <br /> Limited to one `sort_by` rule per index. Indexes may have to be duplicated for each sort field and sort order | ✅ <br /> Up to 3 sort fields per search query ||
Expand Down
4 changes: 2 additions & 2 deletions learn/resources/known_limitations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ If your query is `Hello - World`:

## Length of individual `filterableAttributes` values

**Limitation:** Individual `filterableAttributes` values are limited to 512 bytes.
**Limitation:** Individual `filterableAttributes` values are limited to 468 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.
**Explanation:** Meilisearch stores `filterableAttributes` values as keys in LMDB, a data type whose size is limited to 512 bytes, to which Meilisearch adds a margin of 44 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 468 bytes.

## Maximum filter depth

Expand Down
2 changes: 1 addition & 1 deletion learn/self_hosted/configure_meilisearch_at_launch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ The webhook payload contains the list of finished tasks in [ndjson](https://gith

### Task webhook authorization header

**Environment variable**: `MEILI_TASK_AUTHORIZATION_HEADER`<br />
**Environment variable**: `MEILI_TASK_WEBHOOK_AUTHORIZATION_HEADER`<br />
**CLI option**: `--task-webhook-authorization-header`<br />
**Default value**: `None`<br />
**Expected value**: an authentication token string
Expand Down

0 comments on commit 7db7cdc

Please sign in to comment.