Search code examples
djangosearchdjango-haystackwhoosh

Django haystack and whoosh


Does anyone have any experience using django-haystack with the whoosh backend?

I'm looking to use it for a categorized live-search type tool. Is it gonna be fast/efficient enough in a production environment to avoid setting up either solr or xapian?


Solution

  • As a general principle, I put Whoosh in the same category as SQLite: great for getting started, wonderful for single-user or really small-scale apps, but not suitable for large-scale deployment.

    Whoosh is, in my experience, about an order of magnitude slower than Solr. A typical search against a bigish Solr index I've got in production takes about a hundredth of a second ; the same search using Whoosh and the same data takes roughly a tenth of second.

    You should decide what's "fast enough" for you, but I don't think Whoosh is a good idea for anything where you expect high performance.