iphone - 用于集成离线和在线 Apache Solr 搜索的 iOS 框架

标签 iphone ios ipad apache solr

我有一个将 Apache Solr(4.0 版)实现到 iOS 应用程序中的请求。我对什么是 Apache Solr 做了一些研究,它似乎是一个不错的搜索引擎。如何将 Apache Solr 搜索实现到 iOS 应用程序中。是否有用于这些目的的任何框架? 我需要进行离线和在线索引搜索。

提前感谢您的帮助。

最佳答案

我找到了一个很好的库来解决我当前的需求:S4LuceneLibrary https://github.com/mikekppp/S4LuceneLibrary

基于:https://github.com/tcurdt/lucenekit/

并且依赖于:https://github.com/mikekppp/S4iOSLibraries

我仍处于测试阶段,但一旦我得到更多,我会更新我的答案。

理解这个库的最好方法是使用 Lucene 中的 java 示例,并尝试在 lucenekit(lucene 的 Objective-C 版本)中找到相同的东西。

为了完成任务,我缺少的东西是 Apache Solr 提供的是将不同类型的文档解析器转换为文本文件。 Lucene 只解析文本文件。

关于iphone - 用于集成离线和在线 Apache Solr 搜索的 iOS 框架,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16921524/

相关文章:

iphone - 获取 UITableViewCell 的 subview (UITextField 或 UILabel)——两种方式,一种有效,一种无效——为什么?

ios - 背景图像在 iPhone 4 上被压扁,因为它使用与 iPhone 5 和 6 共享的 2x 图像。有什么解决办法吗?

iphone - 我应该为 App Store 的每个应用程序创建一个唯一的 Apple App ID 吗?

iphone - iOS中的“Property implementation must have its declaration in interface”错误

iphone - presentModalViewController 可以被认为是 ios 应用程序中的一种弹出方式吗?

iphone - CoreLocationManager 的 distanceFilter 和 desiredAccuracy 有什么区别?

ios - swift 从 Appdelegate 转至 UITabBarController

ios - 在代码测试中,是否为iOS 6定义了UIButton类型系统

iphone - 如何在xcode 4x中将代码转换为静态库

iphone - 仅当在 iphone image-Picker 中完成捕获时单击捕获按钮时如何执行操作