from events.models import Event
-class EventIndex(indexes.RealTimeSearchIndex, indexes.Indexable):
+class EventIndex(indexes.SearchIndex, indexes.Indexable):
text = indexes.CharField(null=True,
model_attr=localize_field('title', settings.LANGUAGE_CODE),
document=True)
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")