How to find Groovy functions in Confluence?

Question

When searching Confluence for "addOrUpdate" function, you might not get the result you want.

For example, if the page only contains Groovy code excerpt api.addOrUpdate(), then searching Confluence for "addOrUpdate" string will not find the page.

So how to run the search?

Answer

You can make use of simple regular expressions for searching - so instead of typing "addOrUpdate", just type "/.*addOrUpdate.*/" - and you will get all pages which include this string.

This is because Confluence puts the whole "api.addOrUpdate" string into its index.

Found an issue in documentation? Write to us.