def index_users(ids, **kw): task_log.debug("Indexing users %s-%s [%s]." % (ids[0], ids[-1], len(ids))) index = kw.pop("index", None) index_objects(ids, UserProfile, search, index)
def index_addons(ids, **kw): log.info("Indexing addons %s-%s. [%s]" % (ids[0], ids[-1], len(ids))) transforms = (attach_categories, attach_devices, attach_prices, attach_tags, attach_translations) index_objects(ids, Addon, search, kw.pop("index", None), transforms)
def index_collections(ids, **kw): log.debug('Indexing collections %s-%s [%s].' % (ids[0], ids[-1], len(ids))) index = kw.pop('index', None) index_objects(ids, Collection, search, index, [attach_translations])
def index_addons(ids, **kw): log.info('Indexing addons %s-%s. [%s]' % (ids[0], ids[-1], len(ids))) transforms = (attach_categories, attach_devices, attach_prices, attach_tags, attach_translations) index_objects(ids, Addon, search, kw.pop('index', None), transforms)
def index_addons(ids, **kw): log.info('Indexing addons %s-%s. [%s]' % (ids[0], ids[-1], len(ids))) transforms = (attach_categories, attach_tags, attach_translations) index_objects(ids, Addon, search, kw.pop('index', None), transforms, Addon.with_unlisted)
def index_users(ids, **kw): task_log.debug('Indexing users %s-%s [%s].' % (ids[0], ids[-1], len(ids))) index = kw.pop('index', None) index_objects(ids, UserProfile, search, index)