projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Skip cache when /objects or /activities is authenticated
[akkoma]
/
lib
/
pleroma
/
search
/
elasticsearch
/
user_paser.ex
diff --git
a/lib/pleroma/search/elasticsearch/user_paser.ex
b/lib/pleroma/search/elasticsearch/user_paser.ex
index 96bfdc7d259f4a3745d28f4b181c99f2dd39b5f3..4176c6141630069e72e6c1ba512a995d77148c83 100644
(file)
--- 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 <https://git.ihatebeinga.live/IHBAGang/akkoma/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Search.Elasticsearch.Parsers.User do
defp to_es(term) when is_binary(term) do
%{
defmodule Pleroma.Search.Elasticsearch.Parsers.User do
defp to_es(term) when is_binary(term) do
%{
@@
-25,7
+29,7
@@
defmodule Pleroma.Search.Elasticsearch.Parsers.User do
query: term,
operator: "AND"
}
query: term,
operator: "AND"
}
- }
+ }
}
]
}
}
]
}