Commit c35cdd69 authored by Sean McGivern's avatar Sean McGivern

Merge branch '1776-fix-elastic-max-clause-count-again' into 'master'

Move clauses from query to filter stage for elasticsearch notes

Closes #1776

See merge request !1675
parents 223f311c 82257d3c
......@@ -102,7 +102,7 @@ module Elastic
}
end
query_hash[:query][:bool][:must] << filter
query_hash[:query][:bool][:filter] << filter
query_hash
end
end
......
---
title: Fix searching for notes with elasticsearch when a user is a member of many
projects
merge_request: 1675
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment