def new_search(*types, &block)
      types.flatten!
      search = Search::StandardSearch.new(
        connection,
        setup_for_types(types),
        Query::StandardQuery.new(types),
        @config
      )
      search.build(&block) if block
      search
    end
def new_search(*types, &block)
      types.flatten!
      search = Search::StandardSearch.new(
        connection,
        setup_for_types(types),
        Query::StandardQuery.new(types),
        @config
      )
      search.build(&block) if block
      search
    end
Sessions are initialized with a Sunspot configuration and a Solr
 connection. Usually you will want to stick with the default arguments
 when instantiating your own sessions.


 See Sunspot.new_search