summaryrefslogtreecommitdiff
path: root/src/nouveau/src/nouveau_fabric_search.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/nouveau/src/nouveau_fabric_search.erl')
-rw-r--r--src/nouveau/src/nouveau_fabric_search.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nouveau/src/nouveau_fabric_search.erl b/src/nouveau/src/nouveau_fabric_search.erl
index 5212bf620..d11b55670 100644
--- a/src/nouveau/src/nouveau_fabric_search.erl
+++ b/src/nouveau/src/nouveau_fabric_search.erl
@@ -217,8 +217,8 @@ merge_facets(FacetsA, null, _Limit) ->
merge_facets(null, FacetsB, _Limit) ->
FacetsB;
merge_facets(FacetsA, FacetsB, _Limit) ->
- Combiner = fun(_, V1, V2) -> nouveau_maps:merge_with(fun(_, V3, V4) -> V3 + V4 end, V1, V2) end,
- nouveau_maps:merge_with(Combiner, FacetsA, FacetsB).
+ Combiner = fun(_, V1, V2) -> maps:merge_with(fun(_, V3, V4) -> V3 + V4 end, V1, V2) end,
+ maps:merge_with(Combiner, FacetsA, FacetsB).
get_shards(DbName, #{partition := Partition}) when is_binary(Partition) ->
PartitionId = couch_partition:shard_key(Partition),