Solr:记录最齐全、易于使用、稳定的 Python API
我想在 Python 中使用 Lucene Solr。似乎有多个 API 用于此目的。它们似乎遭受了依赖地狱和稳定性问题,并且 Solr 不再附带 python 绑定。而且我无法为不熟悉 Solr 的用户找到任何文档。
我更倾向于 Sunburnt 而不是 pysolr 和 solrpy,因为它是最成熟的。我的评价正确吗?
请推荐 Solr 的稳定 python 绑定以及良好的独立(不预设 Solr 知识)文档。或者我应该学习如何与“servlet”交互并利用现有文档?
I want to use Lucene Solr in Python. There seems to be multiple APIs for this purpose. They seem to suffer dependency hell and stability issues, and Solr doesnt ship with python bindings anymore. And I cant find any documentation for the user who is not familiar with Solr.
I am leaning on Sunburnt over pysolr and solrpy for being the most mature. Is my evaluation correct?
Please recommend stable python bindings for Solr with good standalone (does not presuppose Solr knowledge) documentation. Or should I learn how to interact with the "servlet" and make use of the existing documentation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我通常在我的项目中使用 mysolr: http://mysolr.redtuna.org/
I normally use mysolr in my projects: http://mysolr.redtuna.org/
我最终使用了 sunburnt,它看起来功能非常丰富,并且阅读了很多他们和 Solr 的文档。
I ended up using sunburnt, which seems very feature-rich and reading a lot of their and Solr's documentation.
Haystack 拥有出色的 API 并支持后端:Solr、Whoosh 和 Xapian。
我已经在多个地方成功使用了 Haystack,在开发中使用 Whoosh 后端,在生产中使用 Solr 后端。一切都很顺利。
Haystack has an awesome API and supports the backends: Solr, Whoosh and Xapian.
I have successfully used Haystack several places, in development with Whoosh backend and in production using the Solr backend. it has been pretty smooth.
始终独立于任何客户端库(如 Sunburnt、pysolr、solrpy 等)了解 Solr。就像在使用任何 ORM 之前必须了解关系数据库一样。此外,没有任何 ORM 文档会教你关系数据库,也没有人会期望它这样做。
Always know Solr independently of any client library like Sunburnt, pysolr, solrpy, etc. Just as you have to know relational databases before using any ORM. Moreover, no ORM documentation will teach you relational databases, and no one would expect it to do so.