polyfractal/sherlock — pull request #54 by kwisatz (2013-05-26 21:30:41+00:00)
Title: Boolquery issue

Hey, in Bool.php you strip QueryInterface Objects of their object and only leave their params array when only one object is passed to the must(), should() or should_not() methods.
See https://github.com/polyfractal/sherlock/blob/master/src/Sherlock/components/queries/Bool.php#L71

Sorry, I don't know how to specify just a single commit but you should only need to apply the latest. Maybe you'll simply want to apply this manually.

Also, regarding the ServiceProvider for Silex, I did this to have sort of a singleton pattern and to be able to configure it centrally in a silex project. Maybe you feel this isn't a good idea to add random adapters to your source base, just let me know and I'll keep it inside the contrib folders of my silex projects.