First time here? Check out the FAQ!

Revision history  [back]

Do ASKBOT support sphinx search ?

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)

Do ASKBOT support sphinx search ?

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)