C/Objective-C 中有 Lucene 包装器吗?

发布于 2024-12-22 17:24:45 字数 134 浏览 2 评论 0原文

我知道有 CLucene 项目,它是 Lucene 从 Java 到 C 的端口。但是 C/Objective-C 中是否有一个类似于 PyLucene 的 Lucene 包装器,它使用 JNI 并在单独的进程中嵌入带有 Lucene 的 JavaVM?

I know there is the CLucene project, which is a port of Lucene from Java to C. But is there a Lucene wrapper in C/Objective-C similar to PyLucene that uses JNI and and embeds a JavaVM with Lucene in a separate process?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

赠佳期 2024-12-29 17:24:45

在询问 后,我对此进行了深入探讨不久前这个类似的问题。答案似乎是“不”。我和你一样找到了 CLucene。它有问题。我还发现了一个叫做 LuceneKit 的东西,它也基本上是一团糟。对于我的项目,我只是对 PyLucene 中的代码进行了修改,使其能够正常工作,然后转到另一个项目。除非此后出现了其他情况,否则我有信心地说:不,不存在预先存在的、可用的 Lucene 包装器。对不起。

I explored this in some depth after asking this similar question a while back. The answer appears to be "no." I found CLucene as you did. It's got problems. I also found something called LuceneKit which was also mostly a mess. For my project I just mangled up the code from PyLucene just enough to get it working, and then moved on to another project. Unless something else has come along since then, I feel confident saying that No, there's not a pre-existing, serviceable Lucene wrapper out there. Sorry.

陪你搞怪i 2024-12-29 17:24:45

您还可以查看 Ferret - 它是用于全文搜索的 ruby​​ 包装器和纯 c 库。 Ferret 与 lucene 类似,但它使用自己的文件格式进行索引。

You can also look on Ferret - it is ruby wrapper and pure c library for full text searching. Ferret is similar to lucene but it uses own file format for indexing.

瞳孔里扚悲伤 2024-12-29 17:24:45

由于答案似乎是“否”,我一直在寻找不同的选择。

似乎有一个替代方案(对于非商业应用程序免费;对于商业项目每个应用程序 100 万美元)。

http://www.locayta.com/iOS-search-engine/ locayta-search-mobile/

我没有使用过它,但我刚刚遇到它并看到一些评论赞扬这个解决方案。

Since the answer seems to be 'No' I have been looking for different options.

There seems to be an alternative (free for non-commercial apps; $1000k per app for commercial projects).

http://www.locayta.com/iOS-search-engine/locayta-search-mobile/

I have not used it but I just run into it and saw some comments praising this solution.

最冷一天 2024-12-29 17:24:45

你可以看看 Lucy,它似乎正是你正在寻找的:

http://lucy.apache.org /

You can take a look at Lucy, which seems to be exactly what you are looking for:

http://lucy.apache.org/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文