Example 4726
Search Config
Search engine index configuration.
{
engine: "typesense"
connection: {
host: "localhost:8108"
api_key: "rxqhfP3YY4b7P88moNIKRNRczT1b0Ja5"
timeout: 2037
}
# Index settings
index: {
name: "strait"
primary_key: "id"
searchable: [
"title"
"description"
"content"
]
filterable: [
"category"
"status"
"date"
]
sortable: [
"date"
"relevance"
]
}
synonyms: {
js: [
"javascript"
"ecmascript"
]
ts: [
"typescript"
]
}
}