Skip to content

Commit

Permalink
Use RealTimeSearchIndex again.
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed Feb 23, 2012
1 parent bfcf089 commit 07491b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion threaded_messages/search_indexes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from haystack import indexes
from .models import Thread

class ThreadIndex(indexes.SearchIndex, indexes.Indexable):
class ThreadIndex(indexes.RealTimeSearchIndex, indexes.Indexable):
text = indexes.CharField(document=True, use_template=True)
participants = indexes.MultiValueField()
last_message = indexes.DateTimeField(model_attr='latest_msg__sent_at')
Expand Down

0 comments on commit 07491b9

Please sign in to comment.