Haystack 2 compatibility.
[django-migdal.git] / migdal / search_indexes.py
index 5e3f7d4..d809e7b 100644 (file)
@@ -5,7 +5,7 @@ from fnpdjango.utils.models.translation import add_translatable_index, localize_
 from migdal.models import Entry
 
 
 from migdal.models import Entry
 
 
-class EntryIndex(indexes.RealTimeSearchIndex, indexes.Indexable):
+class EntryIndex(indexes.SearchIndex, indexes.Indexable):
     text = indexes.CharField(null=True,
         model_attr=localize_field('body', settings.LANGUAGE_CODE),
         document=True)
     text = indexes.CharField(null=True,
         model_attr=localize_field('body', settings.LANGUAGE_CODE),
         document=True)