X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpleroma%2Felasticsearch%2Fstore.ex;h=699127c73cca91477b02b9ce62da00c085afe15a;hb=12a171844b139cd6ea61e24ff9bc7f1b5e41ec51;hp=5c9e1502210b28915d835f2878df794072e055cb;hpb=3a9b83413ed123680b83680ecc3da55c58019fb5;p=akkoma diff --git a/lib/pleroma/elasticsearch/store.ex b/lib/pleroma/elasticsearch/store.ex index 5c9e15022..699127c73 100644 --- a/lib/pleroma/elasticsearch/store.ex +++ b/lib/pleroma/elasticsearch/store.ex @@ -111,6 +111,7 @@ defmodule Pleroma.Elasticsearch do def bulk_post(data, :users) do d = data + |> Enum.filter(fn x -> x.actor_type == "Person" end) |> Enum.map(fn d -> [ %{index: %{_id: DocumentMappings.User.id(d)}},