Example 13624

Search Config

Search engine index configuration.

{
engine: "elasticsearch"
connection: {
host: "search.internal:9200"
api_key: "V1zE6zBjQOkaUw59ntelMN5FATXWFt7v"
timeout: 1167
}

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

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

See also