我真的很想在项目中使用 Xapian,但我一辈子都不知道如何在 Windows 上安装它!
如果这是在 Linux 机器上我会设置,但明显缺乏文档!
我想将其与 C# 和 omega 索引应用程序一起使用。
似乎没有任何关于如何实际构建 xapian & 的文档。 Windows 上的 omega(或者可以正常工作的预编译二进制文件)。
If this was on a linux box I'd be set, but there's a distinct lack of documentation!
I want to use this with c# and the omega indexing app.
There doesn't seem to be any documentation on how to actually BUILD xapian & omega on windows (or, pre-compiled binaries which would work fine).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
我发表了一篇文章,介绍如何启动并运行它: http:// /www.codeproject.com/KB/library/XapianUnderWindows.aspx
I published an article on what I had to do to get this up and running: http://www.codeproject.com/KB/library/XapianUnderWindows.aspx
我维护 Windows 预编译的二进制文件,如果可以的话我很乐意提供帮助 - 您可以通过 Flax 网站联系我。
I maintain the Windows precompiled binaries, I'm happy to help if I can - you can reach me via the Flax website.
从 Xapian 下载页面:它说您可以使用 Cygwin 或 MSYS+mingw 或 makefiles for MSVC 和预构建二进制文件
From the Xapian downloads page: it says you can use Cygwin or MSYS+mingw or makefiles for MSVC and pre-built binaries
您可以从此处下载二进制文件以及在 Windows 上使用 Microsoft Visual C++ 7.0 或更高版本构建最新版本的 Xapian、Omega 和大多数语言绑定所需的所有文件:
http://www.flax.co.uk/xapian_windows.shtml
You can download binaries and all you need to build recent releases of Xapian, Omega and most of the language bindings on Windows using Microsoft Visual C++ 7.0 or above from here:
http://www.flax.co.uk/xapian_windows.shtml
您在修改头文件和其他内容方面做得非常出色,但作为 Windows 用户,我怀念经典 - 构建您的 dll,然后忘记它。
看起来真的很奇怪,这个应用程序似乎没有一个 php 扩展和其他所有东西都可以链接到的简单 dll。
我需要编写自己的 kwd 生成器,因此我将链接所有源文件(我听说某处有 lib 文件,但使用 VS7 构建示例索引器我似乎还没有找到制作它们的方法)。
从好的方面来说,令我难以置信的是,在遵循自述文件中的最后一段之后,我竟然能够编译 simpleindexer 示例。
而且 - 一个好的 VC6 项目文件不会有什么坏处。! :)
You have done a great job modifying header files and stuff, but as a windows user I miss a classical - build your dll and forget it.
It seems really weird that this application does not seem to have a simple dll that php extension and everything else can link to.
I need to write my own kwd producer, so i will link against all the source files (i heard there are lib files somewhere, but building example indexer with VS7 i didn't seem to find a way to make them, yet).
On the plus side, to my disbelief I was able to compile simpleindexer example after following your last paragraph in read-me file.
and still - a nice VC6 project file wouldn't hurt.! :)
Janisb - 已经有 Xapian 的 PHP 绑定,它包装了所有 Xapian 类定义。您可以在上面的网站下载这些的预构建二进制文件。
Sean,感谢您所做的所有工作 - 一旦我找到合适的 64 位资源(噢,还有一些空闲时间;-),我会将其添加到 Windows 构建文件中。我同意文档很少,但主要开发是基于 Unix 的,所以我们总是在某种程度上追赶。非常欢迎通过 Xapian bug 跟踪器(可从 www.xapian.org 访问)对当前文档进行补丁。
Janisb - there are already PHP bindings for Xapian, that wrap all the Xapian class definitions. You can download prebuilt binaries for these at the website above.
Sean, thanks for all your work - once I track down the appropriate 64bit resources (oh and some spare time ;-) I'll be adding this to the Windows build files. I agree the documentation is sparse, but the main development is Unix based so we're always playing catch-up to some degree. Patches to the current documentation are very welcome via the Xapian bug tracker (accessible from www.xapian.org).