Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
希望使用 Sphinx 进行站点搜索,但并非我的所有站点都在 mysql 中。而不是重新发明轮子,只是想知道是否有一个开源蜘蛛可以轻松地将其发现扔到 mysql 数据库中,以便 Sphinx 可以索引它。
感谢您的任何建议。
还有可以将文档提供给 Sphinx 的XML 管道数据源。不确定设置某些内容以将站点的内容输出为 XML 是否比将其插入数据库更容易,但这是一种选择。
如果您不是 100% 坚持使用 Sphinx,您可以考虑像这个网站一样的Lucerne ?无论底层技术(数据库驱动或静态页面)如何,这都应该有效。
我目前也在寻求实施网站搜索。这个问题也可能有帮助。