This issue has been created
There is 1 update.
 
 
LLM AI Integration / cid:jira-generated-image-avatar-35b03597-3eda-474c-b0b7-f1a3d2316b05 LLMAI-164 Open

keywordSearch is missing the wiki filter - cross-wiki chunk leakage

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-636bc508-ecb8-47ce-8a53-c1d747d91cc0 Paul Pantiru created this issue on 19/Jul/26 10:14
 
Summary: keywordSearch is missing the wiki filter - cross-wiki chunk leakage
Issue Type: cid:jira-generated-image-avatar-35b03597-3eda-474c-b0b7-f1a3d2316b05 Bug
Affects Versions: 0.9
Assignee: Unassigned
Created: 19/Jul/26 10:14
Priority: cid:jira-generated-image-static-major-8be82b01-3018-42b6-93e2-c26d231f8f0b Major
Reporter: Paul Pantiru
Description:

SolrConnector.keywordSearch builds its query with the collections filter (and now the language filter) but never applies buildWikiQuery, unlike the semantic path (prepareQuery). Collection names in the filter are not wiki-qualified, so a same-named collection on another wiki leaks its chunks into keyword results. The per-document canView post-filter still applies, but the collection-level group gate (hasAccess) was evaluated only against the current wiki's collection — so content behind a query-group restriction on the other wiki's collection can surface to users who wouldn't pass that collection's gate.

 
 

1 update

 
cid:jira-generated-image-avatar-636bc508-ecb8-47ce-8a53-c1d747d91cc0 Changes by Paul Pantiru on 19/Jul/26 10:17
 
Assignee: Paul Pantiru