You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 10a9d8a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(search): keep Confluence searchable for colon queries and say when nothing was searched (#9694)
* fix(search): keep Confluence searchable for colon queries and say when nothing was searched
Confluence rejects a CQL text query holding a colon or backslash with HTTP 400,
even escaped, which dropped it from those searches; both now go as word breaks.
A plain live search that reaches no connected account is reported as partial
with guidance naming where to connect one, and the results view offers the
connection instead of claiming no results.
* fix(search): search nothing for a Confluence query with no words and stop the Assistant retrying unsearchable searches
A query left with no words after the colon and backslash become spaces would
list every Confluence page, so it now searches nothing on both the member and
service-account paths. The Assistant search tool reports a search no account
served as nothing searched instead of advising a narrower retry, and the
organization search E2E asserts the connect prompt the unconnected member sees.
* fix(search): let the guidance alone say how to recover from a search nothing served
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/knowledge-search-results/knowledge-search-results.tsx
message: `${data.retrieval.status==='partial' ? 'Search coverage is incomplete. Continue with a more specific query or source filter; these results cannot establish absence or completeness. ' : ''}Found ${data.results.length} live results. Read a documentId when its passage does not answer the question or more context is needed. ${CITATION_INSTRUCTION}`,
92
+
message: nothingSearched
93
+
? 'Nothing was searched: no connected account can serve this search, so it says nothing about what exists. Follow the first line of live.guidance instead of retrying the same search.'
94
+
: `${data.retrieval.status==='partial' ? 'Search coverage is incomplete. Continue with a more specific query or source filter; these results cannot establish absence or completeness. ' : ''}Found ${data.results.length} live results. Read a documentId when its passage does not answer the question or more context is needed. ${CITATION_INSTRUCTION}`,
0 commit comments