Search-SphinxsearchBundle icon indicating copy to clipboard operation
Search-SphinxsearchBundle copied to clipboard

setFilterRange not available in Sphinxsearch service

Open drjones69 opened this issue 10 years ago • 1 comments

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

drjones69 avatar Jun 02 '14 13:06 drjones69

Same request here.

I need to set a range filter too.

Please consider it.

Thank you

mcordoba avatar Jun 19 '14 12:06 mcordoba