Example 13622

Search Config

Search engine index configuration.

{
engine: "typesense"
connection: {
host: "localhost:9200"
api_key: "YTzRpo6psUotBOzYS72A7LL1G8eQuVaz"
timeout: 1079
}

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

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

See also