什么是最好的Django搜索应用程序? [英] What's the best Django search app?

查看:125
本文介绍了什么是最好的Django搜索应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个需要搜索功能的Django项目,直到有一个 django.contrib.search ,我必须选择一个搜索应用程序。那么,哪个是最好的? 最好的我的意思是...

I'm building a Django project that needs search functionality, and until there's a django.contrib.search, I have to choose a search app. So, which is the best? By "best" I mean...


  • 易于安装/设置

  • Django或至少Python友好的API

  • 可以执行相当复杂的搜索

一些我听说过的应用程序,如果你知道的话,请建议别人:

Here are some apps I've heard of, please suggest others if you know of any:

  • djangosearch
  • django-sphinx

我也想避免使用第三方派对搜索引擎(如Google SiteSearch),因为我想索引的一些数据仅适用于网站会员,不应该是公开的。

I'd also like to avoid using a third-party search engine (like Google SiteSearch), because some of the data I'd like to index is for site members only and should not be public.

推荐答案

查看干草堆搜索 - 一种新的基于模型的搜索抽象层,目前支持 Xapian Solr Whoosh 。看起来它得到很好的支持和记录。

Check out Haystack Search - a new model based search abstraction layer that currently supports Xapian, Solr and Whoosh. Looks like it's well supported and documented.

这篇关于什么是最好的Django搜索应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆