13

I'm building a Django project that needs a good search functionality

Which of the search engines out of these would be good to use with django haystack

  • solr
  • elasticsearch
  • Xapian

One other advice I need is should I prefer going with above or use django-elasticsearch?

tshepang
  • 12,111
  • 21
  • 91
  • 136
Neo
  • 5,070
  • 10
  • 46
  • 65

3 Answers3

12

Personally, I've used both Solr and ElasticSearch with with django haystack and have been happy with the results from both. Solr seemed to have a slightly steeper learning curve, but it wasn't enough to be a deal breaker. If you have a cloud-based implementation in mind for your project, you may want to go with ElasticSearch as it features distributed indexing and some other useful features that kind of environment. I don't have any experience with Xapian, so I won't mislead you with any information there.

You may want to check out this post from the creator of ElasticSearch https://stackoverflow.com/a/2288211/1608085 (yes, it will be a bit biased)

Also check out this previous answer for a comparison of Solr and ElasticSearch https://stackoverflow.com/a/10213568/1608085

Community
  • 1
  • 1
smang
  • 1,187
  • 10
  • 23
1

I`ve been working in a project that uses solr to perform searches. It is a good solution.

A more extended input to this you can find here - Why use Solr

Jonatas CD
  • 878
  • 2
  • 10
  • 19
  • 1
    Please avoid linking to external content - if you can, summarize it in your own words, this helps us avoid having useless dangling links should linked content disappear. – qdot Sep 26 '12 at 21:44
0

Why don't you consider such powerfull search engine like Sphinx - django-sphinx

yAnTar
  • 4,269
  • 9
  • 47
  • 73
  • 8
    Instead of asking "Why", it would be more useful to list a few reasons if you are familiar with Sphinx and can compare it with ElasticSearch & Solr. – user Oct 03 '14 at 18:25
  • Answer to why **because its no longer maintained** – Abdul Rehman Nov 03 '18 at 05:12