Fix SearchFactory wrong interface

                   
|Q            |A  |
|---          |---|
|Bug Fix?     |yes|
|New Feature? |no |
|BC Breaks?   |no |
|Deprecations?|no |
|Tests Pass?  |yes|
|Fixed Tickets|#20|
|License      |MIT|
                   


 Sent using [Gush](https://github.com/gushphp/gush)