Ejemplo n.º 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()
Ejemplo n.º 2
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()
Ejemplo n.º 3
0
    def run(self, feed_ids, user_id):
        from apps.search.models import MUserSearch

        MUserSearch.index_feeds_for_search(feed_ids, user_id)
Ejemplo n.º 4
0
 def run(self, feed_ids, user_id):
     from apps.search.models import MUserSearch
     
     MUserSearch.index_feeds_for_search(feed_ids, user_id)
Ejemplo n.º 5
0
def IndexSubscriptionsForSearch(user_id):
    from apps.search.models import MUserSearch

    user_search = MUserSearch.get_user(user_id)
    user_search.index_subscriptions_for_search()
Ejemplo n.º 6
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)
Ejemplo n.º 7
0
def IndexFeedsForSearch(feed_ids, user_id):
    from apps.search.models import MUserSearch

    MUserSearch.index_feeds_for_search(feed_ids, user_id)
Ejemplo n.º 8
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)