Example 10034

Search Config

Search engine index configuration.

{
engine: "meilisearch"
connection: {
host: "localhost:7700"
api_key: "7FWgBi4q6eRGQxObVSnArNTlMt3FMMCW"
timeout: 3694
}

# Index settings
index: {
name: "schnitzel"
primary_key: "id"
searchable: [
"title"
"description"
"content"
]
filterable: [
"category"
"status"
"date"
]
sortable: [
"date"
"relevance"
]
}

synonyms: {
js: [
"javascript"
"ecmascript"
]
ts: [
"typescript"
]
}
}

See also