有人试过亚麻吗?

发布于 2024-07-27 00:17:26 字数 276 浏览 7 评论 0原文

我不是在谈论健康迷吃的东西,而是基于 Xapian 的开源搜索/索引软件。

我的公司目前正在雇用某人来实现它,他们希望我在我正在从事的项目中使用它的功能,但是我对此知之甚少,并且对于建立一个链接到我通常尝试过的链接有点谨慎-并经过测试的可靠代码库。

亚麻实现中是否存在任何可能导致我的构建的其他区域出现问题的已知问题? 例如,是否很难与已使用的标准数据库解决方案同步,或者它发送回的数据是否采用不可靠或臃肿的格式(XML 是臃肿的示例[在本例中是 XML 粉丝])

干杯,埃德

I'm not talking about the stuff that health junkies eat, but the open-source search/indexing software based on Xapian.

My company are currently employing someone to implement it, and they want me to use it's functionality on a project I am working on, however I have heard little about it and am so a little wary of setting up a link to my otherwise generally tried-and-tested solid codebase.

Are there any issues that are known with the flax implementation that are likely to cause problems in other areas of my build?
For example is it difficult to synchronise with the standard database solution that is already in use, or does the data it sends back come in an unreliable or bloated format (XML for an example of bloatedness [in this case, XML fanboys])

Cheers, Ed

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

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

发布评论

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

评论(1

赠佳期 2024-08-03 00:17:26

我应该预先声明,我是 Flax 的开发人员之一,也是 Xapian 最初的两名开发人员之一。 尽管我有偏见,但希望我仍然可以提供有用的信息!

Flax 实际上是一组相关软件的名称:

  • Xappy” 是一个 Python 库,它包装了标准 Xapian接口,并在其之上提供各种更高级别的功能(例如,模式)。 Xappy 仍在大力开发中,但也被部署在各种生产系统中。 如果您计划在这个阶段在生产中使用它,我强烈建议您联系开发人员(例如我!)以概述您正在做什么,以便我可以警告您任何可能的问题,但我不会预计会出现任何重大问题。

  • Flax basic”是一个独立的搜索应用程序。 顾名思义,这是一个非常基本的软件,我们不希望它能够满足大多数人的需求。 从很多方面来说,它只是 Xapian 一些可能性的演示; 尽管它只是一个功能演示,但有些人正在使用它来运行简单的搜索网站。 它仅允许您对存储在本地磁盘(或网络可访问驱动器)上的文件集合建立索引,并提供一个简单的 Web 界面来搜索这些文件。 它可以在 Windows 上处理合理数量的文件类型(使用 ifilter 接口),但目前在其他平台上只能处理 HTML 和纯文本。 它带有一个 Windows 安装程序,但在 Linux 或其他平台上安装和运行稍显尴尬。 我认为我们大约一年前发布了 Flax basic 的 1.0 版本,虽然我们偶尔对其进行更新,但我们并不期望对其进行任何进一步的重大开发。

  • Flax 搜索服务器”是一种构建在 Xapian 和 Xappy 之上的 Web 服务,旨在提供高度灵活的方式来执行索引和搜索。 它使用干净、定义良好的 REST API,使用 JSON 作为数据传输,并且还有可用于 PHP、Python 和 Perl 的客户端,这使得与 API 对话变得非常容易。 为其他语言编写客户端应该非常简单。 如果您要将 Flax 内容与更大的系统集成,理论上这将是可行的方法 - 该设计允许 Flax 和系统的其余部分之间非常清晰的分离。

然而,最大的缺点是 Flax 搜索服务器尚未完成。 有一些可用的 alpha tarball,但如果您想尝试一下,我建议您从 SVN 获取最新源代码。 我们当前的计划是在几个月内正式发布完整的服务器 - 目前缺少很多文档和示例,但还有一些小功能需要添加,一些问题需要解决,并进行大量测试。

Google 代码项目中的问题位于 http://code.google.com/p/flaxcode/issues/list 主要(如果不是全部)针对亚麻基本。 到目前为止,Flax 搜索服务器尚未发布,其问题是 Todo 列表的形式,而不是跟踪器的形式。

如果您对使用 Flax 搜索服务器感兴趣,那么,我再次建议您与我联系 ([email protected],或 irc.freenode.net 频道 #flax),让我知道您实际上想用它做什么,我可以告诉您它是否具有您想要的功能寻找,以及这些特定功能是否稳定。 由于 Flax 搜索服务器还处于早期阶段,我预计不会有太多关于它的反馈 - 但如果您确实查看了设计,我会非常重视您的反馈,因为我们还没有冻结并且任何设计缺陷都可以在此阶段轻松解决。

I should say up-front that I'm one of the developers of Flax, and one of the original two developers of Xapian. Hopefully I can still be informative, despite my bias!

Flax is actually the name for a group of related software:

  • "Xappy" is a python library, which wraps the standard Xapian interface, and provides various higher level features on top of it (eg, schemas, ). Xappy is still under heavy development, but is also being deployed in various production systems. If you plan to use it in production at this stage, I'd highly recommend contacting the developers (eg, me!) to outline what you're doing, so that I can warn you of any likely issues, but I wouldn't expect any major problems.

  • "Flax basic" is a standalone search application. As the name implies, this is a very basic piece of software, and we wouldn't expect it to cover most people's needs. It is in many ways just a demo of some of the possibilities of Xapian; though it's a functional demo, and some people are using it to run simple search sites. It simply allows you to index collections of files which are stored on local disk (or network accessible drives), and provides a simple web interface to search these. It can handle a reasonable number of file types on windows (using the ifilter interface), but only currently HTML and plain text on other platforms. It comes with a windows installer, but is slightly more awkward to install and run on Linux or other platforms. I think we released the 1.0 version of Flax basic around a year ago, and while we're doing occasional updates of it, we're not expecting to do any further significant development of it.

  • "Flax search server" is a web service built on top of Xapian and Xappy, intended to provide a highly flexible way to perform indexing and searching. It uses a clean, well defined REST API, using JSON as the transport for the data, and there are also clients available for PHP, Python and Perl which make it pretty easy to talk to the API. Writing clients for other languages should be pretty straight forward. If you're integrating Flax stuff with a larger system, this would theoretically be the way to go - the design allows a very clean separation between Flax and the rest of a system.

However, the big drawback is that Flax search server is not yet complete. There are some alpha tarballs available, but I'd recommend getting the latest source from SVN if you want to try it out. Our current plan is to have a formal release of the completed server within a couple of months - a lot of what is currently missing is documentation and examples, but there are also a couple of small features to be added, some issues to be addressed, and a lot of testing to be performed.

The issues in the google code project at http://code.google.com/p/flaxcode/issues/list are mainly (if not exclusively) targetted at Flax basic. So far, Flax search server isn't yet released, and the issues for that are in the form of a Todo list, rather than in a tracker.

If you're interested in using Flax search server, then, again, I recommend getting in touch with me ([email protected], or irc.freenode.net channel #flax), letting me know what you're actually wanting to do with it, and I can tell you whether it has the features you're looking for, and whether those particular features are stable. Since Flax search server is at such an early stage, I wouldn't expect there to be much feedback about it yet - but if you do look at the design, I'd highly value your feedback, since we're not yet frozen and any design flaws can readily be addressed at this stage.

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