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