Merge search behaviour change, and refactor elasticsearch #28

Merged
floatingghost merged 91 commits from elasticsearch-refactor into develop 2022-06-30 16:55:31 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 563b964690 - Show all commits

View file

@ -91,7 +91,7 @@ def run(["index"]) do
)
with {:ok, res} <- result do
if not Map.has_key?(res, "updateId") do
if not Map.has_key?(res, "uid") do
IO.puts("\nFailed to index: #{inspect(result)}")
end
else

View file

@ -153,7 +153,7 @@ def add_to_index(activity) do
)
with {:ok, res} <- result,
true <- Map.has_key?(res, "updateId") do
true <- Map.has_key?(res, "uid") do
# Do nothing
else
_ ->