Ask Your Question
0

Do ASKBOT support sphinx search ?

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

jqy3222089 gravatar image

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

Evgeny gravatar image

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 = [q.id 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
0

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

Evgeny gravatar image

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

Stats

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

Seen: 257 times

Last updated: Apr 17 '13