We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d427177 commit bc31287Copy full SHA for bc31287
libs/wire-subsystems/src/Wire/IndexedUserStore/ElasticSearch.hs
@@ -220,7 +220,8 @@ defaultUserQuery searcher mSearcherTeamId teamSearchInfo (normalized -> term') =
220
ES.boolQueryMustNotMatch = [termQ "handle" term']
221
}
222
],
223
- ES.boolQueryShouldMatch = [ES.QueryExistsQuery (ES.FieldName "handle")]
+ ES.boolQueryShouldMatch = [ES.QueryExistsQuery (ES.FieldName "handle")],
224
+ ES.boolQueryFilter = [ ES.Filter $ ES.TermQuery (ES.Term "searchable" "true") Nothing ]
225
226
-- This reduces relevance on users not in team of search by 90% (no
227
-- science behind that number). If the searcher is not part of a team the
0 commit comments