コード例 #1
0
    def run(self, user_id):
        from apps.search.models import MUserSearch

        user_search = MUserSearch.get_user(user_id)
        user_search.index_subscriptions_for_search()
コード例 #2
0
ファイル: tasks.py プロジェクト: 1059232202/NewsBlur
 def run(self, user_id):
     from apps.search.models import MUserSearch
     
     user_search = MUserSearch.get_user(user_id)
     user_search.index_subscriptions_for_search()
コード例 #3
0
def FinishIndexSubscriptionsForSearch(results, user_id, start):
    logging.debug(" ---> Indexing finished for %s" % (user_id))
    from apps.search.models import MUserSearch

    user_search = MUserSearch.get_user(user_id)
    user_search.finish_index_subscriptions_for_search(start)
コード例 #4
0
def IndexSubscriptionsForSearch(user_id):
    from apps.search.models import MUserSearch

    user_search = MUserSearch.get_user(user_id)
    user_search.index_subscriptions_for_search()
コード例 #5
0
def IndexSubscriptionsChunkForSearch(feed_ids, user_id):
    logging.debug(" ---> Indexing: %s for %s" % (feed_ids, user_id))
    from apps.search.models import MUserSearch

    user_search = MUserSearch.get_user(user_id)
    user_search.index_subscriptions_chunk_for_search(feed_ids)