Add the ability to configure the filter clause

Authored by dcausse on Apr 21 2017, 4:11 PM.

Description

Add the ability to configure the filter clause

This allows to control the filter clause in the simple match profile
query. This is a bit verbose but I was not sure what approach was
better.
I prefered to go with the flexible approach so that we can adjust
various threshold based on feedback (mostly min should match).
The other approach would be to move the filter definition into the
class itself.
This is the first patch in a set to allow switching query builder
profile for crosswiki searches.

Bug: T163547
Change-Id: Ic460c432d8ebfec8d7e437681ce63c55f4c6f292

Details