[ADF-3716] Add filterWithContains configuration option for SearchFilt… (#4017)

* [ADF-3716] Add filterWithContains configuration option for SearchFilterComponent

* [ADF-3716] Add unit test and modify translationMock
This commit is contained in:
samuelengelen
2018-12-05 15:25:57 +01:00
committed by Eugenio Romano
parent 41ba258452
commit 9881e52873
5 changed files with 63 additions and 2 deletions

View File

@@ -123,6 +123,16 @@ results:
}
```
You can choose to filter facet field results using 'contains' instead of 'starts with', by using the `filterWithContains` boolean (default is `false`):
```json
{
"search": {
"filterWithContains": true
}
}
```
You can also provide a set of queries that are always executed alongside the user-defined
settings: