timewasted / Search-SphinxsearchBundle

Sphinx search bundle for Symfony 2.
http://sphinxsearch.com/
BSD 2-Clause "Simplified" License
40 stars 33 forks source link

setFilterRange not available in Sphinxsearch service #16

Open drjones69 opened 10 years ago

drjones69 commented 10 years ago

Good afternoon,

Subject about covers it I think - within the SphinxAPI one can set a range filter (e.g. in my case I'm filtering for a timestamp range (min,max). In the past I've just used a locally stored copy of the bundle, added a method the Sphinxsearch.php file to call SphinxAPI::setFilterRange method - this is not possible in this project as they are very strict on using composer (only) to pull in pristine bundles for each deployment. At the moment I am looking at just altering the search.sphinxsearch.search.class parameter to point to a compatible class held locally - but it all feels a bit dirty, surely filterRange is a worthwhile addition to the Sphinxsearch class (when it's just sat there in the API waiting to be used)?

Regards, Ryan

mcordoba commented 10 years ago

Same request here.

I need to set a range filter too.

Please consider it.

Thank you