Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the best Django search app? [closed]

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.

like image 901
Justin Voss Avatar asked Sep 10 '08 19:09

Justin Voss


People also ask

How do I search in Django?

You would use the __search operator. It's documented in the Django QuerySet API Reference. There's also istartswith, which does a case-insensitive starts-with search. Note that __search is only available in MySQL and requires direct manipulation of the database to add the full-text index.

Do companies still use Django?

Yes, Django is stable. Lots of famous websites such as Spotify, Instagram, and Pinterest have been using Django for backend development for a long time. These sites have a huge amount of traffic and thanks to the Django platform they have maintained excellent performance levels.


1 Answers

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.

like image 100
kpw Avatar answered Sep 23 '22 15:09

kpw