comparison gpp/news/search_indexes.py @ 469:3b30286adba5

Smarter search index updating for forums. This work is for #227.
author Brian Neal <bgneal@gmail.com>
date Wed, 17 Aug 2011 01:02:08 +0000
parents b910cc1460c8
children
comparison
equal deleted inserted replaced
468:ad4b63fbc584 469:3b30286adba5
1 """Haystack search index for the news application.""" 1 """Haystack search index for the news application."""
2 from haystack.indexes import * 2 from haystack.indexes import *
3 from haystack import site 3 from haystack import site
4 from custom_search import CondQueuedSearchIndex 4 from custom_search.indexes import CondQueuedSearchIndex
5 5
6 from news.models import Story 6 from news.models import Story
7 7
8 8
9 class StoryIndex(CondQueuedSearchIndex): 9 class StoryIndex(CondQueuedSearchIndex):