         filteredContent.push content if content.group not in secretGroups
       return callback null, filteredContent
 
-  neo4jFacets = [
-    "JLink"
-    "JBlogPost"
-    "JTutorial"
-    "JStatusUpdate"
-    "JOpinion"
-    "JDiscussion"
-    "JCodeSnip"
-    "JCodeShare"
-  ]
-
   fetchAll:(requestOptions, callback)->
     {group:{groupName, groupId}, startDate, client} = requestOptions
 

    collections = {}
    wantedOrder = []
    for obj in resultSet
      collections[obj.name] ||= []
      collections[obj.name].push obj.id
      wantedOrder.push idx: obj.id+'_'+obj.name
    collections: collections, wantedOrder: wantedOrder

  runQuery:(query, options, callback)->
    {startDate, client} = options
    {groupName, groupId} = options.group if options.group?
    @db.query query, {}, (err, results)=>
      tempRes = []
      if err then callback err
      else if results.length is 0 then callback null, []
      else
        collectRelations = race (i, res, fin)=>
          res.replies = [] 
          @fetchReplies res.getId(), (err, relatedResult)=>
            if err
              callback err
              fin()
            else
                if relatedResult.reply?
                  {collections, wantedOrder} = @getIdsFromAResultSet relatedResult.reply
                  @fetchObjectsFromMongo collections, wantedOrder, (err, dbObjects)->
                    res.replies.push dbObj for dbObj in dbObjects
                    tempRes.push res
                    fin()
                else
                  tempRes.push res
                  fin()
        , =>
          if groupName? and groupName is "koding"
            @removePrivateContent client, groupId, tempRes, callback
          else
            callback null, tempRes

        resultData = []
        {collections, wantedOrder} = @getIdsFromAResultSet _.map(results, (e)->e.content.data)
        @fetchObjectsFromMongo collections, wantedOrder, (err, dbObjects)->

      order by r.createdAtEpoch DESC
    """
    @db.query query, {}, (err, results) ->
      if err then callback err
      resultData = []
      for result in results
        type = result.r.type
