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

As a Developer I would like to configure search threshold as %

    Details

      Description

      SearchThresholdValue is currently a hardcoded value, it's function is to specify when a search word is ignored when doing FullText search.

      This is mainly relevant for SQL ("Legacy") search engine, Solr/Elastic have own more advance config for this.

      Suggested sub tasks:

      • Expose a SPI method to get total content count and change code to have SearchThresholdPercentage of for instance 60% (same default as legacy)
        • SPI cache can premature optimize this underneath on any spi call only affecting one content item (and not tree) to use inc / dec functions if Stash driver implements IncDecInterface, however no drivers do this atm, so a later optimization opportunity
      • Add semantic config to configure SearchThresholdPercentage

        Issue Links

          Activity

          Hide
          André Rømcke added a comment -

          Fixed as part of EZP-24213, further work on exposing SPI method can be done if needed at later stage.

          Show
          André Rømcke added a comment - Fixed as part of EZP-24213 , further work on exposing SPI method can be done if needed at later stage.

            People

            • Assignee:
              Unassigned
              Reporter:
              André Rømcke
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: