This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-0783a11d-b82b-43a5-90a0-bc685b8bf16e XWIKI-23532 Open

Configurated search exclusion takes into account REST API search

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-73fbd544-8b2a-487a-99ea-bac2619bea90 Nikita Petrenko created this issue on 17/Sep/25 12:05
 
Summary: Configurated search exclusion takes into account REST API search
Issue Type: cid:jira-generated-image-avatar-0783a11d-b82b-43a5-90a0-bc685b8bf16e Improvement
Affects Versions: 17.8.0-rc-1
Assignee: Unassigned
Attachments: database search setup with excluded pages.jpeg, quick guest search for excluded page.png
Components: Search - Generic, Search - Solr, Search - UI
Created: 17/Sep/25 12:05
Priority: cid:jira-generated-image-static-major-a4f6f7f8-3658-4281-a755-ac46fae70a9f Major
Reporter: Nikita Petrenko
Description:

I see this as an improvement request rather than a bug, since it’s unlikely that users will rely on the quick navigation command.

The new feature to exclude pages from search does not take into account the usage of the REST API search whereby input keyword look for

doc.name

, which queries the database engine directly.

As a result, even if such a configuration is set database search setup with excluded pages.jpeglink_attachment_7.gif, any user — including guests (if the XWiki is public) — can still find the excluded page quick guest search for excluded page.pnglink_attachment_7.gif.