Quickwit:亚秒级延迟的对象存储搜索引擎
如果用过 ES,会感到非常熟悉,具体包括以下步骤:
第一步:编写索引配置文件 wiki_index_config.json
(以 wiki 为例),保存到当前目录:
{
"default_search_fields": ["body", "title"], // If you do not specify fields in your query, those fields will be used.
"field_mappings": [
{
"name": "body",
"type": "text"
},
{
"name": "title",
"type": "text"
},
{
"name": "url",
"type": "text",
"indexed": false, // Field not indexed, you will not be able to search on this field.
"stored": false // Field not stored.
}
]
}
第二步&#x