This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-fc520629-c27d-4987-ad7a-758b2efb6caf XWIKI-22958 Open

The page picker is very slow on large wikis

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-39352c33-e7d2-45ce-a445-eacc806d136d Michael Hamann created this issue on 07/Mar/25 16:18
 
Summary: The page picker is very slow on large wikis
Issue Type: cid:jira-generated-image-avatar-fc520629-c27d-4987-ad7a-758b2efb6caf Bug
Affects Versions: 16.4.0
Assignee: Unassigned
Components: REST
Created: 07/Mar/25 16:18
Labels: performance
Priority: cid:jira-generated-image-static-critical-092e494b-1a88-4304-99a8-b7726087c9a7 Critical
Reporter: Michael Hamann
Description:

Steps to reproduce:

  1. Create a million pages.
  2. Open the page picker and type "Sand"

Expected result:

Suggestions are displayed within a second.

Actual result:

Suggestions aren't displayed for quite some time.

This is because the page picker uses an expensive database query. Indexes won't help with that as the query uses queries like %INPUT% with several fields and complex conditions. The whole REST endpoint used for this search should probably be changed to use the Solr search index.

 
 

1 update

 
cid:jira-generated-image-avatar-39352c33-e7d2-45ce-a445-eacc806d136d Changes by Michael Hamann on 07/Mar/25 16:19
 
Description: *Steps to reproduce:*
# Create a million pages.
# Open the page picker
by pressing Ctrl+G and type "Sand"

*Expected result:*

Suggestions are displayed within a second.

*Actual result:*

Suggestions aren't displayed for quite some time.

This is because the page picker uses an expensive database query. Indexes won't help with that as the query uses queries like {{%INPUT%}} with several fields and complex conditions. The whole REST endpoint used for this search should probably be changed to use the Solr search index.