0%

Full-text search

做一个小的组件来快速提取文本里的匹配内容,内容一多几万行的话,速度就慢了很多,有没有好方法(Text search algorithms)?

参考

Swift Algorithm Club: Boyer Moore String Search Algorithm
A Simple, Smart Search Algorithm for iOS in Swift
A Fast Fuzzy Search Implementation

全局搜索

这个是多组key word的查找Needle in a Haystack: A Nifty Large-scale Text Search Algorithm Tutorial
Full-text search
SEARCHING LARGE TEXT COLLECTIONS
String Search Algorithms for Large Texts with Java