What's the best Django search app?

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...

  • easy to install / set up
  • has a Django- or at least Python-friendly API
  • can perform reasonably complex searches
  • Here are some apps I've heard of, please suggest others if you know of any:

  • djangosearch
  • django-sphinx
  • 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.


    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.


    Justin, I'd try djangosearch first: Jacob Kaplan-Moss (Django's lead developer) is working on it.

    Potential hazards:

  • The home page warns the API might not be entirely stable
  • Potential benefits:

  • “The long term goal is for this to become django.contrib.search .”

  • I am searching for the same thing, as are a lot of other people. Let's hope that django.contrib.search will be added soon.

    In the meantime, this is what I found:

  • http://code.google.com/p/djangosearch/
  • http://code.google.com/p/django-sphinx/
  • http://code.google.com/p/djapian/
  • http://code.google.com/p/django-search-lucene/
  • http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
  • To me, most look quite complicated and, frankly, a little daunting to implement. I'd be interested to learn what you think of these.

    链接地址: http://www.djcxy.com/p/53440.html

    上一篇: 有什么需要制作一个需要扩展的网站?

    下一篇: 什么是最好的Django搜索应用程序?