X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/ef3a7be179d7fb38030ef5a2760b17e42d25320b..00f9b1d3f474c595b381a3064988e442122b59be:/questions/search_indexes.py diff --git a/questions/search_indexes.py b/questions/search_indexes.py index ff49250..ae126f0 100755 --- a/questions/search_indexes.py +++ b/questions/search_indexes.py @@ -4,7 +4,7 @@ from haystack import indexes from .models import Question -class QuestionIndex(indexes.RealTimeSearchIndex, indexes.Indexable): +class QuestionIndex(indexes.SearchIndex, indexes.Indexable): text = indexes.CharField(document=True) answer = indexes.CharField(model_attr="answer")