Skip to content

Commit 453dae6

Browse files
committed
improvement(search): describe text ~ as a fuzzy word match and show phrase syntax
1 parent 1453f11 commit 453dae6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/lib/sim-search/live/providers.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export const LIVE_SEARCH_PROVIDERS = {
185185
confluence: {
186186
guide: {
187187
syntax:
188-
'CQL: siteSearch ~ "a few words" is Confluence relevance search and ranks pages about the topic first, so use it for topic, acronym and how-to lookups. text ~ "term" and title ~ "term" (title ~ "win*" for a prefix) match words with no relevance order, so keep them for exact strings. Combine with type IN (page, blogpost) and space = KEY (quote keys starting with a digit) using AND/OR/NOT and parentheses; add ORDER BY lastmodified DESC only when recency matters more than relevance.',
188+
'CQL: siteSearch ~ "a few words" is Confluence relevance search and ranks pages about the topic first, so use it for topic, acronym and how-to lookups. text ~ "term" and title ~ "term" (title ~ "win*" for a prefix) match pages containing those words or their variants without that ranking, so keep them for a specific identifier or term; text ~ "\\"exact phrase\\"" matches a phrase. Combine with type IN (page, blogpost) and space = KEY (quote keys starting with a digit) using AND/OR/NOT and parentheses; add ORDER BY lastmodified DESC only when recency matters more than relevance.',
189189
scope:
190190
'creator = currentUser(), contributor = currentUser(), mention = currentUser() and space = KEY. CQL has no project field; the separate native project field takes an Atlassian site cloud ID.',
191191
example: 'type IN (page, blogpost) AND siteSearch ~ "deployment freeze process"',

0 commit comments

Comments
 (0)