X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/b4491cb6f55169a95ce98ea67065ea6878618416..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")