Closed (fixed)
Project:
Dify
Version:
2.0.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2026 at 09:48 UTC
Updated:
6 Mar 2026 at 11:03 UTC
Jump to comment: Most recent
The Dify Knowledge Base API processes one document per request.
Using the default Search API batch size (50) causes timeouts, partial indexing failures,
and hard-to-diagnose errors.
Set the batch size to 1 at
/admin/config/search/search-api/index/{index_id}/edit
→ Index options > Cron batch size.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
asterovim commentedComment #6
asterovim commentedThanks !
We didn't make the "Optionally, show an admin warning if batch size > 1 is detected." (too much code).