diff --git a/lib/pleroma/elasticsearch/document_mappings/activity.ex b/lib/pleroma/elasticsearch/document_mappings/activity.ex
index 35b70dd4a..a028c6fad 100644
--- a/lib/pleroma/elasticsearch/document_mappings/activity.ex
+++ b/lib/pleroma/elasticsearch/document_mappings/activity.ex
@@ -1,3 +1,7 @@
+# Akkoma: A lightweight social networking server
+# Copyright © 2022-2022 Akkoma Authors
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Elasticsearch.DocumentMappings.Activity do
alias Pleroma.Object
diff --git a/lib/pleroma/elasticsearch/document_mappings/hashtag.ex b/lib/pleroma/elasticsearch/document_mappings/hashtag.ex
index ce9a86c8d..7391983f6 100644
--- a/lib/pleroma/elasticsearch/document_mappings/hashtag.ex
+++ b/lib/pleroma/elasticsearch/document_mappings/hashtag.ex
@@ -1,3 +1,7 @@
+# Akkoma: A lightweight social networking server
+# Copyright © 2022-2022 Akkoma Authors
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Elasticsearch.DocumentMappings.Hashtag do
def id(obj), do: obj.id
diff --git a/lib/pleroma/elasticsearch/document_mappings/user.ex b/lib/pleroma/elasticsearch/document_mappings/user.ex
index 0e57438f2..d5cfca656 100644
--- a/lib/pleroma/elasticsearch/document_mappings/user.ex
+++ b/lib/pleroma/elasticsearch/document_mappings/user.ex
@@ -1,3 +1,7 @@
+# Akkoma: A lightweight social networking server
+# Copyright © 2022-2022 Akkoma Authors
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Elasticsearch.DocumentMappings.User do
def id(obj), do: obj.id
diff --git a/lib/pleroma/elasticsearch/store.ex b/lib/pleroma/elasticsearch/store.ex
index 648bf1642..cc2de6fcf 100644
--- a/lib/pleroma/elasticsearch/store.ex
+++ b/lib/pleroma/elasticsearch/store.ex
@@ -1,3 +1,7 @@
+# Akkoma: A lightweight social networking server
+# Copyright © 2022-2022 Akkoma Authors
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Elasticsearch do
alias Pleroma.Activity
alias Pleroma.User
diff --git a/lib/pleroma/search/elasticsearch.ex b/lib/pleroma/search/elasticsearch.ex
index 614a48bb9..76d2c3277 100644
--- a/lib/pleroma/search/elasticsearch.ex
+++ b/lib/pleroma/search/elasticsearch.ex
@@ -1,3 +1,7 @@
+# Akkoma: A lightweight social networking server
+# Copyright © 2022-2022 Akkoma Authors
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Search.Elasticsearch do
@behaviour Pleroma.Search
diff --git a/lib/pleroma/search/elasticsearch/activity_parser.ex b/lib/pleroma/search/elasticsearch/activity_parser.ex
index 0c124d537..9c39e516a 100644
--- a/lib/pleroma/search/elasticsearch/activity_parser.ex
+++ b/lib/pleroma/search/elasticsearch/activity_parser.ex
@@ -1,3 +1,7 @@
+# Akkoma: A lightweight social networking server
+# Copyright © 2022-2022 Akkoma Authors
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Search.Elasticsearch.Parsers.Activity do
defp to_es(term) when is_binary(term) do
%{
diff --git a/lib/pleroma/search/elasticsearch/hashtag_parser.ex b/lib/pleroma/search/elasticsearch/hashtag_parser.ex
index 644969c78..911dc651c 100644
--- a/lib/pleroma/search/elasticsearch/hashtag_parser.ex
+++ b/lib/pleroma/search/elasticsearch/hashtag_parser.ex
@@ -1,3 +1,7 @@
+# Akkoma: A lightweight social networking server
+# Copyright © 2022-2022 Akkoma Authors
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Search.Elasticsearch.Parsers.Hashtag do
defp to_es(term) when is_binary(term) do
%{
diff --git a/lib/pleroma/search/elasticsearch/user_paser.ex b/lib/pleroma/search/elasticsearch/user_paser.ex
index 76da3bd33..4176c6141 100644
--- a/lib/pleroma/search/elasticsearch/user_paser.ex
+++ b/lib/pleroma/search/elasticsearch/user_paser.ex
@@ -1,3 +1,7 @@
+# Akkoma: A lightweight social networking server
+# Copyright © 2022-2022 Akkoma Authors
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Search.Elasticsearch.Parsers.User do
defp to_es(term) when is_binary(term) do
%{