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)

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
jqy3222089's avatar
17
jqy3222089
asked 12 years ago
Evgeny's avatar
13.2k
Evgeny
updated 12 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
link

Comments

see more comments