1 defmodule Pleroma.Search.Elasticsearch.Parsers.User do
2 defp to_es(term) when is_binary(term) do
5 minimum_should_match: 1,
35 defp to_es({:quoted, term}), do: to_es(term)
37 defp to_es({:filter, ["user", query]}) do
47 defp to_es({:filter, _}), do: nil
51 |> Enum.filter(fn x -> x != nil end)