Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
EZP-26630: Support per-query raw filters #200
In eZ Find, all filters expect to follow the pattern field:value. If you don't have a colon, ezfeZPSolrQueryBuilder::getParamFilterQuery() prepends a colon, effectively breaking some filters. This prevents you from adding special filters for the "fq" parameter in Solr, such as frange queries:
An example use case is to enforce a minimum relevance score:
You can get around this by using RawFilterList in ezfind.ini, but that's applied to every query.
This proposed solution would add a new parameter "raw_filter" to the ezfind/search fetch function:
I don't like that the parameters