__ids_by_type

in elasticsearch-model/lib/elasticsearch/model/adapters/multiple.rb [89:99]


          def __ids_by_type
            ids_by_type = {}

            response.response["hits"]["hits"].each do |hit|
              type = __type_for_hit(hit)
              ids_by_type[type] ||= []
              ids_by_type[type] << hit[:_id]
            end
            ids_by_type
          end