Skip to content

UI.modern.curator.query-parameter-pattern

Pattern used to identify 'query' parameters for curator to trigger on.

Key: ui.modern.curator.query-parameter-pattern
Type: String
Can be set in: profile.cfg, collection.cfg

Description

This setting controls which URL parameters basic curator triggers will trigger against, by setting a regular expression which matches the desired parameters.

The following triggers are affected by this setting:

  • AllQueryWordsTrigger
  • ExactQueryTrigger
  • QueryRegularExpressionTrigger
  • QuerySubstringTrigger

Where multiple parameters are matched, the parameter names will be sorted (according to Java's string sorting rules), and their values will be joined (separated by spaces) into a single against which the trigger will be tested.

Default Value

ui.modern.curator.query-parameter-pattern=^query$

This default setting causes curator to trigger only on the value of the query parameter.

Examples

To match any parameter ending with query, use the following:

ui.modern.curator.query-parameter-pattern=.*query$

To match all parameters in the URL, use the following:

ui.modern.curator.query-parameter-pattern=.*

Note: This will include parameters such as collection and profile. The value for each matched parameter will be combined into a single string for the trigger to match against. For example calling /s/search?collection=c&special=s&profile=p&query=q will return c p q s value. Note the reordering based on the parameter name sort order.

See Also

top

Funnelback logo
v15.24.0