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
Showing only changes of commit 5360cc1097 - Show all commits

View file

@ -57,7 +57,9 @@ def run(["index"]) do
|> Stream.transform(0, fn objects, acc ->
new_acc = acc + Enum.count(objects)
IO.puts("Indexed #{new_acc} entries")
# Reset to the beginning of the line and rewrite it
IO.write("\r")
IO.write("Indexed #{new_acc} entries")
{[objects], new_acc}
end)
@ -76,6 +78,8 @@ def run(["index"]) do
end,
timeout: :infinity
)
IO.write("\n")
end
def run(["clear"]) do