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...
Here are some apps I've heard of, please suggest others if you know of any:
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With