hit:用Swift编写的轻量级全文搜索引擎

时间:2021-05-09 00:27:31
【文件属性】:
文件名称:hit:用Swift编写的轻量级全文搜索引擎
文件大小:24KB
文件格式:ZIP
更新时间:2021-05-09 00:27:31
Swift 打 用Swift编写的轻量级全文本搜索引擎。 工作正在进行中。 特征 前缀搜索 精确词匹配搜索 用法 假设您有一个来自所有朋友的有趣名言清单,您突然想起有一颗宝石在提到“疤痕”。 不必一一遍遍地找到所有朋友的报价,直到找到它,而改用hit ! 只需运行您的数据以获取一个Index ,然后要求它将由谁负责该报价以及在何种情况下说出该Index即可。 让我们看看我们的数据 let quotes = [ ( string : " Hasta la Pizza, baby " , identifier : " Dino " ), ( string : " Sorry I'm late, my car aborted half way to work " , identifier : " Rob " ), ( string : " Icecream always make
【文件预览】:
hit-master
----hitTests()
--------hitTests.swift(965B)
--------ExampleTests.swift(1KB)
--------reviewTestingData.json(4KB)
--------IndexTests.swift(6KB)
--------TestUtils.swift(2KB)
--------Info.plist(733B)
--------TrieTests.swift(2KB)
----LICENSE(1KB)
----fastlane()
--------Fastfile(2KB)
----hit.podspec(803B)
----.gitignore(654B)
----hit()
--------hit.h(461B)
--------Trie.swift(6KB)
--------Info.plist(806B)
--------Index.swift(14KB)
----CHANGELOG.md(498B)
----README.md(2KB)
----hit.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(16KB)
--------xcshareddata()

网友评论