Use by_type Filter in ::Search::Elastic::Queries methods
The following discussion from !159955 (merged) should be addressed:
-
@maddievn started a discussion: (+1 comment) praise: I prefer having the type query explicit. For the other scopes it is added by
::Search::Elastic::Queries.by_simple_query_stringorby_multi_match_querybut hereno_join_projectis true so it's skipped. Maybe we should eventually move the type filter out of those methods and call it asby_typeas well.