'Takes a list of app_ids. Gets the apps, including filters.
Returns an app_map for serializer context.'

def get_apps(self, request, app_ids):

    sq = WebappIndexer.search()
    if (request.query_params.get('filtering', '1') == '1'):
        for backend in self.filter_backends:
            sq = backend().filter_queryset(request, sq, self)
    sq = WebappIndexer.filter_by_apps(app_ids, sq)
    with statsd.timer('mkt.feed.views.apps_query'):
        apps = sq.execute().hits
    return dict(((app.id, app) for app in apps))
