@@ -0,0 +1,385 @@
+from haystack.indexes import *%0Afrom haystack import site%0Afrom models import Article%0A%0Aclass ArticleIndex(SearchIndex):%0A    name = CharField(model_attr='title')%0A    text = CharField(document=True, use_template=True)%0A%0A    def get_queryset(self):%0A        %22%22%22Used when the entire index for model is updated.%22%22%22%0A        return Article.objects.active()%0A%0Asite.register(Article, ArticleIndex)%0A%0A

Add search index file - currently search across Articles, extend to search across Categories?