Canned Search for Confluence
Breadcrumbs

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_contains.png
using_title_contains.png
  • 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*$$)

using_title_contains_wo_wildcard.png
using_title_contains_w_wildcard.png



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.