Document toolboxDocument toolbox

How to Search Content effectively with Titles

Problem


  • Too much content

  • Search returns too many results

  • More than often, we only need to search by the page title

 

Proposed Solution


  • Use CQL title~ instead of text~ when configuring CQL

Using text~

Using title~

Using text~

Using title~

  • title~ search is based on exact word match. A tip would be to include wildcard at the end of all query to include title results with slight variation in the naming. (e.g. guide, guideline, guides).

Excluding wildcard ($$query$$)

Including wildcard ($$query*$$)

Excluding wildcard ($$query$$)

Including wildcard ($$query*$$)

 

 

Wildcards

Using an asterisk (*) to replace multiple characters.

Examples

  • p*t finds content containing ‘print', 'part', 'post', 'past’ and so on.

  • print* finds content containing 'printer', 'printing', 'prints' and so on.

  • result* finds content containing result, results, resultant, resulting, resultful, resultless and so on.