Ask Your Question

Do ASKBOT support sphinx search ?

asked 2013-04-17 09:45:28 -0600

jqy3222089's avatar

updated 2013-04-18 15:02:12 -0600

Evgeny's avatar

I have noticed that some codes which are used to do the sphinx searching are commented.

    #        if getattr(settings, 'USE_SPHINX_SEARCH', False):
#            matching_questions = Question.sphinx_search.query(search_query)
#            question_ids = [ for q in matching_questions]
#            return qs.filter(posts__post_type='question', posts__deleted=False, posts__self_question_id__in=question_ids)
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2013-04-17 16:00:44 -0600

Evgeny's avatar

It was disabled because nobody seemed to be interested in the feature and the database structure changed (therefore the existing Sphinx script was not working any more).

Possibly a better solution would be to use apache Solr, we have not yet used it, but would like to fully support in Askbot. Solr supports full text search in many languages, unlike Sphinx or Postgresql.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-04-17 09:45:28 -0600

Seen: 469 times

Last updated: Apr 17 '13