Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-26630

eZ Find: add ability for per-query raw filters

    XMLWordPrintable

Details

    Description

      In eZ Find, all filters expect to follow the pattern field:value. If you don't have a colon in the filter, 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:

      http://solr.pl/en/2011/05/30/quick-look-frange/

      An example use case is to enforce a minimum relevance score:

      {!frange l=1}query({!edismax v=$q})
      

      You can get around this by using RawFilterList in ezfind.ini, but that's applied to every query.

      Attachments

        Activity

          People

            Unassigned Unassigned
            3427b0be-ab4e-4614-8af1-1719f7f23944@accounts.ibexa.co Peter Keung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: