Mercurial > public > sg101
comparison gpp/weblinks/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 | 387d46abcb95 |
comparison
equal
deleted
inserted
replaced
468:ad4b63fbc584 | 469:3b30286adba5 |
---|---|
1 """Haystack search index for the weblinks application.""" | 1 """Haystack search index for the weblinks 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 weblinks.models import Link | 6 from weblinks.models import Link |
7 | 7 |
8 | 8 |
9 class LinkIndex(CondQueuedSearchIndex): | 9 class LinkIndex(CondQueuedSearchIndex): |