First time here? Check out the FAQ!
0

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)
jqy3222089's avatar
17
jqy3222089
asked 2013-04-17 09:45:28 -0500
Evgeny's avatar
13.2k
Evgeny
updated 2013-04-18 15:02:12 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

Evgeny's avatar
13.2k
Evgeny
answered 2013-04-17 16:00:44 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments