Example 13137
Search Config
Search engine index configuration.
{
engine: "typesense"
connection: {
host: "search.internal:8108"
api_key: "YMYeIRcO6qTGhm0I6rODfooE47Ngm8dF"
timeout: 2759
}
# Index settings
index: {
name: "custom"
primary_key: "id"
searchable: [
"title"
"description"
"content"
]
filterable: [
"category"
"status"
"date"
]
sortable: [
"date"
"relevance"
]
}
synonyms: {
js: [
"javascript"
"ecmascript"
]
ts: [
"typescript"
]
}
}